configure 823 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1
  186. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  187. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  188. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. PATH=/empty FPATH=/empty; export PATH FPATH
  191. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  192. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  193. if (eval "$as_required") 2>/dev/null; then :
  194. as_have_required=yes
  195. else
  196. as_have_required=no
  197. fi
  198. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  199. else
  200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  201. as_found=false
  202. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  203. do
  204. IFS=$as_save_IFS
  205. test -z "$as_dir" && as_dir=.
  206. as_found=:
  207. case $as_dir in #(
  208. /*)
  209. for as_base in sh bash ksh sh5; do
  210. # Try only shells that exist, to save several forks.
  211. as_shell=$as_dir/$as_base
  212. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  213. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  214. CONFIG_SHELL=$as_shell as_have_required=yes
  215. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. break 2
  217. fi
  218. fi
  219. done;;
  220. esac
  221. as_found=false
  222. done
  223. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  224. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  225. CONFIG_SHELL=$SHELL as_have_required=yes
  226. fi; }
  227. IFS=$as_save_IFS
  228. if test "x$CONFIG_SHELL" != x; then :
  229. export CONFIG_SHELL
  230. # We cannot yet assume a decent shell, so we have to provide a
  231. # neutralization value for shells without unset; and this also
  232. # works around shells that cannot unset nonexistent variables.
  233. # Preserve -v and -x to the replacement shell.
  234. BASH_ENV=/dev/null
  235. ENV=/dev/null
  236. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  237. case $- in # ((((
  238. *v*x* | *x*v* ) as_opts=-vx ;;
  239. *v* ) as_opts=-v ;;
  240. *x* ) as_opts=-x ;;
  241. * ) as_opts= ;;
  242. esac
  243. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  244. # Admittedly, this is quite paranoid, since all the known shells bail
  245. # out after a failed `exec'.
  246. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  247. exit 255
  248. fi
  249. if test x$as_have_required = xno; then :
  250. $as_echo "$0: This script requires a shell more modern than all"
  251. $as_echo "$0: the shells that I found on your system."
  252. if test x${ZSH_VERSION+set} = xset ; then
  253. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  254. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  255. else
  256. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  257. $0: including any error possibly output before this
  258. $0: message. Then install a modern shell, or manually run
  259. $0: the script under such a shell if you do have one."
  260. fi
  261. exit 1
  262. fi
  263. fi
  264. fi
  265. SHELL=${CONFIG_SHELL-/bin/sh}
  266. export SHELL
  267. # Unset more variables known to interfere with behavior of common tools.
  268. CLICOLOR_FORCE= GREP_OPTIONS=
  269. unset CLICOLOR_FORCE GREP_OPTIONS
  270. ## --------------------- ##
  271. ## M4sh Shell Functions. ##
  272. ## --------------------- ##
  273. # as_fn_unset VAR
  274. # ---------------
  275. # Portably unset VAR.
  276. as_fn_unset ()
  277. {
  278. { eval $1=; unset $1;}
  279. }
  280. as_unset=as_fn_unset
  281. # as_fn_set_status STATUS
  282. # -----------------------
  283. # Set $? to STATUS, without forking.
  284. as_fn_set_status ()
  285. {
  286. return $1
  287. } # as_fn_set_status
  288. # as_fn_exit STATUS
  289. # -----------------
  290. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  291. as_fn_exit ()
  292. {
  293. set +e
  294. as_fn_set_status $1
  295. exit $1
  296. } # as_fn_exit
  297. # as_fn_mkdir_p
  298. # -------------
  299. # Create "$as_dir" as a directory, including parents if necessary.
  300. as_fn_mkdir_p ()
  301. {
  302. case $as_dir in #(
  303. -*) as_dir=./$as_dir;;
  304. esac
  305. test -d "$as_dir" || eval $as_mkdir_p || {
  306. as_dirs=
  307. while :; do
  308. case $as_dir in #(
  309. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  310. *) as_qdir=$as_dir;;
  311. esac
  312. as_dirs="'$as_qdir' $as_dirs"
  313. as_dir=`$as_dirname -- "$as_dir" ||
  314. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  315. X"$as_dir" : 'X\(//\)[^/]' \| \
  316. X"$as_dir" : 'X\(//\)$' \| \
  317. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  318. $as_echo X"$as_dir" |
  319. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)[^/].*/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\/\)$/{
  328. s//\1/
  329. q
  330. }
  331. /^X\(\/\).*/{
  332. s//\1/
  333. q
  334. }
  335. s/.*/./; q'`
  336. test -d "$as_dir" && break
  337. done
  338. test -z "$as_dirs" || eval "mkdir $as_dirs"
  339. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  340. } # as_fn_mkdir_p
  341. # as_fn_executable_p FILE
  342. # -----------------------
  343. # Test if FILE is an executable regular file.
  344. as_fn_executable_p ()
  345. {
  346. test -f "$1" && test -x "$1"
  347. } # as_fn_executable_p
  348. # as_fn_append VAR VALUE
  349. # ----------------------
  350. # Append the text in VALUE to the end of the definition contained in VAR. Take
  351. # advantage of any shell optimizations that allow amortized linear growth over
  352. # repeated appends, instead of the typical quadratic growth present in naive
  353. # implementations.
  354. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  355. eval 'as_fn_append ()
  356. {
  357. eval $1+=\$2
  358. }'
  359. else
  360. as_fn_append ()
  361. {
  362. eval $1=\$$1\$2
  363. }
  364. fi # as_fn_append
  365. # as_fn_arith ARG...
  366. # ------------------
  367. # Perform arithmetic evaluation on the ARGs, and store the result in the
  368. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  369. # must be portable across $(()) and expr.
  370. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  371. eval 'as_fn_arith ()
  372. {
  373. as_val=$(( $* ))
  374. }'
  375. else
  376. as_fn_arith ()
  377. {
  378. as_val=`expr "$@" || test $? -eq 1`
  379. }
  380. fi # as_fn_arith
  381. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  382. # ----------------------------------------
  383. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  384. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  385. # script with STATUS, using 1 if that was 0.
  386. as_fn_error ()
  387. {
  388. as_status=$1; test $as_status -eq 0 && as_status=1
  389. if test "$4"; then
  390. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  391. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  392. fi
  393. $as_echo "$as_me: error: $2" >&2
  394. as_fn_exit $as_status
  395. } # as_fn_error
  396. if expr a : '\(a\)' >/dev/null 2>&1 &&
  397. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  398. as_expr=expr
  399. else
  400. as_expr=false
  401. fi
  402. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  403. as_basename=basename
  404. else
  405. as_basename=false
  406. fi
  407. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  408. as_dirname=dirname
  409. else
  410. as_dirname=false
  411. fi
  412. as_me=`$as_basename -- "$0" ||
  413. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  414. X"$0" : 'X\(//\)$' \| \
  415. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  416. $as_echo X/"$0" |
  417. sed '/^.*\/\([^/][^/]*\)\/*$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\/\)$/{
  422. s//\1/
  423. q
  424. }
  425. /^X\/\(\/\).*/{
  426. s//\1/
  427. q
  428. }
  429. s/.*/./; q'`
  430. # Avoid depending upon Character Ranges.
  431. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  432. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  433. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  434. as_cr_digits='0123456789'
  435. as_cr_alnum=$as_cr_Letters$as_cr_digits
  436. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  437. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  438. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  439. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  440. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  441. sed -n '
  442. p
  443. /[$]LINENO/=
  444. ' <$as_myself |
  445. sed '
  446. s/[$]LINENO.*/&-/
  447. t lineno
  448. b
  449. :lineno
  450. N
  451. :loop
  452. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  453. t loop
  454. s/-\n.*//
  455. ' >$as_me.lineno &&
  456. chmod +x "$as_me.lineno" ||
  457. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  458. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  459. # already done that, so ensure we don't try to do so again and fall
  460. # in an infinite loop. This has already happened in practice.
  461. _as_can_reexec=no; export _as_can_reexec
  462. # Don't try to exec as it changes $[0], causing all sort of problems
  463. # (the dirname of $[0] is not the place where we might find the
  464. # original and so on. Autoconf is especially sensitive to this).
  465. . "./$as_me.lineno"
  466. # Exit status is that of the last command.
  467. exit
  468. }
  469. ECHO_C= ECHO_N= ECHO_T=
  470. case `echo -n x` in #(((((
  471. -n*)
  472. case `echo 'xy\c'` in
  473. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  474. xy) ECHO_C='\c';;
  475. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  476. ECHO_T=' ';;
  477. esac;;
  478. *)
  479. ECHO_N='-n';;
  480. esac
  481. rm -f conf$$ conf$$.exe conf$$.file
  482. if test -d conf$$.dir; then
  483. rm -f conf$$.dir/conf$$.file
  484. else
  485. rm -f conf$$.dir
  486. mkdir conf$$.dir 2>/dev/null
  487. fi
  488. if (echo >conf$$.file) 2>/dev/null; then
  489. if ln -s conf$$.file conf$$ 2>/dev/null; then
  490. as_ln_s='ln -s'
  491. # ... but there are two gotchas:
  492. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  493. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  494. # In both cases, we have to default to `cp -pR'.
  495. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  496. as_ln_s='cp -pR'
  497. elif ln conf$$.file conf$$ 2>/dev/null; then
  498. as_ln_s=ln
  499. else
  500. as_ln_s='cp -pR'
  501. fi
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  506. rmdir conf$$.dir 2>/dev/null
  507. if mkdir -p . 2>/dev/null; then
  508. as_mkdir_p='mkdir -p "$as_dir"'
  509. else
  510. test -d ./-p && rmdir ./-p
  511. as_mkdir_p=false
  512. fi
  513. as_test_x='test -x'
  514. as_executable_p=as_fn_executable_p
  515. # Sed expression to map a string onto a valid CPP name.
  516. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  517. # Sed expression to map a string onto a valid variable name.
  518. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  519. SHELL=${CONFIG_SHELL-/bin/sh}
  520. test -n "$DJDIR" || exec 7<&0 </dev/null
  521. exec 6>&1
  522. # Name of the host.
  523. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  524. # so uname gets run too.
  525. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  526. #
  527. # Initializations.
  528. #
  529. ac_default_prefix=/usr/local
  530. ac_clean_files=
  531. ac_config_libobj_dir=.
  532. LIBOBJS=
  533. cross_compiling=no
  534. subdirs=
  535. MFLAGS=
  536. MAKEFLAGS=
  537. # Identity of this package.
  538. PACKAGE_NAME='GNU Fortran Runtime Library'
  539. PACKAGE_TARNAME='libgfortran'
  540. PACKAGE_VERSION='0.3'
  541. PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
  542. PACKAGE_BUGREPORT=''
  543. PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
  544. # Factoring default headers for most tests.
  545. ac_includes_default="\
  546. #include <stdio.h>
  547. #ifdef HAVE_SYS_TYPES_H
  548. # include <sys/types.h>
  549. #endif
  550. #ifdef HAVE_SYS_STAT_H
  551. # include <sys/stat.h>
  552. #endif
  553. #ifdef STDC_HEADERS
  554. # include <stdlib.h>
  555. # include <stddef.h>
  556. #else
  557. # ifdef HAVE_STDLIB_H
  558. # include <stdlib.h>
  559. # endif
  560. #endif
  561. #ifdef HAVE_STRING_H
  562. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  563. # include <memory.h>
  564. # endif
  565. # include <string.h>
  566. #endif
  567. #ifdef HAVE_STRINGS_H
  568. # include <strings.h>
  569. #endif
  570. #ifdef HAVE_INTTYPES_H
  571. # include <inttypes.h>
  572. #endif
  573. #ifdef HAVE_STDINT_H
  574. # include <stdint.h>
  575. #endif
  576. #ifdef HAVE_UNISTD_H
  577. # include <unistd.h>
  578. #endif"
  579. ac_header_list=
  580. ac_func_list=
  581. ac_c_werror_flag=
  582. ac_c_werror_flag=
  583. ac_subst_vars='am__EXEEXT_FALSE
  584. am__EXEEXT_TRUE
  585. LTLIBOBJS
  586. LIBOBJS
  587. get_gcc_base_ver
  588. HAVE_AVX128_FALSE
  589. HAVE_AVX128_TRUE
  590. tmake_file
  591. IEEE_FLAGS
  592. IEEE_SUPPORT
  593. IEEE_SUPPORT_FALSE
  594. IEEE_SUPPORT_TRUE
  595. FPU_HOST_HEADER
  596. LIBGFOR_BUILD_QUAD_FALSE
  597. LIBGFOR_BUILD_QUAD_TRUE
  598. LIBQUADINCLUDE
  599. LIBQUADLIB_DEP
  600. LIBQUADLIB
  601. LIBQUADSPEC
  602. extra_ldflags_libgfortran
  603. ac_ct_FC
  604. FCFLAGS
  605. FC
  606. enable_static
  607. enable_shared
  608. lt_host_flags
  609. LIBM
  610. OTOOL64
  611. OTOOL
  612. LIPO
  613. NMEDIT
  614. DSYMUTIL
  615. OBJDUMP
  616. LN_S
  617. NM
  618. ac_ct_DUMPBIN
  619. DUMPBIN
  620. LIBTOOL
  621. RANLIB
  622. AR
  623. AS
  624. HAVE_HWCAP_FALSE
  625. HAVE_HWCAP_TRUE
  626. HWCAP_LDFLAGS
  627. LD
  628. FGREP
  629. SED
  630. SECTION_FLAGS
  631. LIBGOMP_CHECKED_REAL_KINDS
  632. LIBGOMP_CHECKED_INT_KINDS
  633. LIBGFOR_MINIMAL_FALSE
  634. LIBGFOR_MINIMAL_TRUE
  635. LIBGFOR_USE_SYMVER_SUN_FALSE
  636. LIBGFOR_USE_SYMVER_SUN_TRUE
  637. LIBGFOR_USE_SYMVER_GNU_FALSE
  638. LIBGFOR_USE_SYMVER_GNU_TRUE
  639. LIBGFOR_USE_SYMVER_FALSE
  640. LIBGFOR_USE_SYMVER_TRUE
  641. AM_CFLAGS
  642. AM_FCFLAGS
  643. HAVE_REAL_17_FALSE
  644. HAVE_REAL_17_TRUE
  645. toolexeclibdir
  646. toolexecdir
  647. EGREP
  648. GREP
  649. CPP
  650. am__fastdepCC_FALSE
  651. am__fastdepCC_TRUE
  652. CCDEPMODE
  653. am__nodep
  654. AMDEPBACKSLASH
  655. AMDEP_FALSE
  656. AMDEP_TRUE
  657. am__quote
  658. am__include
  659. DEPDIR
  660. OBJEXT
  661. EXEEXT
  662. ac_ct_CC
  663. CPPFLAGS
  664. LDFLAGS
  665. CFLAGS
  666. CC
  667. multi_basedir
  668. MAINT
  669. MAINTAINER_MODE_FALSE
  670. MAINTAINER_MODE_TRUE
  671. AM_BACKSLASH
  672. AM_DEFAULT_VERBOSITY
  673. AM_DEFAULT_V
  674. AM_V
  675. am__untar
  676. am__tar
  677. AMTAR
  678. am__leading_dot
  679. SET_MAKE
  680. AWK
  681. mkdir_p
  682. MKDIR_P
  683. INSTALL_STRIP_PROGRAM
  684. STRIP
  685. install_sh
  686. MAKEINFO
  687. AUTOHEADER
  688. AUTOMAKE
  689. AUTOCONF
  690. ACLOCAL
  691. VERSION
  692. PACKAGE
  693. CYGPATH_W
  694. am__isrc
  695. INSTALL_DATA
  696. INSTALL_SCRIPT
  697. INSTALL_PROGRAM
  698. target_noncanonical
  699. target_os
  700. target_vendor
  701. target_cpu
  702. target
  703. host_os
  704. host_vendor
  705. host_cpu
  706. host
  707. onestep
  708. onestep_FALSE
  709. onestep_TRUE
  710. target_subdir
  711. host_subdir
  712. build_subdir
  713. build_libsubdir
  714. build_os
  715. build_vendor
  716. build_cpu
  717. build
  718. target_alias
  719. host_alias
  720. build_alias
  721. LIBS
  722. ECHO_T
  723. ECHO_N
  724. ECHO_C
  725. DEFS
  726. mandir
  727. localedir
  728. libdir
  729. psdir
  730. pdfdir
  731. dvidir
  732. htmldir
  733. infodir
  734. docdir
  735. oldincludedir
  736. includedir
  737. localstatedir
  738. sharedstatedir
  739. sysconfdir
  740. datadir
  741. datarootdir
  742. libexecdir
  743. sbindir
  744. bindir
  745. program_transform_name
  746. prefix
  747. exec_prefix
  748. PACKAGE_URL
  749. PACKAGE_BUGREPORT
  750. PACKAGE_STRING
  751. PACKAGE_VERSION
  752. PACKAGE_TARNAME
  753. PACKAGE_NAME
  754. PATH_SEPARATOR
  755. SHELL'
  756. ac_subst_files=''
  757. ac_user_opts='
  758. enable_option_checking
  759. with_build_libsubdir
  760. enable_version_specific_runtime_libs
  761. enable_intermodule
  762. enable_silent_rules
  763. enable_maintainer_mode
  764. enable_multilib
  765. enable_dependency_tracking
  766. with_toolexeclibdir
  767. enable_cet
  768. enable_symvers
  769. with_gnu_ld
  770. enable_shared
  771. enable_static
  772. with_pic
  773. enable_fast_install
  774. enable_libtool_lock
  775. enable_largefile
  776. enable_libquadmath_support
  777. with_gcc_major_version_only
  778. '
  779. ac_precious_vars='build_alias
  780. host_alias
  781. target_alias
  782. CC
  783. CFLAGS
  784. LDFLAGS
  785. LIBS
  786. CPPFLAGS
  787. CPP
  788. FC
  789. FCFLAGS'
  790. # Initialize some variables set by options.
  791. ac_init_help=
  792. ac_init_version=false
  793. ac_unrecognized_opts=
  794. ac_unrecognized_sep=
  795. # The variables have the same names as the options, with
  796. # dashes changed to underlines.
  797. cache_file=/dev/null
  798. exec_prefix=NONE
  799. no_create=
  800. no_recursion=
  801. prefix=NONE
  802. program_prefix=NONE
  803. program_suffix=NONE
  804. program_transform_name=s,x,x,
  805. silent=
  806. site=
  807. srcdir=
  808. verbose=
  809. x_includes=NONE
  810. x_libraries=NONE
  811. # Installation directory options.
  812. # These are left unexpanded so users can "make install exec_prefix=/foo"
  813. # and all the variables that are supposed to be based on exec_prefix
  814. # by default will actually change.
  815. # Use braces instead of parens because sh, perl, etc. also accept them.
  816. # (The list follows the same order as the GNU Coding Standards.)
  817. bindir='${exec_prefix}/bin'
  818. sbindir='${exec_prefix}/sbin'
  819. libexecdir='${exec_prefix}/libexec'
  820. datarootdir='${prefix}/share'
  821. datadir='${datarootdir}'
  822. sysconfdir='${prefix}/etc'
  823. sharedstatedir='${prefix}/com'
  824. localstatedir='${prefix}/var'
  825. includedir='${prefix}/include'
  826. oldincludedir='/usr/include'
  827. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  828. infodir='${datarootdir}/info'
  829. htmldir='${docdir}'
  830. dvidir='${docdir}'
  831. pdfdir='${docdir}'
  832. psdir='${docdir}'
  833. libdir='${exec_prefix}/lib'
  834. localedir='${datarootdir}/locale'
  835. mandir='${datarootdir}/man'
  836. ac_prev=
  837. ac_dashdash=
  838. for ac_option
  839. do
  840. # If the previous option needs an argument, assign it.
  841. if test -n "$ac_prev"; then
  842. eval $ac_prev=\$ac_option
  843. ac_prev=
  844. continue
  845. fi
  846. case $ac_option in
  847. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  848. *=) ac_optarg= ;;
  849. *) ac_optarg=yes ;;
  850. esac
  851. # Accept the important Cygnus configure options, so we can diagnose typos.
  852. case $ac_dashdash$ac_option in
  853. --)
  854. ac_dashdash=yes ;;
  855. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  856. ac_prev=bindir ;;
  857. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  858. bindir=$ac_optarg ;;
  859. -build | --build | --buil | --bui | --bu)
  860. ac_prev=build_alias ;;
  861. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  862. build_alias=$ac_optarg ;;
  863. -cache-file | --cache-file | --cache-fil | --cache-fi \
  864. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  865. ac_prev=cache_file ;;
  866. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  867. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  868. cache_file=$ac_optarg ;;
  869. --config-cache | -C)
  870. cache_file=config.cache ;;
  871. -datadir | --datadir | --datadi | --datad)
  872. ac_prev=datadir ;;
  873. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  874. datadir=$ac_optarg ;;
  875. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  876. | --dataroo | --dataro | --datar)
  877. ac_prev=datarootdir ;;
  878. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  879. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  880. datarootdir=$ac_optarg ;;
  881. -disable-* | --disable-*)
  882. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  883. # Reject names that are not valid shell variable names.
  884. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  885. as_fn_error $? "invalid feature name: $ac_useropt"
  886. ac_useropt_orig=$ac_useropt
  887. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  888. case $ac_user_opts in
  889. *"
  890. "enable_$ac_useropt"
  891. "*) ;;
  892. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  893. ac_unrecognized_sep=', ';;
  894. esac
  895. eval enable_$ac_useropt=no ;;
  896. -docdir | --docdir | --docdi | --doc | --do)
  897. ac_prev=docdir ;;
  898. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  899. docdir=$ac_optarg ;;
  900. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  901. ac_prev=dvidir ;;
  902. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  903. dvidir=$ac_optarg ;;
  904. -enable-* | --enable-*)
  905. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  906. # Reject names that are not valid shell variable names.
  907. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  908. as_fn_error $? "invalid feature name: $ac_useropt"
  909. ac_useropt_orig=$ac_useropt
  910. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  911. case $ac_user_opts in
  912. *"
  913. "enable_$ac_useropt"
  914. "*) ;;
  915. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  916. ac_unrecognized_sep=', ';;
  917. esac
  918. eval enable_$ac_useropt=\$ac_optarg ;;
  919. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  920. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  921. | --exec | --exe | --ex)
  922. ac_prev=exec_prefix ;;
  923. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  924. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  925. | --exec=* | --exe=* | --ex=*)
  926. exec_prefix=$ac_optarg ;;
  927. -gas | --gas | --ga | --g)
  928. # Obsolete; use --with-gas.
  929. with_gas=yes ;;
  930. -help | --help | --hel | --he | -h)
  931. ac_init_help=long ;;
  932. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  933. ac_init_help=recursive ;;
  934. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  935. ac_init_help=short ;;
  936. -host | --host | --hos | --ho)
  937. ac_prev=host_alias ;;
  938. -host=* | --host=* | --hos=* | --ho=*)
  939. host_alias=$ac_optarg ;;
  940. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  941. ac_prev=htmldir ;;
  942. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  943. | --ht=*)
  944. htmldir=$ac_optarg ;;
  945. -includedir | --includedir | --includedi | --included | --include \
  946. | --includ | --inclu | --incl | --inc)
  947. ac_prev=includedir ;;
  948. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  949. | --includ=* | --inclu=* | --incl=* | --inc=*)
  950. includedir=$ac_optarg ;;
  951. -infodir | --infodir | --infodi | --infod | --info | --inf)
  952. ac_prev=infodir ;;
  953. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  954. infodir=$ac_optarg ;;
  955. -libdir | --libdir | --libdi | --libd)
  956. ac_prev=libdir ;;
  957. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  958. libdir=$ac_optarg ;;
  959. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  960. | --libexe | --libex | --libe)
  961. ac_prev=libexecdir ;;
  962. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  963. | --libexe=* | --libex=* | --libe=*)
  964. libexecdir=$ac_optarg ;;
  965. -localedir | --localedir | --localedi | --localed | --locale)
  966. ac_prev=localedir ;;
  967. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  968. localedir=$ac_optarg ;;
  969. -localstatedir | --localstatedir | --localstatedi | --localstated \
  970. | --localstate | --localstat | --localsta | --localst | --locals)
  971. ac_prev=localstatedir ;;
  972. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  973. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  974. localstatedir=$ac_optarg ;;
  975. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  976. ac_prev=mandir ;;
  977. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  978. mandir=$ac_optarg ;;
  979. -nfp | --nfp | --nf)
  980. # Obsolete; use --without-fp.
  981. with_fp=no ;;
  982. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  983. | --no-cr | --no-c | -n)
  984. no_create=yes ;;
  985. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  986. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  987. no_recursion=yes ;;
  988. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  989. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  990. | --oldin | --oldi | --old | --ol | --o)
  991. ac_prev=oldincludedir ;;
  992. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  993. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  994. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  995. oldincludedir=$ac_optarg ;;
  996. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  997. ac_prev=prefix ;;
  998. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  999. prefix=$ac_optarg ;;
  1000. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1001. | --program-pre | --program-pr | --program-p)
  1002. ac_prev=program_prefix ;;
  1003. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1004. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1005. program_prefix=$ac_optarg ;;
  1006. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1007. | --program-suf | --program-su | --program-s)
  1008. ac_prev=program_suffix ;;
  1009. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1010. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1011. program_suffix=$ac_optarg ;;
  1012. -program-transform-name | --program-transform-name \
  1013. | --program-transform-nam | --program-transform-na \
  1014. | --program-transform-n | --program-transform- \
  1015. | --program-transform | --program-transfor \
  1016. | --program-transfo | --program-transf \
  1017. | --program-trans | --program-tran \
  1018. | --progr-tra | --program-tr | --program-t)
  1019. ac_prev=program_transform_name ;;
  1020. -program-transform-name=* | --program-transform-name=* \
  1021. | --program-transform-nam=* | --program-transform-na=* \
  1022. | --program-transform-n=* | --program-transform-=* \
  1023. | --program-transform=* | --program-transfor=* \
  1024. | --program-transfo=* | --program-transf=* \
  1025. | --program-trans=* | --program-tran=* \
  1026. | --progr-tra=* | --program-tr=* | --program-t=*)
  1027. program_transform_name=$ac_optarg ;;
  1028. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1029. ac_prev=pdfdir ;;
  1030. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1031. pdfdir=$ac_optarg ;;
  1032. -psdir | --psdir | --psdi | --psd | --ps)
  1033. ac_prev=psdir ;;
  1034. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1035. psdir=$ac_optarg ;;
  1036. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1037. | -silent | --silent | --silen | --sile | --sil)
  1038. silent=yes ;;
  1039. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1040. ac_prev=sbindir ;;
  1041. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1042. | --sbi=* | --sb=*)
  1043. sbindir=$ac_optarg ;;
  1044. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1045. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1046. | --sharedst | --shareds | --shared | --share | --shar \
  1047. | --sha | --sh)
  1048. ac_prev=sharedstatedir ;;
  1049. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1050. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1051. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1052. | --sha=* | --sh=*)
  1053. sharedstatedir=$ac_optarg ;;
  1054. -site | --site | --sit)
  1055. ac_prev=site ;;
  1056. -site=* | --site=* | --sit=*)
  1057. site=$ac_optarg ;;
  1058. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1059. ac_prev=srcdir ;;
  1060. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1061. srcdir=$ac_optarg ;;
  1062. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1063. | --syscon | --sysco | --sysc | --sys | --sy)
  1064. ac_prev=sysconfdir ;;
  1065. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1066. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1067. sysconfdir=$ac_optarg ;;
  1068. -target | --target | --targe | --targ | --tar | --ta | --t)
  1069. ac_prev=target_alias ;;
  1070. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1071. target_alias=$ac_optarg ;;
  1072. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1073. verbose=yes ;;
  1074. -version | --version | --versio | --versi | --vers | -V)
  1075. ac_init_version=: ;;
  1076. -with-* | --with-*)
  1077. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1078. # Reject names that are not valid shell variable names.
  1079. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1080. as_fn_error $? "invalid package name: $ac_useropt"
  1081. ac_useropt_orig=$ac_useropt
  1082. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1083. case $ac_user_opts in
  1084. *"
  1085. "with_$ac_useropt"
  1086. "*) ;;
  1087. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1088. ac_unrecognized_sep=', ';;
  1089. esac
  1090. eval with_$ac_useropt=\$ac_optarg ;;
  1091. -without-* | --without-*)
  1092. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1093. # Reject names that are not valid shell variable names.
  1094. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1095. as_fn_error $? "invalid package name: $ac_useropt"
  1096. ac_useropt_orig=$ac_useropt
  1097. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1098. case $ac_user_opts in
  1099. *"
  1100. "with_$ac_useropt"
  1101. "*) ;;
  1102. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1103. ac_unrecognized_sep=', ';;
  1104. esac
  1105. eval with_$ac_useropt=no ;;
  1106. --x)
  1107. # Obsolete; use --with-x.
  1108. with_x=yes ;;
  1109. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1110. | --x-incl | --x-inc | --x-in | --x-i)
  1111. ac_prev=x_includes ;;
  1112. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1113. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1114. x_includes=$ac_optarg ;;
  1115. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1116. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1117. ac_prev=x_libraries ;;
  1118. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1119. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1120. x_libraries=$ac_optarg ;;
  1121. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1122. Try \`$0 --help' for more information"
  1123. ;;
  1124. *=*)
  1125. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1126. # Reject names that are not valid shell variable names.
  1127. case $ac_envvar in #(
  1128. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1129. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1130. esac
  1131. eval $ac_envvar=\$ac_optarg
  1132. export $ac_envvar ;;
  1133. *)
  1134. # FIXME: should be removed in autoconf 3.0.
  1135. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1136. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1137. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1138. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1139. ;;
  1140. esac
  1141. done
  1142. if test -n "$ac_prev"; then
  1143. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1144. as_fn_error $? "missing argument to $ac_option"
  1145. fi
  1146. if test -n "$ac_unrecognized_opts"; then
  1147. case $enable_option_checking in
  1148. no) ;;
  1149. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1150. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1151. esac
  1152. fi
  1153. # Check all directory arguments for consistency.
  1154. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1155. datadir sysconfdir sharedstatedir localstatedir includedir \
  1156. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1157. libdir localedir mandir
  1158. do
  1159. eval ac_val=\$$ac_var
  1160. # Remove trailing slashes.
  1161. case $ac_val in
  1162. */ )
  1163. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1164. eval $ac_var=\$ac_val;;
  1165. esac
  1166. # Be sure to have absolute directory names.
  1167. case $ac_val in
  1168. [\\/$]* | ?:[\\/]* ) continue;;
  1169. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1170. esac
  1171. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1172. done
  1173. # There might be people who depend on the old broken behavior: `$host'
  1174. # used to hold the argument of --host etc.
  1175. # FIXME: To remove some day.
  1176. build=$build_alias
  1177. host=$host_alias
  1178. target=$target_alias
  1179. # FIXME: To remove some day.
  1180. if test "x$host_alias" != x; then
  1181. if test "x$build_alias" = x; then
  1182. cross_compiling=maybe
  1183. elif test "x$build_alias" != "x$host_alias"; then
  1184. cross_compiling=yes
  1185. fi
  1186. fi
  1187. ac_tool_prefix=
  1188. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1189. test "$silent" = yes && exec 6>/dev/null
  1190. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1191. ac_ls_di=`ls -di .` &&
  1192. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1193. as_fn_error $? "working directory cannot be determined"
  1194. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1195. as_fn_error $? "pwd does not report name of working directory"
  1196. # Find the source files, if location was not specified.
  1197. if test -z "$srcdir"; then
  1198. ac_srcdir_defaulted=yes
  1199. # Try the directory containing this script, then the parent directory.
  1200. ac_confdir=`$as_dirname -- "$as_myself" ||
  1201. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1202. X"$as_myself" : 'X\(//\)[^/]' \| \
  1203. X"$as_myself" : 'X\(//\)$' \| \
  1204. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1205. $as_echo X"$as_myself" |
  1206. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1207. s//\1/
  1208. q
  1209. }
  1210. /^X\(\/\/\)[^/].*/{
  1211. s//\1/
  1212. q
  1213. }
  1214. /^X\(\/\/\)$/{
  1215. s//\1/
  1216. q
  1217. }
  1218. /^X\(\/\).*/{
  1219. s//\1/
  1220. q
  1221. }
  1222. s/.*/./; q'`
  1223. srcdir=$ac_confdir
  1224. if test ! -r "$srcdir/$ac_unique_file"; then
  1225. srcdir=..
  1226. fi
  1227. else
  1228. ac_srcdir_defaulted=no
  1229. fi
  1230. if test ! -r "$srcdir/$ac_unique_file"; then
  1231. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1232. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1233. fi
  1234. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1235. ac_abs_confdir=`(
  1236. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1237. pwd)`
  1238. # When building in place, set srcdir=.
  1239. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1240. srcdir=.
  1241. fi
  1242. # Remove unnecessary trailing slashes from srcdir.
  1243. # Double slashes in file names in object file debugging info
  1244. # mess up M-x gdb in Emacs.
  1245. case $srcdir in
  1246. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1247. esac
  1248. for ac_var in $ac_precious_vars; do
  1249. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1250. eval ac_env_${ac_var}_value=\$${ac_var}
  1251. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1252. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1253. done
  1254. #
  1255. # Report the --help message.
  1256. #
  1257. if test "$ac_init_help" = "long"; then
  1258. # Omit some internal or obsolete options to make the list less imposing.
  1259. # This message is too long to be a string in the A/UX 3.1 sh.
  1260. cat <<_ACEOF
  1261. \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
  1262. Usage: $0 [OPTION]... [VAR=VALUE]...
  1263. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1264. VAR=VALUE. See below for descriptions of some of the useful variables.
  1265. Defaults for the options are specified in brackets.
  1266. Configuration:
  1267. -h, --help display this help and exit
  1268. --help=short display options specific to this package
  1269. --help=recursive display the short help of all the included packages
  1270. -V, --version display version information and exit
  1271. -q, --quiet, --silent do not print \`checking ...' messages
  1272. --cache-file=FILE cache test results in FILE [disabled]
  1273. -C, --config-cache alias for \`--cache-file=config.cache'
  1274. -n, --no-create do not create output files
  1275. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1276. Installation directories:
  1277. --prefix=PREFIX install architecture-independent files in PREFIX
  1278. [$ac_default_prefix]
  1279. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1280. [PREFIX]
  1281. By default, \`make install' will install all the files in
  1282. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1283. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1284. for instance \`--prefix=\$HOME'.
  1285. For better control, use the options below.
  1286. Fine tuning of the installation directories:
  1287. --bindir=DIR user executables [EPREFIX/bin]
  1288. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1289. --libexecdir=DIR program executables [EPREFIX/libexec]
  1290. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1291. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1292. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1293. --libdir=DIR object code libraries [EPREFIX/lib]
  1294. --includedir=DIR C header files [PREFIX/include]
  1295. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1296. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1297. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1298. --infodir=DIR info documentation [DATAROOTDIR/info]
  1299. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1300. --mandir=DIR man documentation [DATAROOTDIR/man]
  1301. --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
  1302. --htmldir=DIR html documentation [DOCDIR]
  1303. --dvidir=DIR dvi documentation [DOCDIR]
  1304. --pdfdir=DIR pdf documentation [DOCDIR]
  1305. --psdir=DIR ps documentation [DOCDIR]
  1306. _ACEOF
  1307. cat <<\_ACEOF
  1308. Program names:
  1309. --program-prefix=PREFIX prepend PREFIX to installed program names
  1310. --program-suffix=SUFFIX append SUFFIX to installed program names
  1311. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1312. System types:
  1313. --build=BUILD configure for building on BUILD [guessed]
  1314. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1315. --target=TARGET configure for building compilers for TARGET [HOST]
  1316. _ACEOF
  1317. fi
  1318. if test -n "$ac_init_help"; then
  1319. case $ac_init_help in
  1320. short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
  1321. esac
  1322. cat <<\_ACEOF
  1323. Optional Features:
  1324. --disable-option-checking ignore unrecognized --enable/--with options
  1325. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1326. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1327. --enable-version-specific-runtime-libs
  1328. specify that runtime libraries should be installed
  1329. in a compiler-specific directory
  1330. --enable-intermodule build the library in one step
  1331. --enable-silent-rules less verbose build output (undo: "make V=1")
  1332. --disable-silent-rules verbose build output (undo: "make V=0")
  1333. --enable-maintainer-mode
  1334. enable make rules and dependencies not useful (and
  1335. sometimes confusing) to the casual installer
  1336. --enable-multilib build many library versions (default)
  1337. --enable-dependency-tracking
  1338. do not reject slow dependency extractors
  1339. --disable-dependency-tracking
  1340. speeds up one-time build
  1341. --enable-cet enable Intel CET in target libraries [default=auto]
  1342. --disable-symvers disable symbol versioning for libgfortran
  1343. --enable-shared[=PKGS] build shared libraries [default=yes]
  1344. --enable-static[=PKGS] build static libraries [default=yes]
  1345. --enable-fast-install[=PKGS]
  1346. optimize for fast installation [default=yes]
  1347. --disable-libtool-lock avoid locking (might break parallel builds)
  1348. --disable-largefile omit support for large files
  1349. --disable-libquadmath-support
  1350. disable libquadmath support for Fortran
  1351. Optional Packages:
  1352. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1353. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1354. --with-build-libsubdir=DIR Directory where to find libraries for build system
  1355. --with-toolexeclibdir=DIR
  1356. install libraries built with a cross compiler within
  1357. DIR
  1358. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1359. --with-pic try to use only PIC/non-PIC objects [default=use
  1360. both]
  1361. --with-gcc-major-version-only
  1362. use only GCC major number in filesystem paths
  1363. Some influential environment variables:
  1364. CC C compiler command
  1365. CFLAGS C compiler flags
  1366. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1367. nonstandard directory <lib dir>
  1368. LIBS libraries to pass to the linker, e.g. -l<library>
  1369. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1370. you have headers in a nonstandard directory <include dir>
  1371. CPP C preprocessor
  1372. FC Fortran compiler command
  1373. FCFLAGS Fortran compiler flags
  1374. Use these variables to override the choices made by `configure' or to help
  1375. it to find libraries and programs with nonstandard names/locations.
  1376. Report bugs to the package provider.
  1377. GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
  1378. General help using GNU software: <http://www.gnu.org/gethelp/>.
  1379. _ACEOF
  1380. ac_status=$?
  1381. fi
  1382. if test "$ac_init_help" = "recursive"; then
  1383. # If there are subdirs, report their specific --help.
  1384. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1385. test -d "$ac_dir" ||
  1386. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1387. continue
  1388. ac_builddir=.
  1389. case "$ac_dir" in
  1390. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1391. *)
  1392. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1393. # A ".." for each directory in $ac_dir_suffix.
  1394. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1395. case $ac_top_builddir_sub in
  1396. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1397. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1398. esac ;;
  1399. esac
  1400. ac_abs_top_builddir=$ac_pwd
  1401. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1402. # for backward compatibility:
  1403. ac_top_builddir=$ac_top_build_prefix
  1404. case $srcdir in
  1405. .) # We are building in place.
  1406. ac_srcdir=.
  1407. ac_top_srcdir=$ac_top_builddir_sub
  1408. ac_abs_top_srcdir=$ac_pwd ;;
  1409. [\\/]* | ?:[\\/]* ) # Absolute name.
  1410. ac_srcdir=$srcdir$ac_dir_suffix;
  1411. ac_top_srcdir=$srcdir
  1412. ac_abs_top_srcdir=$srcdir ;;
  1413. *) # Relative name.
  1414. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1415. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1416. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1417. esac
  1418. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1419. cd "$ac_dir" || { ac_status=$?; continue; }
  1420. # Check for guested configure.
  1421. if test -f "$ac_srcdir/configure.gnu"; then
  1422. echo &&
  1423. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1424. elif test -f "$ac_srcdir/configure"; then
  1425. echo &&
  1426. $SHELL "$ac_srcdir/configure" --help=recursive
  1427. else
  1428. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1429. fi || ac_status=$?
  1430. cd "$ac_pwd" || { ac_status=$?; break; }
  1431. done
  1432. fi
  1433. test -n "$ac_init_help" && exit $ac_status
  1434. if $ac_init_version; then
  1435. cat <<\_ACEOF
  1436. GNU Fortran Runtime Library configure 0.3
  1437. generated by GNU Autoconf 2.69
  1438. Copyright (C) 2012 Free Software Foundation, Inc.
  1439. This configure script is free software; the Free Software Foundation
  1440. gives unlimited permission to copy, distribute and modify it.
  1441. _ACEOF
  1442. exit
  1443. fi
  1444. ## ------------------------ ##
  1445. ## Autoconf initialization. ##
  1446. ## ------------------------ ##
  1447. # ac_fn_c_try_compile LINENO
  1448. # --------------------------
  1449. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1450. ac_fn_c_try_compile ()
  1451. {
  1452. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1453. rm -f conftest.$ac_objext
  1454. if { { ac_try="$ac_compile"
  1455. case "(($ac_try" in
  1456. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1457. *) ac_try_echo=$ac_try;;
  1458. esac
  1459. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1460. $as_echo "$ac_try_echo"; } >&5
  1461. (eval "$ac_compile") 2>conftest.err
  1462. ac_status=$?
  1463. if test -s conftest.err; then
  1464. grep -v '^ *+' conftest.err >conftest.er1
  1465. cat conftest.er1 >&5
  1466. mv -f conftest.er1 conftest.err
  1467. fi
  1468. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1469. test $ac_status = 0; } && {
  1470. test -z "$ac_c_werror_flag" ||
  1471. test ! -s conftest.err
  1472. } && test -s conftest.$ac_objext; then :
  1473. ac_retval=0
  1474. else
  1475. $as_echo "$as_me: failed program was:" >&5
  1476. sed 's/^/| /' conftest.$ac_ext >&5
  1477. ac_retval=1
  1478. fi
  1479. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1480. as_fn_set_status $ac_retval
  1481. } # ac_fn_c_try_compile
  1482. # ac_fn_c_try_cpp LINENO
  1483. # ----------------------
  1484. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1485. ac_fn_c_try_cpp ()
  1486. {
  1487. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1488. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1489. case "(($ac_try" in
  1490. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1491. *) ac_try_echo=$ac_try;;
  1492. esac
  1493. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1494. $as_echo "$ac_try_echo"; } >&5
  1495. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1496. ac_status=$?
  1497. if test -s conftest.err; then
  1498. grep -v '^ *+' conftest.err >conftest.er1
  1499. cat conftest.er1 >&5
  1500. mv -f conftest.er1 conftest.err
  1501. fi
  1502. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1503. test $ac_status = 0; } > conftest.i && {
  1504. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1505. test ! -s conftest.err
  1506. }; then :
  1507. ac_retval=0
  1508. else
  1509. $as_echo "$as_me: failed program was:" >&5
  1510. sed 's/^/| /' conftest.$ac_ext >&5
  1511. ac_retval=1
  1512. fi
  1513. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1514. as_fn_set_status $ac_retval
  1515. } # ac_fn_c_try_cpp
  1516. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1517. # -------------------------------------------------------
  1518. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1519. # the include files in INCLUDES and setting the cache variable VAR
  1520. # accordingly.
  1521. ac_fn_c_check_header_mongrel ()
  1522. {
  1523. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1524. if eval \${$3+:} false; then :
  1525. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1526. $as_echo_n "checking for $2... " >&6; }
  1527. if eval \${$3+:} false; then :
  1528. $as_echo_n "(cached) " >&6
  1529. fi
  1530. eval ac_res=\$$3
  1531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1532. $as_echo "$ac_res" >&6; }
  1533. else
  1534. # Is the header compilable?
  1535. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1536. $as_echo_n "checking $2 usability... " >&6; }
  1537. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1538. /* end confdefs.h. */
  1539. $4
  1540. #include <$2>
  1541. _ACEOF
  1542. if ac_fn_c_try_compile "$LINENO"; then :
  1543. ac_header_compiler=yes
  1544. else
  1545. ac_header_compiler=no
  1546. fi
  1547. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1549. $as_echo "$ac_header_compiler" >&6; }
  1550. # Is the header present?
  1551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1552. $as_echo_n "checking $2 presence... " >&6; }
  1553. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1554. /* end confdefs.h. */
  1555. #include <$2>
  1556. _ACEOF
  1557. if ac_fn_c_try_cpp "$LINENO"; then :
  1558. ac_header_preproc=yes
  1559. else
  1560. ac_header_preproc=no
  1561. fi
  1562. rm -f conftest.err conftest.i conftest.$ac_ext
  1563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1564. $as_echo "$ac_header_preproc" >&6; }
  1565. # So? What about this header?
  1566. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1567. yes:no: )
  1568. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1569. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1570. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1571. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1572. ;;
  1573. no:yes:* )
  1574. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1575. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1576. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1577. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1578. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1579. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1580. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1581. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1582. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1583. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1584. ;;
  1585. esac
  1586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1587. $as_echo_n "checking for $2... " >&6; }
  1588. if eval \${$3+:} false; then :
  1589. $as_echo_n "(cached) " >&6
  1590. else
  1591. eval "$3=\$ac_header_compiler"
  1592. fi
  1593. eval ac_res=\$$3
  1594. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1595. $as_echo "$ac_res" >&6; }
  1596. fi
  1597. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1598. } # ac_fn_c_check_header_mongrel
  1599. # ac_fn_c_try_run LINENO
  1600. # ----------------------
  1601. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1602. # that executables *can* be run.
  1603. ac_fn_c_try_run ()
  1604. {
  1605. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1606. if { { ac_try="$ac_link"
  1607. case "(($ac_try" in
  1608. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1609. *) ac_try_echo=$ac_try;;
  1610. esac
  1611. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1612. $as_echo "$ac_try_echo"; } >&5
  1613. (eval "$ac_link") 2>&5
  1614. ac_status=$?
  1615. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1616. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1617. { { case "(($ac_try" in
  1618. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1619. *) ac_try_echo=$ac_try;;
  1620. esac
  1621. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1622. $as_echo "$ac_try_echo"; } >&5
  1623. (eval "$ac_try") 2>&5
  1624. ac_status=$?
  1625. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1626. test $ac_status = 0; }; }; then :
  1627. ac_retval=0
  1628. else
  1629. $as_echo "$as_me: program exited with status $ac_status" >&5
  1630. $as_echo "$as_me: failed program was:" >&5
  1631. sed 's/^/| /' conftest.$ac_ext >&5
  1632. ac_retval=$ac_status
  1633. fi
  1634. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1635. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1636. as_fn_set_status $ac_retval
  1637. } # ac_fn_c_try_run
  1638. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1639. # -------------------------------------------------------
  1640. # Tests whether HEADER exists and can be compiled using the include files in
  1641. # INCLUDES, setting the cache variable VAR accordingly.
  1642. ac_fn_c_check_header_compile ()
  1643. {
  1644. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1646. $as_echo_n "checking for $2... " >&6; }
  1647. if eval \${$3+:} false; then :
  1648. $as_echo_n "(cached) " >&6
  1649. else
  1650. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1651. /* end confdefs.h. */
  1652. $4
  1653. #include <$2>
  1654. _ACEOF
  1655. if ac_fn_c_try_compile "$LINENO"; then :
  1656. eval "$3=yes"
  1657. else
  1658. eval "$3=no"
  1659. fi
  1660. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1661. fi
  1662. eval ac_res=\$$3
  1663. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1664. $as_echo "$ac_res" >&6; }
  1665. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1666. } # ac_fn_c_check_header_compile
  1667. # ac_fn_c_try_link LINENO
  1668. # -----------------------
  1669. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1670. ac_fn_c_try_link ()
  1671. {
  1672. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1673. rm -f conftest.$ac_objext conftest$ac_exeext
  1674. if { { ac_try="$ac_link"
  1675. case "(($ac_try" in
  1676. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1677. *) ac_try_echo=$ac_try;;
  1678. esac
  1679. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1680. $as_echo "$ac_try_echo"; } >&5
  1681. (eval "$ac_link") 2>conftest.err
  1682. ac_status=$?
  1683. if test -s conftest.err; then
  1684. grep -v '^ *+' conftest.err >conftest.er1
  1685. cat conftest.er1 >&5
  1686. mv -f conftest.er1 conftest.err
  1687. fi
  1688. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1689. test $ac_status = 0; } && {
  1690. test -z "$ac_c_werror_flag" ||
  1691. test ! -s conftest.err
  1692. } && test -s conftest$ac_exeext && {
  1693. test "$cross_compiling" = yes ||
  1694. test -x conftest$ac_exeext
  1695. }; then :
  1696. ac_retval=0
  1697. else
  1698. $as_echo "$as_me: failed program was:" >&5
  1699. sed 's/^/| /' conftest.$ac_ext >&5
  1700. ac_retval=1
  1701. fi
  1702. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1703. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1704. # interfere with the next link command; also delete a directory that is
  1705. # left behind by Apple's compiler. We do this before executing the actions.
  1706. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1707. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1708. as_fn_set_status $ac_retval
  1709. } # ac_fn_c_try_link
  1710. # ac_fn_c_check_func LINENO FUNC VAR
  1711. # ----------------------------------
  1712. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1713. ac_fn_c_check_func ()
  1714. {
  1715. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1716. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1717. $as_echo_n "checking for $2... " >&6; }
  1718. if eval \${$3+:} false; then :
  1719. $as_echo_n "(cached) " >&6
  1720. else
  1721. if test x$gcc_no_link = xyes; then
  1722. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  1723. fi
  1724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1725. /* end confdefs.h. */
  1726. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1727. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1728. #define $2 innocuous_$2
  1729. /* System header to define __stub macros and hopefully few prototypes,
  1730. which can conflict with char $2 (); below.
  1731. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1732. <limits.h> exists even on freestanding compilers. */
  1733. #ifdef __STDC__
  1734. # include <limits.h>
  1735. #else
  1736. # include <assert.h>
  1737. #endif
  1738. #undef $2
  1739. /* Override any GCC internal prototype to avoid an error.
  1740. Use char because int might match the return type of a GCC
  1741. builtin and then its argument prototype would still apply. */
  1742. #ifdef __cplusplus
  1743. extern "C"
  1744. #endif
  1745. char $2 ();
  1746. /* The GNU C library defines this for functions which it implements
  1747. to always fail with ENOSYS. Some functions are actually named
  1748. something starting with __ and the normal name is an alias. */
  1749. #if defined __stub_$2 || defined __stub___$2
  1750. choke me
  1751. #endif
  1752. int
  1753. main ()
  1754. {
  1755. return $2 ();
  1756. ;
  1757. return 0;
  1758. }
  1759. _ACEOF
  1760. if ac_fn_c_try_link "$LINENO"; then :
  1761. eval "$3=yes"
  1762. else
  1763. eval "$3=no"
  1764. fi
  1765. rm -f core conftest.err conftest.$ac_objext \
  1766. conftest$ac_exeext conftest.$ac_ext
  1767. fi
  1768. eval ac_res=\$$3
  1769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1770. $as_echo "$ac_res" >&6; }
  1771. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1772. } # ac_fn_c_check_func
  1773. # ac_fn_fc_try_compile LINENO
  1774. # ---------------------------
  1775. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1776. ac_fn_fc_try_compile ()
  1777. {
  1778. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1779. rm -f conftest.$ac_objext
  1780. if { { ac_try="$ac_compile"
  1781. case "(($ac_try" in
  1782. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1783. *) ac_try_echo=$ac_try;;
  1784. esac
  1785. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1786. $as_echo "$ac_try_echo"; } >&5
  1787. (eval "$ac_compile") 2>conftest.err
  1788. ac_status=$?
  1789. if test -s conftest.err; then
  1790. grep -v '^ *+' conftest.err >conftest.er1
  1791. cat conftest.er1 >&5
  1792. mv -f conftest.er1 conftest.err
  1793. fi
  1794. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1795. test $ac_status = 0; } && {
  1796. test -z "$ac_fc_werror_flag" ||
  1797. test ! -s conftest.err
  1798. } && test -s conftest.$ac_objext; then :
  1799. ac_retval=0
  1800. else
  1801. $as_echo "$as_me: failed program was:" >&5
  1802. sed 's/^/| /' conftest.$ac_ext >&5
  1803. ac_retval=1
  1804. fi
  1805. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1806. as_fn_set_status $ac_retval
  1807. } # ac_fn_fc_try_compile
  1808. # ac_fn_fc_try_link LINENO
  1809. # ------------------------
  1810. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1811. ac_fn_fc_try_link ()
  1812. {
  1813. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1814. rm -f conftest.$ac_objext conftest$ac_exeext
  1815. if { { ac_try="$ac_link"
  1816. case "(($ac_try" in
  1817. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1818. *) ac_try_echo=$ac_try;;
  1819. esac
  1820. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1821. $as_echo "$ac_try_echo"; } >&5
  1822. (eval "$ac_link") 2>conftest.err
  1823. ac_status=$?
  1824. if test -s conftest.err; then
  1825. grep -v '^ *+' conftest.err >conftest.er1
  1826. cat conftest.er1 >&5
  1827. mv -f conftest.er1 conftest.err
  1828. fi
  1829. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1830. test $ac_status = 0; } && {
  1831. test -z "$ac_fc_werror_flag" ||
  1832. test ! -s conftest.err
  1833. } && test -s conftest$ac_exeext && {
  1834. test "$cross_compiling" = yes ||
  1835. test -x conftest$ac_exeext
  1836. }; then :
  1837. ac_retval=0
  1838. else
  1839. $as_echo "$as_me: failed program was:" >&5
  1840. sed 's/^/| /' conftest.$ac_ext >&5
  1841. ac_retval=1
  1842. fi
  1843. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1844. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1845. # interfere with the next link command; also delete a directory that is
  1846. # left behind by Apple's compiler. We do this before executing the actions.
  1847. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1848. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1849. as_fn_set_status $ac_retval
  1850. } # ac_fn_fc_try_link
  1851. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1852. # -------------------------------------------
  1853. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1854. # variable VAR accordingly.
  1855. ac_fn_c_check_type ()
  1856. {
  1857. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1859. $as_echo_n "checking for $2... " >&6; }
  1860. if eval \${$3+:} false; then :
  1861. $as_echo_n "(cached) " >&6
  1862. else
  1863. eval "$3=no"
  1864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1865. /* end confdefs.h. */
  1866. $4
  1867. int
  1868. main ()
  1869. {
  1870. if (sizeof ($2))
  1871. return 0;
  1872. ;
  1873. return 0;
  1874. }
  1875. _ACEOF
  1876. if ac_fn_c_try_compile "$LINENO"; then :
  1877. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1878. /* end confdefs.h. */
  1879. $4
  1880. int
  1881. main ()
  1882. {
  1883. if (sizeof (($2)))
  1884. return 0;
  1885. ;
  1886. return 0;
  1887. }
  1888. _ACEOF
  1889. if ac_fn_c_try_compile "$LINENO"; then :
  1890. else
  1891. eval "$3=yes"
  1892. fi
  1893. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1894. fi
  1895. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1896. fi
  1897. eval ac_res=\$$3
  1898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1899. $as_echo "$ac_res" >&6; }
  1900. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1901. } # ac_fn_c_check_type
  1902. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1903. # --------------------------------------------
  1904. # Tries to find the compile-time value of EXPR in a program that includes
  1905. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1906. # computed
  1907. ac_fn_c_compute_int ()
  1908. {
  1909. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1910. if test "$cross_compiling" = yes; then
  1911. # Depending upon the size, compute the lo and hi bounds.
  1912. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1913. /* end confdefs.h. */
  1914. $4
  1915. int
  1916. main ()
  1917. {
  1918. static int test_array [1 - 2 * !(($2) >= 0)];
  1919. test_array [0] = 0;
  1920. return test_array [0];
  1921. ;
  1922. return 0;
  1923. }
  1924. _ACEOF
  1925. if ac_fn_c_try_compile "$LINENO"; then :
  1926. ac_lo=0 ac_mid=0
  1927. while :; do
  1928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1929. /* end confdefs.h. */
  1930. $4
  1931. int
  1932. main ()
  1933. {
  1934. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1935. test_array [0] = 0;
  1936. return test_array [0];
  1937. ;
  1938. return 0;
  1939. }
  1940. _ACEOF
  1941. if ac_fn_c_try_compile "$LINENO"; then :
  1942. ac_hi=$ac_mid; break
  1943. else
  1944. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1945. if test $ac_lo -le $ac_mid; then
  1946. ac_lo= ac_hi=
  1947. break
  1948. fi
  1949. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1950. fi
  1951. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1952. done
  1953. else
  1954. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1955. /* end confdefs.h. */
  1956. $4
  1957. int
  1958. main ()
  1959. {
  1960. static int test_array [1 - 2 * !(($2) < 0)];
  1961. test_array [0] = 0;
  1962. return test_array [0];
  1963. ;
  1964. return 0;
  1965. }
  1966. _ACEOF
  1967. if ac_fn_c_try_compile "$LINENO"; then :
  1968. ac_hi=-1 ac_mid=-1
  1969. while :; do
  1970. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1971. /* end confdefs.h. */
  1972. $4
  1973. int
  1974. main ()
  1975. {
  1976. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1977. test_array [0] = 0;
  1978. return test_array [0];
  1979. ;
  1980. return 0;
  1981. }
  1982. _ACEOF
  1983. if ac_fn_c_try_compile "$LINENO"; then :
  1984. ac_lo=$ac_mid; break
  1985. else
  1986. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1987. if test $ac_mid -le $ac_hi; then
  1988. ac_lo= ac_hi=
  1989. break
  1990. fi
  1991. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1992. fi
  1993. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1994. done
  1995. else
  1996. ac_lo= ac_hi=
  1997. fi
  1998. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1999. fi
  2000. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2001. # Binary search between lo and hi bounds.
  2002. while test "x$ac_lo" != "x$ac_hi"; do
  2003. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2004. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2005. /* end confdefs.h. */
  2006. $4
  2007. int
  2008. main ()
  2009. {
  2010. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2011. test_array [0] = 0;
  2012. return test_array [0];
  2013. ;
  2014. return 0;
  2015. }
  2016. _ACEOF
  2017. if ac_fn_c_try_compile "$LINENO"; then :
  2018. ac_hi=$ac_mid
  2019. else
  2020. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2021. fi
  2022. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2023. done
  2024. case $ac_lo in #((
  2025. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2026. '') ac_retval=1 ;;
  2027. esac
  2028. else
  2029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2030. /* end confdefs.h. */
  2031. $4
  2032. static long int longval () { return $2; }
  2033. static unsigned long int ulongval () { return $2; }
  2034. #include <stdio.h>
  2035. #include <stdlib.h>
  2036. int
  2037. main ()
  2038. {
  2039. FILE *f = fopen ("conftest.val", "w");
  2040. if (! f)
  2041. return 1;
  2042. if (($2) < 0)
  2043. {
  2044. long int i = longval ();
  2045. if (i != ($2))
  2046. return 1;
  2047. fprintf (f, "%ld", i);
  2048. }
  2049. else
  2050. {
  2051. unsigned long int i = ulongval ();
  2052. if (i != ($2))
  2053. return 1;
  2054. fprintf (f, "%lu", i);
  2055. }
  2056. /* Do not output a trailing newline, as this causes \r\n confusion
  2057. on some platforms. */
  2058. return ferror (f) || fclose (f) != 0;
  2059. ;
  2060. return 0;
  2061. }
  2062. _ACEOF
  2063. if ac_fn_c_try_run "$LINENO"; then :
  2064. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2065. else
  2066. ac_retval=1
  2067. fi
  2068. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2069. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2070. rm -f conftest.val
  2071. fi
  2072. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2073. as_fn_set_status $ac_retval
  2074. } # ac_fn_c_compute_int
  2075. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2076. # ----------------------------------------------------
  2077. # Tries to find if the field MEMBER exists in type AGGR, after including
  2078. # INCLUDES, setting cache variable VAR accordingly.
  2079. ac_fn_c_check_member ()
  2080. {
  2081. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2082. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2083. $as_echo_n "checking for $2.$3... " >&6; }
  2084. if eval \${$4+:} false; then :
  2085. $as_echo_n "(cached) " >&6
  2086. else
  2087. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2088. /* end confdefs.h. */
  2089. $5
  2090. int
  2091. main ()
  2092. {
  2093. static $2 ac_aggr;
  2094. if (ac_aggr.$3)
  2095. return 0;
  2096. ;
  2097. return 0;
  2098. }
  2099. _ACEOF
  2100. if ac_fn_c_try_compile "$LINENO"; then :
  2101. eval "$4=yes"
  2102. else
  2103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2104. /* end confdefs.h. */
  2105. $5
  2106. int
  2107. main ()
  2108. {
  2109. static $2 ac_aggr;
  2110. if (sizeof ac_aggr.$3)
  2111. return 0;
  2112. ;
  2113. return 0;
  2114. }
  2115. _ACEOF
  2116. if ac_fn_c_try_compile "$LINENO"; then :
  2117. eval "$4=yes"
  2118. else
  2119. eval "$4=no"
  2120. fi
  2121. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2122. fi
  2123. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2124. fi
  2125. eval ac_res=\$$4
  2126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2127. $as_echo "$ac_res" >&6; }
  2128. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2129. } # ac_fn_c_check_member
  2130. cat >config.log <<_ACEOF
  2131. This file contains any messages produced by compilers while
  2132. running configure, to aid debugging if configure makes a mistake.
  2133. It was created by GNU Fortran Runtime Library $as_me 0.3, which was
  2134. generated by GNU Autoconf 2.69. Invocation command line was
  2135. $ $0 $@
  2136. _ACEOF
  2137. exec 5>>config.log
  2138. {
  2139. cat <<_ASUNAME
  2140. ## --------- ##
  2141. ## Platform. ##
  2142. ## --------- ##
  2143. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2144. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2145. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2146. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2147. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2148. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2149. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2150. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2151. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2152. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2153. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2154. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2155. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2156. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2157. _ASUNAME
  2158. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2159. for as_dir in $PATH
  2160. do
  2161. IFS=$as_save_IFS
  2162. test -z "$as_dir" && as_dir=.
  2163. $as_echo "PATH: $as_dir"
  2164. done
  2165. IFS=$as_save_IFS
  2166. } >&5
  2167. cat >&5 <<_ACEOF
  2168. ## ----------- ##
  2169. ## Core tests. ##
  2170. ## ----------- ##
  2171. _ACEOF
  2172. # Keep a trace of the command line.
  2173. # Strip out --no-create and --no-recursion so they do not pile up.
  2174. # Strip out --silent because we don't want to record it for future runs.
  2175. # Also quote any args containing shell meta-characters.
  2176. # Make two passes to allow for proper duplicate-argument suppression.
  2177. ac_configure_args=
  2178. ac_configure_args0=
  2179. ac_configure_args1=
  2180. ac_must_keep_next=false
  2181. for ac_pass in 1 2
  2182. do
  2183. for ac_arg
  2184. do
  2185. case $ac_arg in
  2186. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2187. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2188. | -silent | --silent | --silen | --sile | --sil)
  2189. continue ;;
  2190. *\'*)
  2191. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2192. esac
  2193. case $ac_pass in
  2194. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2195. 2)
  2196. as_fn_append ac_configure_args1 " '$ac_arg'"
  2197. if test $ac_must_keep_next = true; then
  2198. ac_must_keep_next=false # Got value, back to normal.
  2199. else
  2200. case $ac_arg in
  2201. *=* | --config-cache | -C | -disable-* | --disable-* \
  2202. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2203. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2204. | -with-* | --with-* | -without-* | --without-* | --x)
  2205. case "$ac_configure_args0 " in
  2206. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2207. esac
  2208. ;;
  2209. -* ) ac_must_keep_next=true ;;
  2210. esac
  2211. fi
  2212. as_fn_append ac_configure_args " '$ac_arg'"
  2213. ;;
  2214. esac
  2215. done
  2216. done
  2217. { ac_configure_args0=; unset ac_configure_args0;}
  2218. { ac_configure_args1=; unset ac_configure_args1;}
  2219. # When interrupted or exit'd, cleanup temporary files, and complete
  2220. # config.log. We remove comments because anyway the quotes in there
  2221. # would cause problems or look ugly.
  2222. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2223. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2224. trap 'exit_status=$?
  2225. # Save into config.log some information that might help in debugging.
  2226. {
  2227. echo
  2228. $as_echo "## ---------------- ##
  2229. ## Cache variables. ##
  2230. ## ---------------- ##"
  2231. echo
  2232. # The following way of writing the cache mishandles newlines in values,
  2233. (
  2234. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2235. eval ac_val=\$$ac_var
  2236. case $ac_val in #(
  2237. *${as_nl}*)
  2238. case $ac_var in #(
  2239. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2240. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2241. esac
  2242. case $ac_var in #(
  2243. _ | IFS | as_nl) ;; #(
  2244. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2245. *) { eval $ac_var=; unset $ac_var;} ;;
  2246. esac ;;
  2247. esac
  2248. done
  2249. (set) 2>&1 |
  2250. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2251. *${as_nl}ac_space=\ *)
  2252. sed -n \
  2253. "s/'\''/'\''\\\\'\'''\''/g;
  2254. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2255. ;; #(
  2256. *)
  2257. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2258. ;;
  2259. esac |
  2260. sort
  2261. )
  2262. echo
  2263. $as_echo "## ----------------- ##
  2264. ## Output variables. ##
  2265. ## ----------------- ##"
  2266. echo
  2267. for ac_var in $ac_subst_vars
  2268. do
  2269. eval ac_val=\$$ac_var
  2270. case $ac_val in
  2271. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2272. esac
  2273. $as_echo "$ac_var='\''$ac_val'\''"
  2274. done | sort
  2275. echo
  2276. if test -n "$ac_subst_files"; then
  2277. $as_echo "## ------------------- ##
  2278. ## File substitutions. ##
  2279. ## ------------------- ##"
  2280. echo
  2281. for ac_var in $ac_subst_files
  2282. do
  2283. eval ac_val=\$$ac_var
  2284. case $ac_val in
  2285. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2286. esac
  2287. $as_echo "$ac_var='\''$ac_val'\''"
  2288. done | sort
  2289. echo
  2290. fi
  2291. if test -s confdefs.h; then
  2292. $as_echo "## ----------- ##
  2293. ## confdefs.h. ##
  2294. ## ----------- ##"
  2295. echo
  2296. cat confdefs.h
  2297. echo
  2298. fi
  2299. test "$ac_signal" != 0 &&
  2300. $as_echo "$as_me: caught signal $ac_signal"
  2301. $as_echo "$as_me: exit $exit_status"
  2302. } >&5
  2303. rm -f core *.core core.conftest.* &&
  2304. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2305. exit $exit_status
  2306. ' 0
  2307. for ac_signal in 1 2 13 15; do
  2308. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2309. done
  2310. ac_signal=0
  2311. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2312. rm -f -r conftest* confdefs.h
  2313. $as_echo "/* confdefs.h */" > confdefs.h
  2314. # Predefined preprocessor variables.
  2315. cat >>confdefs.h <<_ACEOF
  2316. #define PACKAGE_NAME "$PACKAGE_NAME"
  2317. _ACEOF
  2318. cat >>confdefs.h <<_ACEOF
  2319. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2320. _ACEOF
  2321. cat >>confdefs.h <<_ACEOF
  2322. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2323. _ACEOF
  2324. cat >>confdefs.h <<_ACEOF
  2325. #define PACKAGE_STRING "$PACKAGE_STRING"
  2326. _ACEOF
  2327. cat >>confdefs.h <<_ACEOF
  2328. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2329. _ACEOF
  2330. cat >>confdefs.h <<_ACEOF
  2331. #define PACKAGE_URL "$PACKAGE_URL"
  2332. _ACEOF
  2333. # Let the site file select an alternate cache file if it wants to.
  2334. # Prefer an explicitly selected file to automatically selected ones.
  2335. ac_site_file1=NONE
  2336. ac_site_file2=NONE
  2337. if test -n "$CONFIG_SITE"; then
  2338. # We do not want a PATH search for config.site.
  2339. case $CONFIG_SITE in #((
  2340. -*) ac_site_file1=./$CONFIG_SITE;;
  2341. */*) ac_site_file1=$CONFIG_SITE;;
  2342. *) ac_site_file1=./$CONFIG_SITE;;
  2343. esac
  2344. elif test "x$prefix" != xNONE; then
  2345. ac_site_file1=$prefix/share/config.site
  2346. ac_site_file2=$prefix/etc/config.site
  2347. else
  2348. ac_site_file1=$ac_default_prefix/share/config.site
  2349. ac_site_file2=$ac_default_prefix/etc/config.site
  2350. fi
  2351. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2352. do
  2353. test "x$ac_site_file" = xNONE && continue
  2354. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2355. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2356. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2357. sed 's/^/| /' "$ac_site_file" >&5
  2358. . "$ac_site_file" \
  2359. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2360. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2361. as_fn_error $? "failed to load site script $ac_site_file
  2362. See \`config.log' for more details" "$LINENO" 5; }
  2363. fi
  2364. done
  2365. if test -r "$cache_file"; then
  2366. # Some versions of bash will fail to source /dev/null (special files
  2367. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2368. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2369. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2370. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2371. case $cache_file in
  2372. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2373. *) . "./$cache_file";;
  2374. esac
  2375. fi
  2376. else
  2377. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2378. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2379. >$cache_file
  2380. fi
  2381. as_fn_append ac_header_list " unistd.h"
  2382. as_fn_append ac_header_list " sys/random.h"
  2383. as_fn_append ac_header_list " sys/time.h"
  2384. as_fn_append ac_header_list " sys/times.h"
  2385. as_fn_append ac_header_list " sys/resource.h"
  2386. as_fn_append ac_header_list " sys/types.h"
  2387. as_fn_append ac_header_list " sys/stat.h"
  2388. as_fn_append ac_header_list " sys/uio.h"
  2389. as_fn_append ac_header_list " sys/wait.h"
  2390. as_fn_append ac_header_list " floatingpoint.h"
  2391. as_fn_append ac_header_list " ieeefp.h"
  2392. as_fn_append ac_header_list " fenv.h"
  2393. as_fn_append ac_header_list " fptrap.h"
  2394. as_fn_append ac_header_list " fpxcp.h"
  2395. as_fn_append ac_header_list " pwd.h"
  2396. as_fn_append ac_header_list " complex.h"
  2397. as_fn_append ac_header_list " xlocale.h"
  2398. as_fn_append ac_func_list " getrusage"
  2399. as_fn_append ac_func_list " times"
  2400. as_fn_append ac_func_list " mkstemp"
  2401. as_fn_append ac_func_list " strtof"
  2402. as_fn_append ac_func_list " strtold"
  2403. as_fn_append ac_func_list " snprintf"
  2404. as_fn_append ac_func_list " ftruncate"
  2405. as_fn_append ac_func_list " chsize"
  2406. as_fn_append ac_func_list " chdir"
  2407. as_fn_append ac_func_list " getentropy"
  2408. as_fn_append ac_func_list " getlogin"
  2409. as_fn_append ac_func_list " gethostname"
  2410. as_fn_append ac_func_list " kill"
  2411. as_fn_append ac_func_list " link"
  2412. as_fn_append ac_func_list " symlink"
  2413. as_fn_append ac_func_list " sleep"
  2414. as_fn_append ac_func_list " ttyname"
  2415. as_fn_append ac_func_list " sigaction"
  2416. as_fn_append ac_func_list " waitpid"
  2417. as_fn_append ac_func_list " alarm"
  2418. as_fn_append ac_func_list " access"
  2419. as_fn_append ac_func_list " fork"
  2420. as_fn_append ac_func_list " posix_spawn"
  2421. as_fn_append ac_func_list " setmode"
  2422. as_fn_append ac_func_list " fcntl"
  2423. as_fn_append ac_func_list " writev"
  2424. as_fn_append ac_func_list " gettimeofday"
  2425. as_fn_append ac_func_list " stat"
  2426. as_fn_append ac_func_list " fstat"
  2427. as_fn_append ac_func_list " lstat"
  2428. as_fn_append ac_func_list " getpwuid"
  2429. as_fn_append ac_func_list " vsnprintf"
  2430. as_fn_append ac_func_list " dup"
  2431. as_fn_append ac_func_list " getcwd"
  2432. as_fn_append ac_func_list " localtime_r"
  2433. as_fn_append ac_func_list " gmtime_r"
  2434. as_fn_append ac_func_list " getpwuid_r"
  2435. as_fn_append ac_func_list " ttyname_r"
  2436. as_fn_append ac_func_list " clock_gettime"
  2437. as_fn_append ac_func_list " getgid"
  2438. as_fn_append ac_func_list " getpid"
  2439. as_fn_append ac_func_list " getuid"
  2440. as_fn_append ac_func_list " geteuid"
  2441. as_fn_append ac_func_list " umask"
  2442. as_fn_append ac_func_list " getegid"
  2443. as_fn_append ac_func_list " secure_getenv"
  2444. as_fn_append ac_func_list " __secure_getenv"
  2445. as_fn_append ac_func_list " mkostemp"
  2446. as_fn_append ac_func_list " strnlen"
  2447. as_fn_append ac_func_list " strndup"
  2448. as_fn_append ac_func_list " newlocale"
  2449. as_fn_append ac_func_list " freelocale"
  2450. as_fn_append ac_func_list " uselocale"
  2451. as_fn_append ac_func_list " strerror_l"
  2452. as_fn_append ac_header_list " math.h"
  2453. # Check that the precious variables saved in the cache have kept the same
  2454. # value.
  2455. ac_cache_corrupted=false
  2456. for ac_var in $ac_precious_vars; do
  2457. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2458. eval ac_new_set=\$ac_env_${ac_var}_set
  2459. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2460. eval ac_new_val=\$ac_env_${ac_var}_value
  2461. case $ac_old_set,$ac_new_set in
  2462. set,)
  2463. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2464. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2465. ac_cache_corrupted=: ;;
  2466. ,set)
  2467. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2468. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2469. ac_cache_corrupted=: ;;
  2470. ,);;
  2471. *)
  2472. if test "x$ac_old_val" != "x$ac_new_val"; then
  2473. # differences in whitespace do not lead to failure.
  2474. ac_old_val_w=`echo x $ac_old_val`
  2475. ac_new_val_w=`echo x $ac_new_val`
  2476. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2477. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2478. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2479. ac_cache_corrupted=:
  2480. else
  2481. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2482. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2483. eval $ac_var=\$ac_old_val
  2484. fi
  2485. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2486. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2487. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2488. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2489. fi;;
  2490. esac
  2491. # Pass precious variables to config.status.
  2492. if test "$ac_new_set" = set; then
  2493. case $ac_new_val in
  2494. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2495. *) ac_arg=$ac_var=$ac_new_val ;;
  2496. esac
  2497. case " $ac_configure_args " in
  2498. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2499. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2500. esac
  2501. fi
  2502. done
  2503. if $ac_cache_corrupted; then
  2504. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2505. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2506. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2507. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2508. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2509. fi
  2510. ## -------------------- ##
  2511. ## Main body of script. ##
  2512. ## -------------------- ##
  2513. ac_ext=c
  2514. ac_cpp='$CPP $CPPFLAGS'
  2515. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2516. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2517. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2518. ac_config_headers="$ac_config_headers config.h"
  2519. ac_aux_dir=
  2520. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2521. if test -f "$ac_dir/install-sh"; then
  2522. ac_aux_dir=$ac_dir
  2523. ac_install_sh="$ac_aux_dir/install-sh -c"
  2524. break
  2525. elif test -f "$ac_dir/install.sh"; then
  2526. ac_aux_dir=$ac_dir
  2527. ac_install_sh="$ac_aux_dir/install.sh -c"
  2528. break
  2529. elif test -f "$ac_dir/shtool"; then
  2530. ac_aux_dir=$ac_dir
  2531. ac_install_sh="$ac_aux_dir/shtool install -c"
  2532. break
  2533. fi
  2534. done
  2535. if test -z "$ac_aux_dir"; then
  2536. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2537. fi
  2538. # These three variables are undocumented and unsupported,
  2539. # and are intended to be withdrawn in a future Autoconf release.
  2540. # They can cause serious problems if a builder's source tree is in a directory
  2541. # whose full name contains unusual characters.
  2542. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2543. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2544. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2545. # Make sure we can run config.sub.
  2546. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2547. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2549. $as_echo_n "checking build system type... " >&6; }
  2550. if ${ac_cv_build+:} false; then :
  2551. $as_echo_n "(cached) " >&6
  2552. else
  2553. ac_build_alias=$build_alias
  2554. test "x$ac_build_alias" = x &&
  2555. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2556. test "x$ac_build_alias" = x &&
  2557. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2558. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2559. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2560. fi
  2561. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2562. $as_echo "$ac_cv_build" >&6; }
  2563. case $ac_cv_build in
  2564. *-*-*) ;;
  2565. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2566. esac
  2567. build=$ac_cv_build
  2568. ac_save_IFS=$IFS; IFS='-'
  2569. set x $ac_cv_build
  2570. shift
  2571. build_cpu=$1
  2572. build_vendor=$2
  2573. shift; shift
  2574. # Remember, the first character of IFS is used to create $*,
  2575. # except with old shells:
  2576. build_os=$*
  2577. IFS=$ac_save_IFS
  2578. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2579. case ${build_alias} in
  2580. "") build_noncanonical=${build} ;;
  2581. *) build_noncanonical=${build_alias} ;;
  2582. esac
  2583. case ${host_alias} in
  2584. "") host_noncanonical=${build_noncanonical} ;;
  2585. *) host_noncanonical=${host_alias} ;;
  2586. esac
  2587. case ${target_alias} in
  2588. "") target_noncanonical=${host_noncanonical} ;;
  2589. *) target_noncanonical=${target_alias} ;;
  2590. esac
  2591. # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
  2592. # have matching libraries, they should use host libraries: Makefile.tpl
  2593. # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
  2594. # However, they still use the build modules, because the corresponding
  2595. # host modules (e.g. bison) are only built for the host when bootstrap
  2596. # finishes. So:
  2597. # - build_subdir is where we find build modules, and never changes.
  2598. # - build_libsubdir is where we find build libraries, and can be overridden.
  2599. # Prefix 'build-' so this never conflicts with target_subdir.
  2600. build_subdir="build-${build_noncanonical}"
  2601. # Check whether --with-build-libsubdir was given.
  2602. if test "${with_build_libsubdir+set}" = set; then :
  2603. withval=$with_build_libsubdir; build_libsubdir="$withval"
  2604. else
  2605. build_libsubdir="$build_subdir"
  2606. fi
  2607. # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
  2608. if ( test $srcdir = . && test -d gcc ) \
  2609. || test -d $srcdir/../host-${host_noncanonical}; then
  2610. host_subdir="host-${host_noncanonical}"
  2611. else
  2612. host_subdir=.
  2613. fi
  2614. # No prefix.
  2615. target_subdir=${target_noncanonical}
  2616. # -------
  2617. # Options
  2618. # -------
  2619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
  2620. $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
  2621. # Check whether --enable-version-specific-runtime-libs was given.
  2622. if test "${enable_version_specific_runtime_libs+set}" = set; then :
  2623. enableval=$enable_version_specific_runtime_libs; case "$enableval" in
  2624. yes) version_specific_libs=yes ;;
  2625. no) version_specific_libs=no ;;
  2626. *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
  2627. esac
  2628. else
  2629. version_specific_libs=no
  2630. fi
  2631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
  2632. $as_echo "$version_specific_libs" >&6; }
  2633. # Build with intermodule optimisations
  2634. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
  2635. $as_echo_n "checking for --enable-intermodule... " >&6; }
  2636. # Check whether --enable-intermodule was given.
  2637. if test "${enable_intermodule+set}" = set; then :
  2638. enableval=$enable_intermodule; case "$enable_intermodule" in
  2639. yes) onestep="-onestep";;
  2640. *) onestep="";;
  2641. esac
  2642. else
  2643. onestep=""
  2644. fi
  2645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
  2646. $as_echo "$enable_intermodule" >&6; }
  2647. if test x$onestep = x-onestep; then
  2648. onestep_TRUE=
  2649. onestep_FALSE='#'
  2650. else
  2651. onestep_TRUE='#'
  2652. onestep_FALSE=
  2653. fi
  2654. # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
  2655. #
  2656. # You will slowly go insane if you do not grok the following fact: when
  2657. # building this library, the top-level /target/ becomes the library's /host/.
  2658. #
  2659. # configure then causes --target to default to --host, exactly like any
  2660. # other package using autoconf. Therefore, 'target' and 'host' will
  2661. # always be the same. This makes sense both for native and cross compilers
  2662. # just think about it for a little while. :-)
  2663. #
  2664. # Also, if this library is being configured as part of a cross compiler, the
  2665. # top-level configure script will pass the "real" host as $with_cross_host.
  2666. #
  2667. # Do not delete or change the following two lines. For why, see
  2668. # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
  2669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2670. $as_echo_n "checking host system type... " >&6; }
  2671. if ${ac_cv_host+:} false; then :
  2672. $as_echo_n "(cached) " >&6
  2673. else
  2674. if test "x$host_alias" = x; then
  2675. ac_cv_host=$ac_cv_build
  2676. else
  2677. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2678. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2679. fi
  2680. fi
  2681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2682. $as_echo "$ac_cv_host" >&6; }
  2683. case $ac_cv_host in
  2684. *-*-*) ;;
  2685. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2686. esac
  2687. host=$ac_cv_host
  2688. ac_save_IFS=$IFS; IFS='-'
  2689. set x $ac_cv_host
  2690. shift
  2691. host_cpu=$1
  2692. host_vendor=$2
  2693. shift; shift
  2694. # Remember, the first character of IFS is used to create $*,
  2695. # except with old shells:
  2696. host_os=$*
  2697. IFS=$ac_save_IFS
  2698. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2699. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2700. $as_echo_n "checking target system type... " >&6; }
  2701. if ${ac_cv_target+:} false; then :
  2702. $as_echo_n "(cached) " >&6
  2703. else
  2704. if test "x$target_alias" = x; then
  2705. ac_cv_target=$ac_cv_host
  2706. else
  2707. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2708. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2709. fi
  2710. fi
  2711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2712. $as_echo "$ac_cv_target" >&6; }
  2713. case $ac_cv_target in
  2714. *-*-*) ;;
  2715. *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
  2716. esac
  2717. target=$ac_cv_target
  2718. ac_save_IFS=$IFS; IFS='-'
  2719. set x $ac_cv_target
  2720. shift
  2721. target_cpu=$1
  2722. target_vendor=$2
  2723. shift; shift
  2724. # Remember, the first character of IFS is used to create $*,
  2725. # except with old shells:
  2726. target_os=$*
  2727. IFS=$ac_save_IFS
  2728. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2729. # The aliases save the names the user supplied, while $host etc.
  2730. # will get canonicalized.
  2731. test -n "$target_alias" &&
  2732. test "$program_prefix$program_suffix$program_transform_name" = \
  2733. NONENONEs,x,x, &&
  2734. program_prefix=${target_alias}-
  2735. target_alias=${target_alias-$host_alias}
  2736. # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
  2737. # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
  2738. # 1.9.6: minimum required version
  2739. # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
  2740. # of other PACKAGE_* variables will, however, and there's nothing
  2741. # we can do about that; they come from AC_INIT).
  2742. # foreign: we don't follow the normal rules for GNU packages (no COPYING
  2743. # file in the top srcdir, etc, etc), so stop complaining.
  2744. # no-dist: we don't want 'dist' and related rules.
  2745. # -Wall: turns on all automake warnings...
  2746. # -Wno-portability: ...except this one, since GNU make is required.
  2747. am__api_version='1.15'
  2748. # Find a good install program. We prefer a C program (faster),
  2749. # so one script is as good as another. But avoid the broken or
  2750. # incompatible versions:
  2751. # SysV /etc/install, /usr/sbin/install
  2752. # SunOS /usr/etc/install
  2753. # IRIX /sbin/install
  2754. # AIX /bin/install
  2755. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2756. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2757. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2758. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2759. # OS/2's system install, which has a completely different semantic
  2760. # ./install, which can be erroneously created by make from ./install.sh.
  2761. # Reject install programs that cannot install multiple files.
  2762. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2763. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2764. if test -z "$INSTALL"; then
  2765. if ${ac_cv_path_install+:} false; then :
  2766. $as_echo_n "(cached) " >&6
  2767. else
  2768. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2769. for as_dir in $PATH
  2770. do
  2771. IFS=$as_save_IFS
  2772. test -z "$as_dir" && as_dir=.
  2773. # Account for people who put trailing slashes in PATH elements.
  2774. case $as_dir/ in #((
  2775. ./ | .// | /[cC]/* | \
  2776. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2777. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2778. /usr/ucb/* ) ;;
  2779. *)
  2780. # OSF1 and SCO ODT 3.0 have their own names for install.
  2781. # Don't use installbsd from OSF since it installs stuff as root
  2782. # by default.
  2783. for ac_prog in ginstall scoinst install; do
  2784. for ac_exec_ext in '' $ac_executable_extensions; do
  2785. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2786. if test $ac_prog = install &&
  2787. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2788. # AIX install. It has an incompatible calling convention.
  2789. :
  2790. elif test $ac_prog = install &&
  2791. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2792. # program-specific install script used by HP pwplus--don't use.
  2793. :
  2794. else
  2795. rm -rf conftest.one conftest.two conftest.dir
  2796. echo one > conftest.one
  2797. echo two > conftest.two
  2798. mkdir conftest.dir
  2799. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2800. test -s conftest.one && test -s conftest.two &&
  2801. test -s conftest.dir/conftest.one &&
  2802. test -s conftest.dir/conftest.two
  2803. then
  2804. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2805. break 3
  2806. fi
  2807. fi
  2808. fi
  2809. done
  2810. done
  2811. ;;
  2812. esac
  2813. done
  2814. IFS=$as_save_IFS
  2815. rm -rf conftest.one conftest.two conftest.dir
  2816. fi
  2817. if test "${ac_cv_path_install+set}" = set; then
  2818. INSTALL=$ac_cv_path_install
  2819. else
  2820. # As a last resort, use the slow shell script. Don't cache a
  2821. # value for INSTALL within a source directory, because that will
  2822. # break other packages using the cache if that directory is
  2823. # removed, or if the value is a relative name.
  2824. INSTALL=$ac_install_sh
  2825. fi
  2826. fi
  2827. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2828. $as_echo "$INSTALL" >&6; }
  2829. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2830. # It thinks the first close brace ends the variable substitution.
  2831. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2832. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2833. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2834. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2835. $as_echo_n "checking whether build environment is sane... " >&6; }
  2836. # Reject unsafe characters in $srcdir or the absolute working directory
  2837. # name. Accept space and tab only in the latter.
  2838. am_lf='
  2839. '
  2840. case `pwd` in
  2841. *[\\\"\#\$\&\'\`$am_lf]*)
  2842. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2843. esac
  2844. case $srcdir in
  2845. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2846. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2847. esac
  2848. # Do 'set' in a subshell so we don't clobber the current shell's
  2849. # arguments. Must try -L first in case configure is actually a
  2850. # symlink; some systems play weird games with the mod time of symlinks
  2851. # (eg FreeBSD returns the mod time of the symlink's containing
  2852. # directory).
  2853. if (
  2854. am_has_slept=no
  2855. for am_try in 1 2; do
  2856. echo "timestamp, slept: $am_has_slept" > conftest.file
  2857. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2858. if test "$*" = "X"; then
  2859. # -L didn't work.
  2860. set X `ls -t "$srcdir/configure" conftest.file`
  2861. fi
  2862. if test "$*" != "X $srcdir/configure conftest.file" \
  2863. && test "$*" != "X conftest.file $srcdir/configure"; then
  2864. # If neither matched, then we have a broken ls. This can happen
  2865. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2866. # broken ls alias from the environment. This has actually
  2867. # happened. Such a system could not be considered "sane".
  2868. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2869. alias in your environment" "$LINENO" 5
  2870. fi
  2871. if test "$2" = conftest.file || test $am_try -eq 2; then
  2872. break
  2873. fi
  2874. # Just in case.
  2875. sleep 1
  2876. am_has_slept=yes
  2877. done
  2878. test "$2" = conftest.file
  2879. )
  2880. then
  2881. # Ok.
  2882. :
  2883. else
  2884. as_fn_error $? "newly created file is older than distributed files!
  2885. Check your system clock" "$LINENO" 5
  2886. fi
  2887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2888. $as_echo "yes" >&6; }
  2889. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2890. # generated files are strictly newer.
  2891. am_sleep_pid=
  2892. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2893. ( sleep 1 ) &
  2894. am_sleep_pid=$!
  2895. fi
  2896. rm -f conftest.file
  2897. test "$program_prefix" != NONE &&
  2898. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2899. # Use a double $ so make ignores it.
  2900. test "$program_suffix" != NONE &&
  2901. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2902. # Double any \ or $.
  2903. # By default was `s,x,x', remove it if useless.
  2904. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2905. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2906. # Expand $ac_aux_dir to an absolute path.
  2907. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2908. if test x"${MISSING+set}" != xset; then
  2909. case $am_aux_dir in
  2910. *\ * | *\ *)
  2911. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2912. *)
  2913. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2914. esac
  2915. fi
  2916. # Use eval to expand $SHELL
  2917. if eval "$MISSING --is-lightweight"; then
  2918. am_missing_run="$MISSING "
  2919. else
  2920. am_missing_run=
  2921. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2922. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2923. fi
  2924. if test x"${install_sh+set}" != xset; then
  2925. case $am_aux_dir in
  2926. *\ * | *\ *)
  2927. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2928. *)
  2929. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2930. esac
  2931. fi
  2932. # Installed binaries are usually stripped using 'strip' when the user
  2933. # run "make install-strip". However 'strip' might not be the right
  2934. # tool to use in cross-compilation environments, therefore Automake
  2935. # will honor the 'STRIP' environment variable to overrule this program.
  2936. if test "$cross_compiling" != no; then
  2937. if test -n "$ac_tool_prefix"; then
  2938. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2939. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2941. $as_echo_n "checking for $ac_word... " >&6; }
  2942. if ${ac_cv_prog_STRIP+:} false; then :
  2943. $as_echo_n "(cached) " >&6
  2944. else
  2945. if test -n "$STRIP"; then
  2946. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2947. else
  2948. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2949. for as_dir in $PATH
  2950. do
  2951. IFS=$as_save_IFS
  2952. test -z "$as_dir" && as_dir=.
  2953. for ac_exec_ext in '' $ac_executable_extensions; do
  2954. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2955. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2956. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2957. break 2
  2958. fi
  2959. done
  2960. done
  2961. IFS=$as_save_IFS
  2962. fi
  2963. fi
  2964. STRIP=$ac_cv_prog_STRIP
  2965. if test -n "$STRIP"; then
  2966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2967. $as_echo "$STRIP" >&6; }
  2968. else
  2969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2970. $as_echo "no" >&6; }
  2971. fi
  2972. fi
  2973. if test -z "$ac_cv_prog_STRIP"; then
  2974. ac_ct_STRIP=$STRIP
  2975. # Extract the first word of "strip", so it can be a program name with args.
  2976. set dummy strip; ac_word=$2
  2977. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2978. $as_echo_n "checking for $ac_word... " >&6; }
  2979. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2980. $as_echo_n "(cached) " >&6
  2981. else
  2982. if test -n "$ac_ct_STRIP"; then
  2983. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2984. else
  2985. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2986. for as_dir in $PATH
  2987. do
  2988. IFS=$as_save_IFS
  2989. test -z "$as_dir" && as_dir=.
  2990. for ac_exec_ext in '' $ac_executable_extensions; do
  2991. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2992. ac_cv_prog_ac_ct_STRIP="strip"
  2993. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2994. break 2
  2995. fi
  2996. done
  2997. done
  2998. IFS=$as_save_IFS
  2999. fi
  3000. fi
  3001. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  3002. if test -n "$ac_ct_STRIP"; then
  3003. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  3004. $as_echo "$ac_ct_STRIP" >&6; }
  3005. else
  3006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3007. $as_echo "no" >&6; }
  3008. fi
  3009. if test "x$ac_ct_STRIP" = x; then
  3010. STRIP=":"
  3011. else
  3012. case $cross_compiling:$ac_tool_warned in
  3013. yes:)
  3014. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3015. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3016. ac_tool_warned=yes ;;
  3017. esac
  3018. STRIP=$ac_ct_STRIP
  3019. fi
  3020. else
  3021. STRIP="$ac_cv_prog_STRIP"
  3022. fi
  3023. fi
  3024. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  3025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  3026. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  3027. if test -z "$MKDIR_P"; then
  3028. if ${ac_cv_path_mkdir+:} false; then :
  3029. $as_echo_n "(cached) " >&6
  3030. else
  3031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3032. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  3033. do
  3034. IFS=$as_save_IFS
  3035. test -z "$as_dir" && as_dir=.
  3036. for ac_prog in mkdir gmkdir; do
  3037. for ac_exec_ext in '' $ac_executable_extensions; do
  3038. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  3039. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  3040. 'mkdir (GNU coreutils) '* | \
  3041. 'mkdir (coreutils) '* | \
  3042. 'mkdir (fileutils) '4.1*)
  3043. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  3044. break 3;;
  3045. esac
  3046. done
  3047. done
  3048. done
  3049. IFS=$as_save_IFS
  3050. fi
  3051. test -d ./--version && rmdir ./--version
  3052. if test "${ac_cv_path_mkdir+set}" = set; then
  3053. MKDIR_P="$ac_cv_path_mkdir -p"
  3054. else
  3055. # As a last resort, use the slow shell script. Don't cache a
  3056. # value for MKDIR_P within a source directory, because that will
  3057. # break other packages using the cache if that directory is
  3058. # removed, or if the value is a relative name.
  3059. MKDIR_P="$ac_install_sh -d"
  3060. fi
  3061. fi
  3062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3063. $as_echo "$MKDIR_P" >&6; }
  3064. for ac_prog in gawk mawk nawk awk
  3065. do
  3066. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3067. set dummy $ac_prog; ac_word=$2
  3068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3069. $as_echo_n "checking for $ac_word... " >&6; }
  3070. if ${ac_cv_prog_AWK+:} false; then :
  3071. $as_echo_n "(cached) " >&6
  3072. else
  3073. if test -n "$AWK"; then
  3074. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  3075. else
  3076. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3077. for as_dir in $PATH
  3078. do
  3079. IFS=$as_save_IFS
  3080. test -z "$as_dir" && as_dir=.
  3081. for ac_exec_ext in '' $ac_executable_extensions; do
  3082. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3083. ac_cv_prog_AWK="$ac_prog"
  3084. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3085. break 2
  3086. fi
  3087. done
  3088. done
  3089. IFS=$as_save_IFS
  3090. fi
  3091. fi
  3092. AWK=$ac_cv_prog_AWK
  3093. if test -n "$AWK"; then
  3094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  3095. $as_echo "$AWK" >&6; }
  3096. else
  3097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3098. $as_echo "no" >&6; }
  3099. fi
  3100. test -n "$AWK" && break
  3101. done
  3102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3103. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3104. set x ${MAKE-make}
  3105. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3106. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3107. $as_echo_n "(cached) " >&6
  3108. else
  3109. cat >conftest.make <<\_ACEOF
  3110. SHELL = /bin/sh
  3111. all:
  3112. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3113. _ACEOF
  3114. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3115. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3116. *@@@%%%=?*=@@@%%%*)
  3117. eval ac_cv_prog_make_${ac_make}_set=yes;;
  3118. *)
  3119. eval ac_cv_prog_make_${ac_make}_set=no;;
  3120. esac
  3121. rm -f conftest.make
  3122. fi
  3123. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3125. $as_echo "yes" >&6; }
  3126. SET_MAKE=
  3127. else
  3128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3129. $as_echo "no" >&6; }
  3130. SET_MAKE="MAKE=${MAKE-make}"
  3131. fi
  3132. rm -rf .tst 2>/dev/null
  3133. mkdir .tst 2>/dev/null
  3134. if test -d .tst; then
  3135. am__leading_dot=.
  3136. else
  3137. am__leading_dot=_
  3138. fi
  3139. rmdir .tst 2>/dev/null
  3140. # Check whether --enable-silent-rules was given.
  3141. if test "${enable_silent_rules+set}" = set; then :
  3142. enableval=$enable_silent_rules;
  3143. fi
  3144. case $enable_silent_rules in # (((
  3145. yes) AM_DEFAULT_VERBOSITY=0;;
  3146. no) AM_DEFAULT_VERBOSITY=1;;
  3147. *) AM_DEFAULT_VERBOSITY=1;;
  3148. esac
  3149. am_make=${MAKE-make}
  3150. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3151. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3152. if ${am_cv_make_support_nested_variables+:} false; then :
  3153. $as_echo_n "(cached) " >&6
  3154. else
  3155. if $as_echo 'TRUE=$(BAR$(V))
  3156. BAR0=false
  3157. BAR1=true
  3158. V=1
  3159. am__doit:
  3160. @$(TRUE)
  3161. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3162. am_cv_make_support_nested_variables=yes
  3163. else
  3164. am_cv_make_support_nested_variables=no
  3165. fi
  3166. fi
  3167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3168. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3169. if test $am_cv_make_support_nested_variables = yes; then
  3170. AM_V='$(V)'
  3171. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3172. else
  3173. AM_V=$AM_DEFAULT_VERBOSITY
  3174. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3175. fi
  3176. AM_BACKSLASH='\'
  3177. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  3178. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  3179. # is not polluted with repeated "-I."
  3180. am__isrc=' -I$(srcdir)'
  3181. # test to see if srcdir already configured
  3182. if test -f $srcdir/config.status; then
  3183. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  3184. fi
  3185. fi
  3186. # test whether we have cygpath
  3187. if test -z "$CYGPATH_W"; then
  3188. if (cygpath --version) >/dev/null 2>/dev/null; then
  3189. CYGPATH_W='cygpath -w'
  3190. else
  3191. CYGPATH_W=echo
  3192. fi
  3193. fi
  3194. # Define the identity of the package.
  3195. PACKAGE='libgfortran'
  3196. VERSION='0.3'
  3197. # Some tools Automake needs.
  3198. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  3199. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  3200. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  3201. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  3202. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  3203. # For better backward compatibility. To be removed once Automake 1.9.x
  3204. # dies out for good. For more background, see:
  3205. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  3206. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  3207. mkdir_p='$(MKDIR_P)'
  3208. # We need awk for the "check" target (and possibly the TAP driver). The
  3209. # system "awk" is bad on some platforms.
  3210. # Always define AMTAR for backward compatibility. Yes, it's still used
  3211. # in the wild :-( We should find a proper way to deprecate it ...
  3212. AMTAR='$${TAR-tar}'
  3213. # We'll loop over all known methods to create a tar archive until one works.
  3214. _am_tools='gnutar pax cpio none'
  3215. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  3216. # POSIX will say in a future version that running "rm -f" with no argument
  3217. # is OK; and we want to be able to make that assumption in our Makefile
  3218. # recipes. So use an aggressive probe to check that the usage we want is
  3219. # actually supported "in the wild" to an acceptable degree.
  3220. # See automake bug#10828.
  3221. # To make any issue more visible, cause the running configure to be aborted
  3222. # by default if the 'rm' program in use doesn't match our expectations; the
  3223. # user can still override this though.
  3224. if rm -f && rm -fr && rm -rf; then : OK; else
  3225. cat >&2 <<'END'
  3226. Oops!
  3227. Your 'rm' program seems unable to run without file operands specified
  3228. on the command line, even when the '-f' option is present. This is contrary
  3229. to the behaviour of most rm programs out there, and not conforming with
  3230. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  3231. Please tell bug-automake@gnu.org about your system, including the value
  3232. of your $PATH and any error possibly output before this message. This
  3233. can help us improve future automake versions.
  3234. END
  3235. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  3236. echo 'Configuration will proceed anyway, since you have set the' >&2
  3237. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  3238. echo >&2
  3239. else
  3240. cat >&2 <<'END'
  3241. Aborting the configuration process, to ensure you take notice of the issue.
  3242. You can download and install GNU coreutils to get an 'rm' implementation
  3243. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  3244. If you want to complete the configuration process using your problematic
  3245. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  3246. to "yes", and re-run configure.
  3247. END
  3248. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  3249. fi
  3250. fi
  3251. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  3252. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  3253. # Check whether --enable-maintainer-mode was given.
  3254. if test "${enable_maintainer_mode+set}" = set; then :
  3255. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  3256. else
  3257. USE_MAINTAINER_MODE=no
  3258. fi
  3259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  3260. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  3261. if test $USE_MAINTAINER_MODE = yes; then
  3262. MAINTAINER_MODE_TRUE=
  3263. MAINTAINER_MODE_FALSE='#'
  3264. else
  3265. MAINTAINER_MODE_TRUE='#'
  3266. MAINTAINER_MODE_FALSE=
  3267. fi
  3268. MAINT=$MAINTAINER_MODE_TRUE
  3269. # Default to --enable-multilib
  3270. # Check whether --enable-multilib was given.
  3271. if test "${enable_multilib+set}" = set; then :
  3272. enableval=$enable_multilib; case "$enableval" in
  3273. yes) multilib=yes ;;
  3274. no) multilib=no ;;
  3275. *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
  3276. esac
  3277. else
  3278. multilib=yes
  3279. fi
  3280. # We may get other options which we leave undocumented:
  3281. # --with-target-subdir, --with-multisrctop, --with-multisubdir
  3282. # See config-ml.in if you want the gory details.
  3283. if test "$srcdir" = "."; then
  3284. if test "$with_target_subdir" != "."; then
  3285. multi_basedir="$srcdir/$with_multisrctop../.."
  3286. else
  3287. multi_basedir="$srcdir/$with_multisrctop.."
  3288. fi
  3289. else
  3290. multi_basedir="$srcdir/.."
  3291. fi
  3292. # Even if the default multilib is not a cross compilation,
  3293. # it may be that some of the other multilibs are.
  3294. if test $cross_compiling = no && test $multilib = yes \
  3295. && test "x${with_multisubdir}" != x ; then
  3296. cross_compiling=maybe
  3297. fi
  3298. ac_config_commands="$ac_config_commands default-1"
  3299. # Handy for debugging:
  3300. #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
  3301. # Are we being configured with some form of cross compiler?
  3302. # NB: We don't actually need to know this just now, but when, say, a test
  3303. # suite is included, we'll have to know.
  3304. if test "$build" != "$host"; then
  3305. LIBGFOR_IS_NATIVE=false
  3306. else
  3307. LIBGFOR_IS_NATIVE=true
  3308. fi
  3309. DEPDIR="${am__leading_dot}deps"
  3310. ac_config_commands="$ac_config_commands depfiles"
  3311. am_make=${MAKE-make}
  3312. cat > confinc << 'END'
  3313. am__doit:
  3314. @echo this is the am__doit target
  3315. .PHONY: am__doit
  3316. END
  3317. # If we don't find an include directive, just comment out the code.
  3318. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3319. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3320. am__include="#"
  3321. am__quote=
  3322. _am_result=none
  3323. # First try GNU make style include.
  3324. echo "include confinc" > confmf
  3325. # Ignore all kinds of additional output from 'make'.
  3326. case `$am_make -s -f confmf 2> /dev/null` in #(
  3327. *the\ am__doit\ target*)
  3328. am__include=include
  3329. am__quote=
  3330. _am_result=GNU
  3331. ;;
  3332. esac
  3333. # Now try BSD make style include.
  3334. if test "$am__include" = "#"; then
  3335. echo '.include "confinc"' > confmf
  3336. case `$am_make -s -f confmf 2> /dev/null` in #(
  3337. *the\ am__doit\ target*)
  3338. am__include=.include
  3339. am__quote="\""
  3340. _am_result=BSD
  3341. ;;
  3342. esac
  3343. fi
  3344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3345. $as_echo "$_am_result" >&6; }
  3346. rm -f confinc confmf
  3347. # Check whether --enable-dependency-tracking was given.
  3348. if test "${enable_dependency_tracking+set}" = set; then :
  3349. enableval=$enable_dependency_tracking;
  3350. fi
  3351. if test "x$enable_dependency_tracking" != xno; then
  3352. am_depcomp="$ac_aux_dir/depcomp"
  3353. AMDEPBACKSLASH='\'
  3354. am__nodep='_no'
  3355. fi
  3356. if test "x$enable_dependency_tracking" != xno; then
  3357. AMDEP_TRUE=
  3358. AMDEP_FALSE='#'
  3359. else
  3360. AMDEP_TRUE='#'
  3361. AMDEP_FALSE=
  3362. fi
  3363. ac_ext=c
  3364. ac_cpp='$CPP $CPPFLAGS'
  3365. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3366. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3367. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3368. if test -n "$ac_tool_prefix"; then
  3369. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3370. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3372. $as_echo_n "checking for $ac_word... " >&6; }
  3373. if ${ac_cv_prog_CC+:} false; then :
  3374. $as_echo_n "(cached) " >&6
  3375. else
  3376. if test -n "$CC"; then
  3377. ac_cv_prog_CC="$CC" # Let the user override the test.
  3378. else
  3379. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3380. for as_dir in $PATH
  3381. do
  3382. IFS=$as_save_IFS
  3383. test -z "$as_dir" && as_dir=.
  3384. for ac_exec_ext in '' $ac_executable_extensions; do
  3385. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3386. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3387. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3388. break 2
  3389. fi
  3390. done
  3391. done
  3392. IFS=$as_save_IFS
  3393. fi
  3394. fi
  3395. CC=$ac_cv_prog_CC
  3396. if test -n "$CC"; then
  3397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3398. $as_echo "$CC" >&6; }
  3399. else
  3400. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3401. $as_echo "no" >&6; }
  3402. fi
  3403. fi
  3404. if test -z "$ac_cv_prog_CC"; then
  3405. ac_ct_CC=$CC
  3406. # Extract the first word of "gcc", so it can be a program name with args.
  3407. set dummy gcc; ac_word=$2
  3408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3409. $as_echo_n "checking for $ac_word... " >&6; }
  3410. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3411. $as_echo_n "(cached) " >&6
  3412. else
  3413. if test -n "$ac_ct_CC"; then
  3414. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3415. else
  3416. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3417. for as_dir in $PATH
  3418. do
  3419. IFS=$as_save_IFS
  3420. test -z "$as_dir" && as_dir=.
  3421. for ac_exec_ext in '' $ac_executable_extensions; do
  3422. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3423. ac_cv_prog_ac_ct_CC="gcc"
  3424. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3425. break 2
  3426. fi
  3427. done
  3428. done
  3429. IFS=$as_save_IFS
  3430. fi
  3431. fi
  3432. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3433. if test -n "$ac_ct_CC"; then
  3434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3435. $as_echo "$ac_ct_CC" >&6; }
  3436. else
  3437. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3438. $as_echo "no" >&6; }
  3439. fi
  3440. if test "x$ac_ct_CC" = x; then
  3441. CC=""
  3442. else
  3443. case $cross_compiling:$ac_tool_warned in
  3444. yes:)
  3445. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3446. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3447. ac_tool_warned=yes ;;
  3448. esac
  3449. CC=$ac_ct_CC
  3450. fi
  3451. else
  3452. CC="$ac_cv_prog_CC"
  3453. fi
  3454. if test -z "$CC"; then
  3455. if test -n "$ac_tool_prefix"; then
  3456. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3457. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3459. $as_echo_n "checking for $ac_word... " >&6; }
  3460. if ${ac_cv_prog_CC+:} false; then :
  3461. $as_echo_n "(cached) " >&6
  3462. else
  3463. if test -n "$CC"; then
  3464. ac_cv_prog_CC="$CC" # Let the user override the test.
  3465. else
  3466. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3467. for as_dir in $PATH
  3468. do
  3469. IFS=$as_save_IFS
  3470. test -z "$as_dir" && as_dir=.
  3471. for ac_exec_ext in '' $ac_executable_extensions; do
  3472. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3473. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3474. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3475. break 2
  3476. fi
  3477. done
  3478. done
  3479. IFS=$as_save_IFS
  3480. fi
  3481. fi
  3482. CC=$ac_cv_prog_CC
  3483. if test -n "$CC"; then
  3484. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3485. $as_echo "$CC" >&6; }
  3486. else
  3487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3488. $as_echo "no" >&6; }
  3489. fi
  3490. fi
  3491. fi
  3492. if test -z "$CC"; then
  3493. # Extract the first word of "cc", so it can be a program name with args.
  3494. set dummy cc; ac_word=$2
  3495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3496. $as_echo_n "checking for $ac_word... " >&6; }
  3497. if ${ac_cv_prog_CC+:} false; then :
  3498. $as_echo_n "(cached) " >&6
  3499. else
  3500. if test -n "$CC"; then
  3501. ac_cv_prog_CC="$CC" # Let the user override the test.
  3502. else
  3503. ac_prog_rejected=no
  3504. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3505. for as_dir in $PATH
  3506. do
  3507. IFS=$as_save_IFS
  3508. test -z "$as_dir" && as_dir=.
  3509. for ac_exec_ext in '' $ac_executable_extensions; do
  3510. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3511. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3512. ac_prog_rejected=yes
  3513. continue
  3514. fi
  3515. ac_cv_prog_CC="cc"
  3516. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3517. break 2
  3518. fi
  3519. done
  3520. done
  3521. IFS=$as_save_IFS
  3522. if test $ac_prog_rejected = yes; then
  3523. # We found a bogon in the path, so make sure we never use it.
  3524. set dummy $ac_cv_prog_CC
  3525. shift
  3526. if test $# != 0; then
  3527. # We chose a different compiler from the bogus one.
  3528. # However, it has the same basename, so the bogon will be chosen
  3529. # first if we set CC to just the basename; use the full file name.
  3530. shift
  3531. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3532. fi
  3533. fi
  3534. fi
  3535. fi
  3536. CC=$ac_cv_prog_CC
  3537. if test -n "$CC"; then
  3538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3539. $as_echo "$CC" >&6; }
  3540. else
  3541. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3542. $as_echo "no" >&6; }
  3543. fi
  3544. fi
  3545. if test -z "$CC"; then
  3546. if test -n "$ac_tool_prefix"; then
  3547. for ac_prog in cl.exe
  3548. do
  3549. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3550. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3552. $as_echo_n "checking for $ac_word... " >&6; }
  3553. if ${ac_cv_prog_CC+:} false; then :
  3554. $as_echo_n "(cached) " >&6
  3555. else
  3556. if test -n "$CC"; then
  3557. ac_cv_prog_CC="$CC" # Let the user override the test.
  3558. else
  3559. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3560. for as_dir in $PATH
  3561. do
  3562. IFS=$as_save_IFS
  3563. test -z "$as_dir" && as_dir=.
  3564. for ac_exec_ext in '' $ac_executable_extensions; do
  3565. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3566. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3567. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3568. break 2
  3569. fi
  3570. done
  3571. done
  3572. IFS=$as_save_IFS
  3573. fi
  3574. fi
  3575. CC=$ac_cv_prog_CC
  3576. if test -n "$CC"; then
  3577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3578. $as_echo "$CC" >&6; }
  3579. else
  3580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3581. $as_echo "no" >&6; }
  3582. fi
  3583. test -n "$CC" && break
  3584. done
  3585. fi
  3586. if test -z "$CC"; then
  3587. ac_ct_CC=$CC
  3588. for ac_prog in cl.exe
  3589. do
  3590. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3591. set dummy $ac_prog; ac_word=$2
  3592. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3593. $as_echo_n "checking for $ac_word... " >&6; }
  3594. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3595. $as_echo_n "(cached) " >&6
  3596. else
  3597. if test -n "$ac_ct_CC"; then
  3598. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3599. else
  3600. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3601. for as_dir in $PATH
  3602. do
  3603. IFS=$as_save_IFS
  3604. test -z "$as_dir" && as_dir=.
  3605. for ac_exec_ext in '' $ac_executable_extensions; do
  3606. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3607. ac_cv_prog_ac_ct_CC="$ac_prog"
  3608. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3609. break 2
  3610. fi
  3611. done
  3612. done
  3613. IFS=$as_save_IFS
  3614. fi
  3615. fi
  3616. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3617. if test -n "$ac_ct_CC"; then
  3618. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3619. $as_echo "$ac_ct_CC" >&6; }
  3620. else
  3621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3622. $as_echo "no" >&6; }
  3623. fi
  3624. test -n "$ac_ct_CC" && break
  3625. done
  3626. if test "x$ac_ct_CC" = x; then
  3627. CC=""
  3628. else
  3629. case $cross_compiling:$ac_tool_warned in
  3630. yes:)
  3631. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3632. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3633. ac_tool_warned=yes ;;
  3634. esac
  3635. CC=$ac_ct_CC
  3636. fi
  3637. fi
  3638. fi
  3639. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3640. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3641. as_fn_error $? "no acceptable C compiler found in \$PATH
  3642. See \`config.log' for more details" "$LINENO" 5; }
  3643. # Provide some information about the compiler.
  3644. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3645. set X $ac_compile
  3646. ac_compiler=$2
  3647. for ac_option in --version -v -V -qversion; do
  3648. { { ac_try="$ac_compiler $ac_option >&5"
  3649. case "(($ac_try" in
  3650. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3651. *) ac_try_echo=$ac_try;;
  3652. esac
  3653. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3654. $as_echo "$ac_try_echo"; } >&5
  3655. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3656. ac_status=$?
  3657. if test -s conftest.err; then
  3658. sed '10a\
  3659. ... rest of stderr output deleted ...
  3660. 10q' conftest.err >conftest.er1
  3661. cat conftest.er1 >&5
  3662. fi
  3663. rm -f conftest.er1 conftest.err
  3664. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3665. test $ac_status = 0; }
  3666. done
  3667. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3668. /* end confdefs.h. */
  3669. #include <stdio.h>
  3670. int
  3671. main ()
  3672. {
  3673. printf ("hello world\n");
  3674. ;
  3675. return 0;
  3676. }
  3677. _ACEOF
  3678. # FIXME: Cleanup?
  3679. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  3680. (eval $ac_link) 2>&5
  3681. ac_status=$?
  3682. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3683. test $ac_status = 0; }; then :
  3684. gcc_no_link=no
  3685. else
  3686. gcc_no_link=yes
  3687. fi
  3688. if test x$gcc_no_link = xyes; then
  3689. # Setting cross_compile will disable run tests; it will
  3690. # also disable AC_CHECK_FILE but that's generally
  3691. # correct if we can't link.
  3692. cross_compiling=yes
  3693. EXEEXT=
  3694. else
  3695. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3696. /* end confdefs.h. */
  3697. int
  3698. main ()
  3699. {
  3700. ;
  3701. return 0;
  3702. }
  3703. _ACEOF
  3704. ac_clean_files_save=$ac_clean_files
  3705. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3706. # Try to create an executable without -o first, disregard a.out.
  3707. # It will help us diagnose broken compilers, and finding out an intuition
  3708. # of exeext.
  3709. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3710. $as_echo_n "checking whether the C compiler works... " >&6; }
  3711. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3712. # The possible output files:
  3713. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3714. ac_rmfiles=
  3715. for ac_file in $ac_files
  3716. do
  3717. case $ac_file in
  3718. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3719. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3720. esac
  3721. done
  3722. rm -f $ac_rmfiles
  3723. if { { ac_try="$ac_link_default"
  3724. case "(($ac_try" in
  3725. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3726. *) ac_try_echo=$ac_try;;
  3727. esac
  3728. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3729. $as_echo "$ac_try_echo"; } >&5
  3730. (eval "$ac_link_default") 2>&5
  3731. ac_status=$?
  3732. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3733. test $ac_status = 0; }; then :
  3734. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3735. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3736. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3737. # so that the user can short-circuit this test for compilers unknown to
  3738. # Autoconf.
  3739. for ac_file in $ac_files ''
  3740. do
  3741. test -f "$ac_file" || continue
  3742. case $ac_file in
  3743. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3744. ;;
  3745. [ab].out )
  3746. # We found the default executable, but exeext='' is most
  3747. # certainly right.
  3748. break;;
  3749. *.* )
  3750. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3751. then :; else
  3752. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3753. fi
  3754. # We set ac_cv_exeext here because the later test for it is not
  3755. # safe: cross compilers may not add the suffix if given an `-o'
  3756. # argument, so we may need to know it at that point already.
  3757. # Even if this section looks crufty: it has the advantage of
  3758. # actually working.
  3759. break;;
  3760. * )
  3761. break;;
  3762. esac
  3763. done
  3764. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3765. else
  3766. ac_file=''
  3767. fi
  3768. if test -z "$ac_file"; then :
  3769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3770. $as_echo "no" >&6; }
  3771. $as_echo "$as_me: failed program was:" >&5
  3772. sed 's/^/| /' conftest.$ac_ext >&5
  3773. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3774. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3775. as_fn_error 77 "C compiler cannot create executables
  3776. See \`config.log' for more details" "$LINENO" 5; }
  3777. else
  3778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3779. $as_echo "yes" >&6; }
  3780. fi
  3781. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3782. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3784. $as_echo "$ac_file" >&6; }
  3785. ac_exeext=$ac_cv_exeext
  3786. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3787. ac_clean_files=$ac_clean_files_save
  3788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3789. $as_echo_n "checking for suffix of executables... " >&6; }
  3790. if { { ac_try="$ac_link"
  3791. case "(($ac_try" in
  3792. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3793. *) ac_try_echo=$ac_try;;
  3794. esac
  3795. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3796. $as_echo "$ac_try_echo"; } >&5
  3797. (eval "$ac_link") 2>&5
  3798. ac_status=$?
  3799. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3800. test $ac_status = 0; }; then :
  3801. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3802. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3803. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3804. # `rm'.
  3805. for ac_file in conftest.exe conftest conftest.*; do
  3806. test -f "$ac_file" || continue
  3807. case $ac_file in
  3808. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3809. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3810. break;;
  3811. * ) break;;
  3812. esac
  3813. done
  3814. else
  3815. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3816. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3817. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3818. See \`config.log' for more details" "$LINENO" 5; }
  3819. fi
  3820. rm -f conftest conftest$ac_cv_exeext
  3821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3822. $as_echo "$ac_cv_exeext" >&6; }
  3823. rm -f conftest.$ac_ext
  3824. EXEEXT=$ac_cv_exeext
  3825. ac_exeext=$EXEEXT
  3826. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3827. /* end confdefs.h. */
  3828. #include <stdio.h>
  3829. int
  3830. main ()
  3831. {
  3832. FILE *f = fopen ("conftest.out", "w");
  3833. return ferror (f) || fclose (f) != 0;
  3834. ;
  3835. return 0;
  3836. }
  3837. _ACEOF
  3838. ac_clean_files="$ac_clean_files conftest.out"
  3839. # Check that the compiler produces executables we can run. If not, either
  3840. # the compiler is broken, or we cross compile.
  3841. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3842. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3843. if test "$cross_compiling" != yes; then
  3844. { { ac_try="$ac_link"
  3845. case "(($ac_try" in
  3846. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3847. *) ac_try_echo=$ac_try;;
  3848. esac
  3849. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3850. $as_echo "$ac_try_echo"; } >&5
  3851. (eval "$ac_link") 2>&5
  3852. ac_status=$?
  3853. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3854. test $ac_status = 0; }
  3855. if { ac_try='./conftest$ac_cv_exeext'
  3856. { { case "(($ac_try" in
  3857. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3858. *) ac_try_echo=$ac_try;;
  3859. esac
  3860. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3861. $as_echo "$ac_try_echo"; } >&5
  3862. (eval "$ac_try") 2>&5
  3863. ac_status=$?
  3864. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3865. test $ac_status = 0; }; }; then
  3866. cross_compiling=no
  3867. else
  3868. if test "$cross_compiling" = maybe; then
  3869. cross_compiling=yes
  3870. else
  3871. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3872. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3873. as_fn_error $? "cannot run C compiled programs.
  3874. If you meant to cross compile, use \`--host'.
  3875. See \`config.log' for more details" "$LINENO" 5; }
  3876. fi
  3877. fi
  3878. fi
  3879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3880. $as_echo "$cross_compiling" >&6; }
  3881. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3882. ac_clean_files=$ac_clean_files_save
  3883. fi
  3884. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3885. $as_echo_n "checking for suffix of object files... " >&6; }
  3886. if ${ac_cv_objext+:} false; then :
  3887. $as_echo_n "(cached) " >&6
  3888. else
  3889. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3890. /* end confdefs.h. */
  3891. int
  3892. main ()
  3893. {
  3894. ;
  3895. return 0;
  3896. }
  3897. _ACEOF
  3898. rm -f conftest.o conftest.obj
  3899. if { { ac_try="$ac_compile"
  3900. case "(($ac_try" in
  3901. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3902. *) ac_try_echo=$ac_try;;
  3903. esac
  3904. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3905. $as_echo "$ac_try_echo"; } >&5
  3906. (eval "$ac_compile") 2>&5
  3907. ac_status=$?
  3908. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3909. test $ac_status = 0; }; then :
  3910. for ac_file in conftest.o conftest.obj conftest.*; do
  3911. test -f "$ac_file" || continue;
  3912. case $ac_file in
  3913. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3914. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3915. break;;
  3916. esac
  3917. done
  3918. else
  3919. $as_echo "$as_me: failed program was:" >&5
  3920. sed 's/^/| /' conftest.$ac_ext >&5
  3921. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3922. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3923. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3924. See \`config.log' for more details" "$LINENO" 5; }
  3925. fi
  3926. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3927. fi
  3928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3929. $as_echo "$ac_cv_objext" >&6; }
  3930. OBJEXT=$ac_cv_objext
  3931. ac_objext=$OBJEXT
  3932. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3933. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3934. if ${ac_cv_c_compiler_gnu+:} false; then :
  3935. $as_echo_n "(cached) " >&6
  3936. else
  3937. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3938. /* end confdefs.h. */
  3939. int
  3940. main ()
  3941. {
  3942. #ifndef __GNUC__
  3943. choke me
  3944. #endif
  3945. ;
  3946. return 0;
  3947. }
  3948. _ACEOF
  3949. if ac_fn_c_try_compile "$LINENO"; then :
  3950. ac_compiler_gnu=yes
  3951. else
  3952. ac_compiler_gnu=no
  3953. fi
  3954. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3955. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3956. fi
  3957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3958. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3959. if test $ac_compiler_gnu = yes; then
  3960. GCC=yes
  3961. else
  3962. GCC=
  3963. fi
  3964. ac_test_CFLAGS=${CFLAGS+set}
  3965. ac_save_CFLAGS=$CFLAGS
  3966. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3967. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3968. if ${ac_cv_prog_cc_g+:} false; then :
  3969. $as_echo_n "(cached) " >&6
  3970. else
  3971. ac_save_c_werror_flag=$ac_c_werror_flag
  3972. ac_c_werror_flag=yes
  3973. ac_cv_prog_cc_g=no
  3974. CFLAGS="-g"
  3975. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3976. /* end confdefs.h. */
  3977. int
  3978. main ()
  3979. {
  3980. ;
  3981. return 0;
  3982. }
  3983. _ACEOF
  3984. if ac_fn_c_try_compile "$LINENO"; then :
  3985. ac_cv_prog_cc_g=yes
  3986. else
  3987. CFLAGS=""
  3988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3989. /* end confdefs.h. */
  3990. int
  3991. main ()
  3992. {
  3993. ;
  3994. return 0;
  3995. }
  3996. _ACEOF
  3997. if ac_fn_c_try_compile "$LINENO"; then :
  3998. else
  3999. ac_c_werror_flag=$ac_save_c_werror_flag
  4000. CFLAGS="-g"
  4001. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4002. /* end confdefs.h. */
  4003. int
  4004. main ()
  4005. {
  4006. ;
  4007. return 0;
  4008. }
  4009. _ACEOF
  4010. if ac_fn_c_try_compile "$LINENO"; then :
  4011. ac_cv_prog_cc_g=yes
  4012. fi
  4013. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4014. fi
  4015. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4016. fi
  4017. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4018. ac_c_werror_flag=$ac_save_c_werror_flag
  4019. fi
  4020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4021. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4022. if test "$ac_test_CFLAGS" = set; then
  4023. CFLAGS=$ac_save_CFLAGS
  4024. elif test $ac_cv_prog_cc_g = yes; then
  4025. if test "$GCC" = yes; then
  4026. CFLAGS="-g -O2"
  4027. else
  4028. CFLAGS="-g"
  4029. fi
  4030. else
  4031. if test "$GCC" = yes; then
  4032. CFLAGS="-O2"
  4033. else
  4034. CFLAGS=
  4035. fi
  4036. fi
  4037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4038. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4039. if ${ac_cv_prog_cc_c89+:} false; then :
  4040. $as_echo_n "(cached) " >&6
  4041. else
  4042. ac_cv_prog_cc_c89=no
  4043. ac_save_CC=$CC
  4044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4045. /* end confdefs.h. */
  4046. #include <stdarg.h>
  4047. #include <stdio.h>
  4048. struct stat;
  4049. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4050. struct buf { int x; };
  4051. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4052. static char *e (p, i)
  4053. char **p;
  4054. int i;
  4055. {
  4056. return p[i];
  4057. }
  4058. static char *f (char * (*g) (char **, int), char **p, ...)
  4059. {
  4060. char *s;
  4061. va_list v;
  4062. va_start (v,p);
  4063. s = g (p, va_arg (v,int));
  4064. va_end (v);
  4065. return s;
  4066. }
  4067. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4068. function prototypes and stuff, but not '\xHH' hex character constants.
  4069. These don't provoke an error unfortunately, instead are silently treated
  4070. as 'x'. The following induces an error, until -std is added to get
  4071. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4072. array size at least. It's necessary to write '\x00'==0 to get something
  4073. that's true only with -std. */
  4074. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4075. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4076. inside strings and character constants. */
  4077. #define FOO(x) 'x'
  4078. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4079. int test (int i, double x);
  4080. struct s1 {int (*f) (int a);};
  4081. struct s2 {int (*f) (double a);};
  4082. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4083. int argc;
  4084. char **argv;
  4085. int
  4086. main ()
  4087. {
  4088. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4089. ;
  4090. return 0;
  4091. }
  4092. _ACEOF
  4093. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4094. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4095. do
  4096. CC="$ac_save_CC $ac_arg"
  4097. if ac_fn_c_try_compile "$LINENO"; then :
  4098. ac_cv_prog_cc_c89=$ac_arg
  4099. fi
  4100. rm -f core conftest.err conftest.$ac_objext
  4101. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4102. done
  4103. rm -f conftest.$ac_ext
  4104. CC=$ac_save_CC
  4105. fi
  4106. # AC_CACHE_VAL
  4107. case "x$ac_cv_prog_cc_c89" in
  4108. x)
  4109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4110. $as_echo "none needed" >&6; } ;;
  4111. xno)
  4112. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4113. $as_echo "unsupported" >&6; } ;;
  4114. *)
  4115. CC="$CC $ac_cv_prog_cc_c89"
  4116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4117. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4118. esac
  4119. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4120. fi
  4121. ac_ext=c
  4122. ac_cpp='$CPP $CPPFLAGS'
  4123. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4124. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4125. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4126. ac_ext=c
  4127. ac_cpp='$CPP $CPPFLAGS'
  4128. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4129. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4130. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4132. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  4133. if ${am_cv_prog_cc_c_o+:} false; then :
  4134. $as_echo_n "(cached) " >&6
  4135. else
  4136. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4137. /* end confdefs.h. */
  4138. int
  4139. main ()
  4140. {
  4141. ;
  4142. return 0;
  4143. }
  4144. _ACEOF
  4145. # Make sure it works both with $CC and with simple cc.
  4146. # Following AC_PROG_CC_C_O, we do the test twice because some
  4147. # compilers refuse to overwrite an existing .o file with -o,
  4148. # though they will create one.
  4149. am_cv_prog_cc_c_o=yes
  4150. for am_i in 1 2; do
  4151. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4152. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4153. ac_status=$?
  4154. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4155. (exit $ac_status); } \
  4156. && test -f conftest2.$ac_objext; then
  4157. : OK
  4158. else
  4159. am_cv_prog_cc_c_o=no
  4160. break
  4161. fi
  4162. done
  4163. rm -f core conftest*
  4164. unset am_i
  4165. fi
  4166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4167. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  4168. if test "$am_cv_prog_cc_c_o" != yes; then
  4169. # Losing compiler, so override with the script.
  4170. # FIXME: It is wrong to rewrite CC.
  4171. # But if we don't then we get into trouble of one sort or another.
  4172. # A longer-term fix would be to have automake use am__CC in this case,
  4173. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4174. CC="$am_aux_dir/compile $CC"
  4175. fi
  4176. ac_ext=c
  4177. ac_cpp='$CPP $CPPFLAGS'
  4178. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4179. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4180. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4181. depcc="$CC" am_compiler_list=
  4182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4183. $as_echo_n "checking dependency style of $depcc... " >&6; }
  4184. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  4185. $as_echo_n "(cached) " >&6
  4186. else
  4187. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4188. # We make a subdir and do the tests there. Otherwise we can end up
  4189. # making bogus files that we don't know about and never remove. For
  4190. # instance it was reported that on HP-UX the gcc test will end up
  4191. # making a dummy file named 'D' -- because '-MD' means "put the output
  4192. # in D".
  4193. rm -rf conftest.dir
  4194. mkdir conftest.dir
  4195. # Copy depcomp to subdir because otherwise we won't find it if we're
  4196. # using a relative directory.
  4197. cp "$am_depcomp" conftest.dir
  4198. cd conftest.dir
  4199. # We will build objects and dependencies in a subdirectory because
  4200. # it helps to detect inapplicable dependency modes. For instance
  4201. # both Tru64's cc and ICC support -MD to output dependencies as a
  4202. # side effect of compilation, but ICC will put the dependencies in
  4203. # the current directory while Tru64 will put them in the object
  4204. # directory.
  4205. mkdir sub
  4206. am_cv_CC_dependencies_compiler_type=none
  4207. if test "$am_compiler_list" = ""; then
  4208. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4209. fi
  4210. am__universal=false
  4211. case " $depcc " in #(
  4212. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4213. esac
  4214. for depmode in $am_compiler_list; do
  4215. # Setup a source with many dependencies, because some compilers
  4216. # like to wrap large dependency lists on column 80 (with \), and
  4217. # we should not choose a depcomp mode which is confused by this.
  4218. #
  4219. # We need to recreate these files for each test, as the compiler may
  4220. # overwrite some of them when testing with obscure command lines.
  4221. # This happens at least with the AIX C compiler.
  4222. : > sub/conftest.c
  4223. for i in 1 2 3 4 5 6; do
  4224. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4225. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4226. # Solaris 10 /bin/sh.
  4227. echo '/* dummy */' > sub/conftst$i.h
  4228. done
  4229. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4230. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4231. # mode. It turns out that the SunPro C++ compiler does not properly
  4232. # handle '-M -o', and we need to detect this. Also, some Intel
  4233. # versions had trouble with output in subdirs.
  4234. am__obj=sub/conftest.${OBJEXT-o}
  4235. am__minus_obj="-o $am__obj"
  4236. case $depmode in
  4237. gcc)
  4238. # This depmode causes a compiler race in universal mode.
  4239. test "$am__universal" = false || continue
  4240. ;;
  4241. nosideeffect)
  4242. # After this tag, mechanisms are not by side-effect, so they'll
  4243. # only be used when explicitly requested.
  4244. if test "x$enable_dependency_tracking" = xyes; then
  4245. continue
  4246. else
  4247. break
  4248. fi
  4249. ;;
  4250. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4251. # This compiler won't grok '-c -o', but also, the minuso test has
  4252. # not run yet. These depmodes are late enough in the game, and
  4253. # so weak that their functioning should not be impacted.
  4254. am__obj=conftest.${OBJEXT-o}
  4255. am__minus_obj=
  4256. ;;
  4257. none) break ;;
  4258. esac
  4259. if depmode=$depmode \
  4260. source=sub/conftest.c object=$am__obj \
  4261. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4262. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4263. >/dev/null 2>conftest.err &&
  4264. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4265. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4266. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4267. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4268. # icc doesn't choke on unknown options, it will just issue warnings
  4269. # or remarks (even with -Werror). So we grep stderr for any message
  4270. # that says an option was ignored or not supported.
  4271. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4272. # icc: Command line warning: ignoring option '-M'; no argument required
  4273. # The diagnosis changed in icc 8.0:
  4274. # icc: Command line remark: option '-MP' not supported
  4275. if (grep 'ignoring option' conftest.err ||
  4276. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4277. am_cv_CC_dependencies_compiler_type=$depmode
  4278. break
  4279. fi
  4280. fi
  4281. done
  4282. cd ..
  4283. rm -rf conftest.dir
  4284. else
  4285. am_cv_CC_dependencies_compiler_type=none
  4286. fi
  4287. fi
  4288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4289. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4290. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4291. if
  4292. test "x$enable_dependency_tracking" != xno \
  4293. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4294. am__fastdepCC_TRUE=
  4295. am__fastdepCC_FALSE='#'
  4296. else
  4297. am__fastdepCC_TRUE='#'
  4298. am__fastdepCC_FALSE=
  4299. fi
  4300. ac_ext=c
  4301. ac_cpp='$CPP $CPPFLAGS'
  4302. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4303. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4304. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4305. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4306. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4307. # On Suns, sometimes $CPP names a directory.
  4308. if test -n "$CPP" && test -d "$CPP"; then
  4309. CPP=
  4310. fi
  4311. if test -z "$CPP"; then
  4312. if ${ac_cv_prog_CPP+:} false; then :
  4313. $as_echo_n "(cached) " >&6
  4314. else
  4315. # Double quotes because CPP needs to be expanded
  4316. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4317. do
  4318. ac_preproc_ok=false
  4319. for ac_c_preproc_warn_flag in '' yes
  4320. do
  4321. # Use a header file that comes with gcc, so configuring glibc
  4322. # with a fresh cross-compiler works.
  4323. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4324. # <limits.h> exists even on freestanding compilers.
  4325. # On the NeXT, cc -E runs the code through the compiler's parser,
  4326. # not just through cpp. "Syntax error" is here to catch this case.
  4327. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4328. /* end confdefs.h. */
  4329. #ifdef __STDC__
  4330. # include <limits.h>
  4331. #else
  4332. # include <assert.h>
  4333. #endif
  4334. Syntax error
  4335. _ACEOF
  4336. if ac_fn_c_try_cpp "$LINENO"; then :
  4337. else
  4338. # Broken: fails on valid input.
  4339. continue
  4340. fi
  4341. rm -f conftest.err conftest.i conftest.$ac_ext
  4342. # OK, works on sane cases. Now check whether nonexistent headers
  4343. # can be detected and how.
  4344. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4345. /* end confdefs.h. */
  4346. #include <ac_nonexistent.h>
  4347. _ACEOF
  4348. if ac_fn_c_try_cpp "$LINENO"; then :
  4349. # Broken: success on invalid input.
  4350. continue
  4351. else
  4352. # Passes both tests.
  4353. ac_preproc_ok=:
  4354. break
  4355. fi
  4356. rm -f conftest.err conftest.i conftest.$ac_ext
  4357. done
  4358. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4359. rm -f conftest.i conftest.err conftest.$ac_ext
  4360. if $ac_preproc_ok; then :
  4361. break
  4362. fi
  4363. done
  4364. ac_cv_prog_CPP=$CPP
  4365. fi
  4366. CPP=$ac_cv_prog_CPP
  4367. else
  4368. ac_cv_prog_CPP=$CPP
  4369. fi
  4370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4371. $as_echo "$CPP" >&6; }
  4372. ac_preproc_ok=false
  4373. for ac_c_preproc_warn_flag in '' yes
  4374. do
  4375. # Use a header file that comes with gcc, so configuring glibc
  4376. # with a fresh cross-compiler works.
  4377. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4378. # <limits.h> exists even on freestanding compilers.
  4379. # On the NeXT, cc -E runs the code through the compiler's parser,
  4380. # not just through cpp. "Syntax error" is here to catch this case.
  4381. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4382. /* end confdefs.h. */
  4383. #ifdef __STDC__
  4384. # include <limits.h>
  4385. #else
  4386. # include <assert.h>
  4387. #endif
  4388. Syntax error
  4389. _ACEOF
  4390. if ac_fn_c_try_cpp "$LINENO"; then :
  4391. else
  4392. # Broken: fails on valid input.
  4393. continue
  4394. fi
  4395. rm -f conftest.err conftest.i conftest.$ac_ext
  4396. # OK, works on sane cases. Now check whether nonexistent headers
  4397. # can be detected and how.
  4398. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4399. /* end confdefs.h. */
  4400. #include <ac_nonexistent.h>
  4401. _ACEOF
  4402. if ac_fn_c_try_cpp "$LINENO"; then :
  4403. # Broken: success on invalid input.
  4404. continue
  4405. else
  4406. # Passes both tests.
  4407. ac_preproc_ok=:
  4408. break
  4409. fi
  4410. rm -f conftest.err conftest.i conftest.$ac_ext
  4411. done
  4412. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4413. rm -f conftest.i conftest.err conftest.$ac_ext
  4414. if $ac_preproc_ok; then :
  4415. else
  4416. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4417. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4418. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4419. See \`config.log' for more details" "$LINENO" 5; }
  4420. fi
  4421. ac_ext=c
  4422. ac_cpp='$CPP $CPPFLAGS'
  4423. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4424. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4425. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4427. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4428. if ${ac_cv_path_GREP+:} false; then :
  4429. $as_echo_n "(cached) " >&6
  4430. else
  4431. if test -z "$GREP"; then
  4432. ac_path_GREP_found=false
  4433. # Loop through the user's path and test for each of PROGNAME-LIST
  4434. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4435. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4436. do
  4437. IFS=$as_save_IFS
  4438. test -z "$as_dir" && as_dir=.
  4439. for ac_prog in grep ggrep; do
  4440. for ac_exec_ext in '' $ac_executable_extensions; do
  4441. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4442. as_fn_executable_p "$ac_path_GREP" || continue
  4443. # Check for GNU ac_path_GREP and select it if it is found.
  4444. # Check for GNU $ac_path_GREP
  4445. case `"$ac_path_GREP" --version 2>&1` in
  4446. *GNU*)
  4447. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4448. *)
  4449. ac_count=0
  4450. $as_echo_n 0123456789 >"conftest.in"
  4451. while :
  4452. do
  4453. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4454. mv "conftest.tmp" "conftest.in"
  4455. cp "conftest.in" "conftest.nl"
  4456. $as_echo 'GREP' >> "conftest.nl"
  4457. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4458. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4459. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4460. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4461. # Best one so far, save it but keep looking for a better one
  4462. ac_cv_path_GREP="$ac_path_GREP"
  4463. ac_path_GREP_max=$ac_count
  4464. fi
  4465. # 10*(2^10) chars as input seems more than enough
  4466. test $ac_count -gt 10 && break
  4467. done
  4468. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4469. esac
  4470. $ac_path_GREP_found && break 3
  4471. done
  4472. done
  4473. done
  4474. IFS=$as_save_IFS
  4475. if test -z "$ac_cv_path_GREP"; then
  4476. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4477. fi
  4478. else
  4479. ac_cv_path_GREP=$GREP
  4480. fi
  4481. fi
  4482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4483. $as_echo "$ac_cv_path_GREP" >&6; }
  4484. GREP="$ac_cv_path_GREP"
  4485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4486. $as_echo_n "checking for egrep... " >&6; }
  4487. if ${ac_cv_path_EGREP+:} false; then :
  4488. $as_echo_n "(cached) " >&6
  4489. else
  4490. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4491. then ac_cv_path_EGREP="$GREP -E"
  4492. else
  4493. if test -z "$EGREP"; then
  4494. ac_path_EGREP_found=false
  4495. # Loop through the user's path and test for each of PROGNAME-LIST
  4496. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4497. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4498. do
  4499. IFS=$as_save_IFS
  4500. test -z "$as_dir" && as_dir=.
  4501. for ac_prog in egrep; do
  4502. for ac_exec_ext in '' $ac_executable_extensions; do
  4503. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4504. as_fn_executable_p "$ac_path_EGREP" || continue
  4505. # Check for GNU ac_path_EGREP and select it if it is found.
  4506. # Check for GNU $ac_path_EGREP
  4507. case `"$ac_path_EGREP" --version 2>&1` in
  4508. *GNU*)
  4509. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4510. *)
  4511. ac_count=0
  4512. $as_echo_n 0123456789 >"conftest.in"
  4513. while :
  4514. do
  4515. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4516. mv "conftest.tmp" "conftest.in"
  4517. cp "conftest.in" "conftest.nl"
  4518. $as_echo 'EGREP' >> "conftest.nl"
  4519. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4520. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4521. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4522. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4523. # Best one so far, save it but keep looking for a better one
  4524. ac_cv_path_EGREP="$ac_path_EGREP"
  4525. ac_path_EGREP_max=$ac_count
  4526. fi
  4527. # 10*(2^10) chars as input seems more than enough
  4528. test $ac_count -gt 10 && break
  4529. done
  4530. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4531. esac
  4532. $ac_path_EGREP_found && break 3
  4533. done
  4534. done
  4535. done
  4536. IFS=$as_save_IFS
  4537. if test -z "$ac_cv_path_EGREP"; then
  4538. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4539. fi
  4540. else
  4541. ac_cv_path_EGREP=$EGREP
  4542. fi
  4543. fi
  4544. fi
  4545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4546. $as_echo "$ac_cv_path_EGREP" >&6; }
  4547. EGREP="$ac_cv_path_EGREP"
  4548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4549. $as_echo_n "checking for ANSI C header files... " >&6; }
  4550. if ${ac_cv_header_stdc+:} false; then :
  4551. $as_echo_n "(cached) " >&6
  4552. else
  4553. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4554. /* end confdefs.h. */
  4555. #include <stdlib.h>
  4556. #include <stdarg.h>
  4557. #include <string.h>
  4558. #include <float.h>
  4559. int
  4560. main ()
  4561. {
  4562. ;
  4563. return 0;
  4564. }
  4565. _ACEOF
  4566. if ac_fn_c_try_compile "$LINENO"; then :
  4567. ac_cv_header_stdc=yes
  4568. else
  4569. ac_cv_header_stdc=no
  4570. fi
  4571. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4572. if test $ac_cv_header_stdc = yes; then
  4573. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4574. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4575. /* end confdefs.h. */
  4576. #include <string.h>
  4577. _ACEOF
  4578. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4579. $EGREP "memchr" >/dev/null 2>&1; then :
  4580. else
  4581. ac_cv_header_stdc=no
  4582. fi
  4583. rm -f conftest*
  4584. fi
  4585. if test $ac_cv_header_stdc = yes; then
  4586. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4587. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4588. /* end confdefs.h. */
  4589. #include <stdlib.h>
  4590. _ACEOF
  4591. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4592. $EGREP "free" >/dev/null 2>&1; then :
  4593. else
  4594. ac_cv_header_stdc=no
  4595. fi
  4596. rm -f conftest*
  4597. fi
  4598. if test $ac_cv_header_stdc = yes; then
  4599. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4600. if test "$cross_compiling" = yes; then :
  4601. :
  4602. else
  4603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4604. /* end confdefs.h. */
  4605. #include <ctype.h>
  4606. #include <stdlib.h>
  4607. #if ((' ' & 0x0FF) == 0x020)
  4608. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4609. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4610. #else
  4611. # define ISLOWER(c) \
  4612. (('a' <= (c) && (c) <= 'i') \
  4613. || ('j' <= (c) && (c) <= 'r') \
  4614. || ('s' <= (c) && (c) <= 'z'))
  4615. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4616. #endif
  4617. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4618. int
  4619. main ()
  4620. {
  4621. int i;
  4622. for (i = 0; i < 256; i++)
  4623. if (XOR (islower (i), ISLOWER (i))
  4624. || toupper (i) != TOUPPER (i))
  4625. return 2;
  4626. return 0;
  4627. }
  4628. _ACEOF
  4629. if ac_fn_c_try_run "$LINENO"; then :
  4630. else
  4631. ac_cv_header_stdc=no
  4632. fi
  4633. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4634. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4635. fi
  4636. fi
  4637. fi
  4638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4639. $as_echo "$ac_cv_header_stdc" >&6; }
  4640. if test $ac_cv_header_stdc = yes; then
  4641. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4642. fi
  4643. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4644. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4645. inttypes.h stdint.h unistd.h
  4646. do :
  4647. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4648. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4649. "
  4650. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4651. cat >>confdefs.h <<_ACEOF
  4652. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4653. _ACEOF
  4654. fi
  4655. done
  4656. ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  4657. if test "x$ac_cv_header_minix_config_h" = xyes; then :
  4658. MINIX=yes
  4659. else
  4660. MINIX=
  4661. fi
  4662. if test "$MINIX" = yes; then
  4663. $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  4664. $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  4665. $as_echo "#define _MINIX 1" >>confdefs.h
  4666. fi
  4667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  4668. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  4669. if ${ac_cv_safe_to_define___extensions__+:} false; then :
  4670. $as_echo_n "(cached) " >&6
  4671. else
  4672. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4673. /* end confdefs.h. */
  4674. # define __EXTENSIONS__ 1
  4675. $ac_includes_default
  4676. int
  4677. main ()
  4678. {
  4679. ;
  4680. return 0;
  4681. }
  4682. _ACEOF
  4683. if ac_fn_c_try_compile "$LINENO"; then :
  4684. ac_cv_safe_to_define___extensions__=yes
  4685. else
  4686. ac_cv_safe_to_define___extensions__=no
  4687. fi
  4688. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4689. fi
  4690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  4691. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  4692. test $ac_cv_safe_to_define___extensions__ = yes &&
  4693. $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  4694. $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  4695. $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4696. $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  4697. $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  4698. # Check whether --with-toolexeclibdir was given.
  4699. if test "${with_toolexeclibdir+set}" = set; then :
  4700. withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
  4701. /)
  4702. ;;
  4703. */)
  4704. with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
  4705. ;;
  4706. esac
  4707. else
  4708. with_toolexeclibdir=no
  4709. fi
  4710. # Calculate toolexeclibdir
  4711. # Also toolexecdir, though it's only used in toolexeclibdir
  4712. case ${version_specific_libs} in
  4713. yes)
  4714. # Need the gcc compiler version to know where to install libraries
  4715. # and header files if --enable-version-specific-runtime-libs option
  4716. # is selected.
  4717. toolexecdir='$(libdir)/gcc/$(target_alias)'
  4718. toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
  4719. ;;
  4720. no)
  4721. if test -n "$with_cross_host" &&
  4722. test x"$with_cross_host" != x"no"; then
  4723. # Install a library built with a cross compiler in tooldir, not libdir.
  4724. toolexecdir='$(exec_prefix)/$(target_alias)'
  4725. case ${with_toolexeclibdir} in
  4726. no)
  4727. toolexeclibdir='$(toolexecdir)/lib'
  4728. ;;
  4729. *)
  4730. toolexeclibdir=${with_toolexeclibdir}
  4731. ;;
  4732. esac
  4733. else
  4734. toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
  4735. toolexeclibdir='$(libdir)'
  4736. fi
  4737. multi_os_directory=`$CC -print-multi-os-directory`
  4738. case $multi_os_directory in
  4739. .) ;; # Avoid trailing /.
  4740. *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
  4741. esac
  4742. ;;
  4743. esac
  4744. # Create a spec file, so that compile/link tests don't fail
  4745. test -f libgfortran.spec || touch libgfortran.spec
  4746. ac_ext=c
  4747. ac_cpp='$CPP $CPPFLAGS'
  4748. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4749. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4750. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4751. # Check the compiler.
  4752. # The same as in boehm-gc and libstdc++. Have to borrow it from there.
  4753. # We must force CC to /not/ be precious variables; otherwise
  4754. # the wrong, non-multilib-adjusted value will be used in multilibs.
  4755. # As a side effect, we have to subst CFLAGS ourselves.
  4756. ac_ext=c
  4757. ac_cpp='$CPP $CPPFLAGS'
  4758. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4759. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4760. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4761. if test -n "$ac_tool_prefix"; then
  4762. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4763. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4764. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4765. $as_echo_n "checking for $ac_word... " >&6; }
  4766. if ${ac_cv_prog_CC+:} false; then :
  4767. $as_echo_n "(cached) " >&6
  4768. else
  4769. if test -n "$CC"; then
  4770. ac_cv_prog_CC="$CC" # Let the user override the test.
  4771. else
  4772. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4773. for as_dir in $PATH
  4774. do
  4775. IFS=$as_save_IFS
  4776. test -z "$as_dir" && as_dir=.
  4777. for ac_exec_ext in '' $ac_executable_extensions; do
  4778. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4779. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4780. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4781. break 2
  4782. fi
  4783. done
  4784. done
  4785. IFS=$as_save_IFS
  4786. fi
  4787. fi
  4788. CC=$ac_cv_prog_CC
  4789. if test -n "$CC"; then
  4790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4791. $as_echo "$CC" >&6; }
  4792. else
  4793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4794. $as_echo "no" >&6; }
  4795. fi
  4796. fi
  4797. if test -z "$ac_cv_prog_CC"; then
  4798. ac_ct_CC=$CC
  4799. # Extract the first word of "gcc", so it can be a program name with args.
  4800. set dummy gcc; ac_word=$2
  4801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4802. $as_echo_n "checking for $ac_word... " >&6; }
  4803. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4804. $as_echo_n "(cached) " >&6
  4805. else
  4806. if test -n "$ac_ct_CC"; then
  4807. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4808. else
  4809. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4810. for as_dir in $PATH
  4811. do
  4812. IFS=$as_save_IFS
  4813. test -z "$as_dir" && as_dir=.
  4814. for ac_exec_ext in '' $ac_executable_extensions; do
  4815. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4816. ac_cv_prog_ac_ct_CC="gcc"
  4817. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4818. break 2
  4819. fi
  4820. done
  4821. done
  4822. IFS=$as_save_IFS
  4823. fi
  4824. fi
  4825. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4826. if test -n "$ac_ct_CC"; then
  4827. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4828. $as_echo "$ac_ct_CC" >&6; }
  4829. else
  4830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4831. $as_echo "no" >&6; }
  4832. fi
  4833. if test "x$ac_ct_CC" = x; then
  4834. CC=""
  4835. else
  4836. case $cross_compiling:$ac_tool_warned in
  4837. yes:)
  4838. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4839. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4840. ac_tool_warned=yes ;;
  4841. esac
  4842. CC=$ac_ct_CC
  4843. fi
  4844. else
  4845. CC="$ac_cv_prog_CC"
  4846. fi
  4847. if test -z "$CC"; then
  4848. if test -n "$ac_tool_prefix"; then
  4849. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4850. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4851. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4852. $as_echo_n "checking for $ac_word... " >&6; }
  4853. if ${ac_cv_prog_CC+:} false; then :
  4854. $as_echo_n "(cached) " >&6
  4855. else
  4856. if test -n "$CC"; then
  4857. ac_cv_prog_CC="$CC" # Let the user override the test.
  4858. else
  4859. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4860. for as_dir in $PATH
  4861. do
  4862. IFS=$as_save_IFS
  4863. test -z "$as_dir" && as_dir=.
  4864. for ac_exec_ext in '' $ac_executable_extensions; do
  4865. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4866. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4867. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4868. break 2
  4869. fi
  4870. done
  4871. done
  4872. IFS=$as_save_IFS
  4873. fi
  4874. fi
  4875. CC=$ac_cv_prog_CC
  4876. if test -n "$CC"; then
  4877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4878. $as_echo "$CC" >&6; }
  4879. else
  4880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4881. $as_echo "no" >&6; }
  4882. fi
  4883. fi
  4884. fi
  4885. if test -z "$CC"; then
  4886. # Extract the first word of "cc", so it can be a program name with args.
  4887. set dummy cc; ac_word=$2
  4888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4889. $as_echo_n "checking for $ac_word... " >&6; }
  4890. if ${ac_cv_prog_CC+:} false; then :
  4891. $as_echo_n "(cached) " >&6
  4892. else
  4893. if test -n "$CC"; then
  4894. ac_cv_prog_CC="$CC" # Let the user override the test.
  4895. else
  4896. ac_prog_rejected=no
  4897. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4898. for as_dir in $PATH
  4899. do
  4900. IFS=$as_save_IFS
  4901. test -z "$as_dir" && as_dir=.
  4902. for ac_exec_ext in '' $ac_executable_extensions; do
  4903. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4904. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4905. ac_prog_rejected=yes
  4906. continue
  4907. fi
  4908. ac_cv_prog_CC="cc"
  4909. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4910. break 2
  4911. fi
  4912. done
  4913. done
  4914. IFS=$as_save_IFS
  4915. if test $ac_prog_rejected = yes; then
  4916. # We found a bogon in the path, so make sure we never use it.
  4917. set dummy $ac_cv_prog_CC
  4918. shift
  4919. if test $# != 0; then
  4920. # We chose a different compiler from the bogus one.
  4921. # However, it has the same basename, so the bogon will be chosen
  4922. # first if we set CC to just the basename; use the full file name.
  4923. shift
  4924. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4925. fi
  4926. fi
  4927. fi
  4928. fi
  4929. CC=$ac_cv_prog_CC
  4930. if test -n "$CC"; then
  4931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4932. $as_echo "$CC" >&6; }
  4933. else
  4934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4935. $as_echo "no" >&6; }
  4936. fi
  4937. fi
  4938. if test -z "$CC"; then
  4939. if test -n "$ac_tool_prefix"; then
  4940. for ac_prog in cl.exe
  4941. do
  4942. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4943. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4944. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4945. $as_echo_n "checking for $ac_word... " >&6; }
  4946. if ${ac_cv_prog_CC+:} false; then :
  4947. $as_echo_n "(cached) " >&6
  4948. else
  4949. if test -n "$CC"; then
  4950. ac_cv_prog_CC="$CC" # Let the user override the test.
  4951. else
  4952. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4953. for as_dir in $PATH
  4954. do
  4955. IFS=$as_save_IFS
  4956. test -z "$as_dir" && as_dir=.
  4957. for ac_exec_ext in '' $ac_executable_extensions; do
  4958. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4959. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4960. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4961. break 2
  4962. fi
  4963. done
  4964. done
  4965. IFS=$as_save_IFS
  4966. fi
  4967. fi
  4968. CC=$ac_cv_prog_CC
  4969. if test -n "$CC"; then
  4970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4971. $as_echo "$CC" >&6; }
  4972. else
  4973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4974. $as_echo "no" >&6; }
  4975. fi
  4976. test -n "$CC" && break
  4977. done
  4978. fi
  4979. if test -z "$CC"; then
  4980. ac_ct_CC=$CC
  4981. for ac_prog in cl.exe
  4982. do
  4983. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4984. set dummy $ac_prog; ac_word=$2
  4985. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4986. $as_echo_n "checking for $ac_word... " >&6; }
  4987. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4988. $as_echo_n "(cached) " >&6
  4989. else
  4990. if test -n "$ac_ct_CC"; then
  4991. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4992. else
  4993. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4994. for as_dir in $PATH
  4995. do
  4996. IFS=$as_save_IFS
  4997. test -z "$as_dir" && as_dir=.
  4998. for ac_exec_ext in '' $ac_executable_extensions; do
  4999. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5000. ac_cv_prog_ac_ct_CC="$ac_prog"
  5001. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5002. break 2
  5003. fi
  5004. done
  5005. done
  5006. IFS=$as_save_IFS
  5007. fi
  5008. fi
  5009. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  5010. if test -n "$ac_ct_CC"; then
  5011. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  5012. $as_echo "$ac_ct_CC" >&6; }
  5013. else
  5014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5015. $as_echo "no" >&6; }
  5016. fi
  5017. test -n "$ac_ct_CC" && break
  5018. done
  5019. if test "x$ac_ct_CC" = x; then
  5020. CC=""
  5021. else
  5022. case $cross_compiling:$ac_tool_warned in
  5023. yes:)
  5024. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5025. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5026. ac_tool_warned=yes ;;
  5027. esac
  5028. CC=$ac_ct_CC
  5029. fi
  5030. fi
  5031. fi
  5032. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5033. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5034. as_fn_error $? "no acceptable C compiler found in \$PATH
  5035. See \`config.log' for more details" "$LINENO" 5; }
  5036. # Provide some information about the compiler.
  5037. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  5038. set X $ac_compile
  5039. ac_compiler=$2
  5040. for ac_option in --version -v -V -qversion; do
  5041. { { ac_try="$ac_compiler $ac_option >&5"
  5042. case "(($ac_try" in
  5043. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5044. *) ac_try_echo=$ac_try;;
  5045. esac
  5046. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5047. $as_echo "$ac_try_echo"; } >&5
  5048. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  5049. ac_status=$?
  5050. if test -s conftest.err; then
  5051. sed '10a\
  5052. ... rest of stderr output deleted ...
  5053. 10q' conftest.err >conftest.er1
  5054. cat conftest.er1 >&5
  5055. fi
  5056. rm -f conftest.er1 conftest.err
  5057. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5058. test $ac_status = 0; }
  5059. done
  5060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  5061. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  5062. if ${ac_cv_c_compiler_gnu+:} false; then :
  5063. $as_echo_n "(cached) " >&6
  5064. else
  5065. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5066. /* end confdefs.h. */
  5067. int
  5068. main ()
  5069. {
  5070. #ifndef __GNUC__
  5071. choke me
  5072. #endif
  5073. ;
  5074. return 0;
  5075. }
  5076. _ACEOF
  5077. if ac_fn_c_try_compile "$LINENO"; then :
  5078. ac_compiler_gnu=yes
  5079. else
  5080. ac_compiler_gnu=no
  5081. fi
  5082. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5083. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  5084. fi
  5085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  5086. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  5087. if test $ac_compiler_gnu = yes; then
  5088. GCC=yes
  5089. else
  5090. GCC=
  5091. fi
  5092. ac_test_CFLAGS=${CFLAGS+set}
  5093. ac_save_CFLAGS=$CFLAGS
  5094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  5095. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  5096. if ${ac_cv_prog_cc_g+:} false; then :
  5097. $as_echo_n "(cached) " >&6
  5098. else
  5099. ac_save_c_werror_flag=$ac_c_werror_flag
  5100. ac_c_werror_flag=yes
  5101. ac_cv_prog_cc_g=no
  5102. CFLAGS="-g"
  5103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5104. /* end confdefs.h. */
  5105. int
  5106. main ()
  5107. {
  5108. ;
  5109. return 0;
  5110. }
  5111. _ACEOF
  5112. if ac_fn_c_try_compile "$LINENO"; then :
  5113. ac_cv_prog_cc_g=yes
  5114. else
  5115. CFLAGS=""
  5116. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5117. /* end confdefs.h. */
  5118. int
  5119. main ()
  5120. {
  5121. ;
  5122. return 0;
  5123. }
  5124. _ACEOF
  5125. if ac_fn_c_try_compile "$LINENO"; then :
  5126. else
  5127. ac_c_werror_flag=$ac_save_c_werror_flag
  5128. CFLAGS="-g"
  5129. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5130. /* end confdefs.h. */
  5131. int
  5132. main ()
  5133. {
  5134. ;
  5135. return 0;
  5136. }
  5137. _ACEOF
  5138. if ac_fn_c_try_compile "$LINENO"; then :
  5139. ac_cv_prog_cc_g=yes
  5140. fi
  5141. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5142. fi
  5143. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5144. fi
  5145. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5146. ac_c_werror_flag=$ac_save_c_werror_flag
  5147. fi
  5148. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  5149. $as_echo "$ac_cv_prog_cc_g" >&6; }
  5150. if test "$ac_test_CFLAGS" = set; then
  5151. CFLAGS=$ac_save_CFLAGS
  5152. elif test $ac_cv_prog_cc_g = yes; then
  5153. if test "$GCC" = yes; then
  5154. CFLAGS="-g -O2"
  5155. else
  5156. CFLAGS="-g"
  5157. fi
  5158. else
  5159. if test "$GCC" = yes; then
  5160. CFLAGS="-O2"
  5161. else
  5162. CFLAGS=
  5163. fi
  5164. fi
  5165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  5166. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5167. if ${ac_cv_prog_cc_c89+:} false; then :
  5168. $as_echo_n "(cached) " >&6
  5169. else
  5170. ac_cv_prog_cc_c89=no
  5171. ac_save_CC=$CC
  5172. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5173. /* end confdefs.h. */
  5174. #include <stdarg.h>
  5175. #include <stdio.h>
  5176. struct stat;
  5177. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  5178. struct buf { int x; };
  5179. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5180. static char *e (p, i)
  5181. char **p;
  5182. int i;
  5183. {
  5184. return p[i];
  5185. }
  5186. static char *f (char * (*g) (char **, int), char **p, ...)
  5187. {
  5188. char *s;
  5189. va_list v;
  5190. va_start (v,p);
  5191. s = g (p, va_arg (v,int));
  5192. va_end (v);
  5193. return s;
  5194. }
  5195. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  5196. function prototypes and stuff, but not '\xHH' hex character constants.
  5197. These don't provoke an error unfortunately, instead are silently treated
  5198. as 'x'. The following induces an error, until -std is added to get
  5199. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  5200. array size at least. It's necessary to write '\x00'==0 to get something
  5201. that's true only with -std. */
  5202. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5203. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5204. inside strings and character constants. */
  5205. #define FOO(x) 'x'
  5206. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5207. int test (int i, double x);
  5208. struct s1 {int (*f) (int a);};
  5209. struct s2 {int (*f) (double a);};
  5210. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5211. int argc;
  5212. char **argv;
  5213. int
  5214. main ()
  5215. {
  5216. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  5217. ;
  5218. return 0;
  5219. }
  5220. _ACEOF
  5221. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5222. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5223. do
  5224. CC="$ac_save_CC $ac_arg"
  5225. if ac_fn_c_try_compile "$LINENO"; then :
  5226. ac_cv_prog_cc_c89=$ac_arg
  5227. fi
  5228. rm -f core conftest.err conftest.$ac_objext
  5229. test "x$ac_cv_prog_cc_c89" != "xno" && break
  5230. done
  5231. rm -f conftest.$ac_ext
  5232. CC=$ac_save_CC
  5233. fi
  5234. # AC_CACHE_VAL
  5235. case "x$ac_cv_prog_cc_c89" in
  5236. x)
  5237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5238. $as_echo "none needed" >&6; } ;;
  5239. xno)
  5240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5241. $as_echo "unsupported" >&6; } ;;
  5242. *)
  5243. CC="$CC $ac_cv_prog_cc_c89"
  5244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  5245. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5246. esac
  5247. if test "x$ac_cv_prog_cc_c89" != xno; then :
  5248. fi
  5249. ac_ext=c
  5250. ac_cpp='$CPP $CPPFLAGS'
  5251. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5252. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5253. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5254. ac_ext=c
  5255. ac_cpp='$CPP $CPPFLAGS'
  5256. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5257. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5258. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  5260. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  5261. if ${am_cv_prog_cc_c_o+:} false; then :
  5262. $as_echo_n "(cached) " >&6
  5263. else
  5264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5265. /* end confdefs.h. */
  5266. int
  5267. main ()
  5268. {
  5269. ;
  5270. return 0;
  5271. }
  5272. _ACEOF
  5273. # Make sure it works both with $CC and with simple cc.
  5274. # Following AC_PROG_CC_C_O, we do the test twice because some
  5275. # compilers refuse to overwrite an existing .o file with -o,
  5276. # though they will create one.
  5277. am_cv_prog_cc_c_o=yes
  5278. for am_i in 1 2; do
  5279. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  5280. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  5281. ac_status=$?
  5282. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5283. (exit $ac_status); } \
  5284. && test -f conftest2.$ac_objext; then
  5285. : OK
  5286. else
  5287. am_cv_prog_cc_c_o=no
  5288. break
  5289. fi
  5290. done
  5291. rm -f core conftest*
  5292. unset am_i
  5293. fi
  5294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  5295. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  5296. if test "$am_cv_prog_cc_c_o" != yes; then
  5297. # Losing compiler, so override with the script.
  5298. # FIXME: It is wrong to rewrite CC.
  5299. # But if we don't then we get into trouble of one sort or another.
  5300. # A longer-term fix would be to have automake use am__CC in this case,
  5301. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  5302. CC="$am_aux_dir/compile $CC"
  5303. fi
  5304. ac_ext=c
  5305. ac_cpp='$CPP $CPPFLAGS'
  5306. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5307. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5308. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5309. depcc="$CC" am_compiler_list=
  5310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  5311. $as_echo_n "checking dependency style of $depcc... " >&6; }
  5312. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  5313. $as_echo_n "(cached) " >&6
  5314. else
  5315. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5316. # We make a subdir and do the tests there. Otherwise we can end up
  5317. # making bogus files that we don't know about and never remove. For
  5318. # instance it was reported that on HP-UX the gcc test will end up
  5319. # making a dummy file named 'D' -- because '-MD' means "put the output
  5320. # in D".
  5321. rm -rf conftest.dir
  5322. mkdir conftest.dir
  5323. # Copy depcomp to subdir because otherwise we won't find it if we're
  5324. # using a relative directory.
  5325. cp "$am_depcomp" conftest.dir
  5326. cd conftest.dir
  5327. # We will build objects and dependencies in a subdirectory because
  5328. # it helps to detect inapplicable dependency modes. For instance
  5329. # both Tru64's cc and ICC support -MD to output dependencies as a
  5330. # side effect of compilation, but ICC will put the dependencies in
  5331. # the current directory while Tru64 will put them in the object
  5332. # directory.
  5333. mkdir sub
  5334. am_cv_CC_dependencies_compiler_type=none
  5335. if test "$am_compiler_list" = ""; then
  5336. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5337. fi
  5338. am__universal=false
  5339. case " $depcc " in #(
  5340. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  5341. esac
  5342. for depmode in $am_compiler_list; do
  5343. # Setup a source with many dependencies, because some compilers
  5344. # like to wrap large dependency lists on column 80 (with \), and
  5345. # we should not choose a depcomp mode which is confused by this.
  5346. #
  5347. # We need to recreate these files for each test, as the compiler may
  5348. # overwrite some of them when testing with obscure command lines.
  5349. # This happens at least with the AIX C compiler.
  5350. : > sub/conftest.c
  5351. for i in 1 2 3 4 5 6; do
  5352. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5353. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  5354. # Solaris 10 /bin/sh.
  5355. echo '/* dummy */' > sub/conftst$i.h
  5356. done
  5357. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5358. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  5359. # mode. It turns out that the SunPro C++ compiler does not properly
  5360. # handle '-M -o', and we need to detect this. Also, some Intel
  5361. # versions had trouble with output in subdirs.
  5362. am__obj=sub/conftest.${OBJEXT-o}
  5363. am__minus_obj="-o $am__obj"
  5364. case $depmode in
  5365. gcc)
  5366. # This depmode causes a compiler race in universal mode.
  5367. test "$am__universal" = false || continue
  5368. ;;
  5369. nosideeffect)
  5370. # After this tag, mechanisms are not by side-effect, so they'll
  5371. # only be used when explicitly requested.
  5372. if test "x$enable_dependency_tracking" = xyes; then
  5373. continue
  5374. else
  5375. break
  5376. fi
  5377. ;;
  5378. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  5379. # This compiler won't grok '-c -o', but also, the minuso test has
  5380. # not run yet. These depmodes are late enough in the game, and
  5381. # so weak that their functioning should not be impacted.
  5382. am__obj=conftest.${OBJEXT-o}
  5383. am__minus_obj=
  5384. ;;
  5385. none) break ;;
  5386. esac
  5387. if depmode=$depmode \
  5388. source=sub/conftest.c object=$am__obj \
  5389. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5390. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  5391. >/dev/null 2>conftest.err &&
  5392. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  5393. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5394. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  5395. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5396. # icc doesn't choke on unknown options, it will just issue warnings
  5397. # or remarks (even with -Werror). So we grep stderr for any message
  5398. # that says an option was ignored or not supported.
  5399. # When given -MP, icc 7.0 and 7.1 complain thusly:
  5400. # icc: Command line warning: ignoring option '-M'; no argument required
  5401. # The diagnosis changed in icc 8.0:
  5402. # icc: Command line remark: option '-MP' not supported
  5403. if (grep 'ignoring option' conftest.err ||
  5404. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5405. am_cv_CC_dependencies_compiler_type=$depmode
  5406. break
  5407. fi
  5408. fi
  5409. done
  5410. cd ..
  5411. rm -rf conftest.dir
  5412. else
  5413. am_cv_CC_dependencies_compiler_type=none
  5414. fi
  5415. fi
  5416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  5417. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5418. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5419. if
  5420. test "x$enable_dependency_tracking" != xno \
  5421. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5422. am__fastdepCC_TRUE=
  5423. am__fastdepCC_FALSE='#'
  5424. else
  5425. am__fastdepCC_TRUE='#'
  5426. am__fastdepCC_FALSE=
  5427. fi
  5428. # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
  5429. have_real_17=no
  5430. if test "x$GCC" = "xyes"; then
  5431. AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
  5432. ## We like to use C11 and C99 routines when available. This makes
  5433. ## sure that
  5434. ## __STDC_VERSION__ is set such that libc includes make them available.
  5435. AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
  5436. ## Compile the following tests with the same system header contents
  5437. ## that we'll encounter when compiling our own source files.
  5438. CFLAGS="-std=gnu11 $CFLAGS"
  5439. case x$target in
  5440. xpowerpc64le*-linux*)
  5441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5442. /* end confdefs.h. */
  5443. #if __SIZEOF_LONG_DOUBLE__ != 16
  5444. #error long double is double
  5445. #endif
  5446. int
  5447. main ()
  5448. {
  5449. (void) 0;
  5450. ;
  5451. return 0;
  5452. }
  5453. _ACEOF
  5454. if ac_fn_c_try_cpp "$LINENO"; then :
  5455. AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
  5456. AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
  5457. CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
  5458. have_real_17=yes
  5459. fi
  5460. rm -f conftest.err conftest.i conftest.$ac_ext
  5461. ;;
  5462. *)
  5463. ;;
  5464. esac
  5465. fi
  5466. if test "x$have_real_17" != xno; then
  5467. HAVE_REAL_17_TRUE=
  5468. HAVE_REAL_17_FALSE='#'
  5469. else
  5470. HAVE_REAL_17_TRUE='#'
  5471. HAVE_REAL_17_FALSE=
  5472. fi
  5473. # Add CET specific flags if CET is enabled
  5474. # Check whether --enable-cet was given.
  5475. if test "${enable_cet+set}" = set; then :
  5476. enableval=$enable_cet;
  5477. case "$enableval" in
  5478. yes|no|auto) ;;
  5479. *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
  5480. esac
  5481. else
  5482. enable_cet=auto
  5483. fi
  5484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
  5485. $as_echo_n "checking for CET support... " >&6; }
  5486. # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
  5487. case "$host" in
  5488. i[34567]86-*-linux* | x86_64-*-linux*)
  5489. case "$enable_cet" in
  5490. auto)
  5491. # Check if target supports multi-byte NOPs
  5492. # and if compiler and assembler support CET insn.
  5493. cet_save_CFLAGS="$CFLAGS"
  5494. CFLAGS="$CFLAGS -fcf-protection"
  5495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5496. /* end confdefs.h. */
  5497. int
  5498. main ()
  5499. {
  5500. #if !defined(__SSE2__)
  5501. #error target does not support multi-byte NOPs
  5502. #else
  5503. asm ("setssbsy");
  5504. #endif
  5505. ;
  5506. return 0;
  5507. }
  5508. _ACEOF
  5509. if ac_fn_c_try_compile "$LINENO"; then :
  5510. enable_cet=yes
  5511. else
  5512. enable_cet=no
  5513. fi
  5514. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5515. CFLAGS="$cet_save_CFLAGS"
  5516. ;;
  5517. yes)
  5518. # Check if assembler supports CET.
  5519. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5520. /* end confdefs.h. */
  5521. int
  5522. main ()
  5523. {
  5524. asm ("setssbsy");
  5525. ;
  5526. return 0;
  5527. }
  5528. _ACEOF
  5529. if ac_fn_c_try_compile "$LINENO"; then :
  5530. else
  5531. as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
  5532. fi
  5533. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5534. ;;
  5535. esac
  5536. ;;
  5537. *)
  5538. enable_cet=no
  5539. ;;
  5540. esac
  5541. if test x$enable_cet = xyes; then
  5542. CET_FLAGS="-fcf-protection -mshstk"
  5543. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5544. $as_echo "yes" >&6; }
  5545. else
  5546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5547. $as_echo "no" >&6; }
  5548. fi
  5549. AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
  5550. AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
  5551. CFLAGS="$CFLAGS $CET_FLAGS"
  5552. # Check for symbol versioning (copied from libssp).
  5553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
  5554. $as_echo_n "checking whether symbol versioning is supported... " >&6; }
  5555. # Check whether --enable-symvers was given.
  5556. if test "${enable_symvers+set}" = set; then :
  5557. enableval=$enable_symvers; gfortran_use_symver=$enableval
  5558. else
  5559. gfortran_use_symver=yes
  5560. fi
  5561. if test "x$gfortran_use_symver" != xno; then
  5562. save_LDFLAGS="$LDFLAGS"
  5563. LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
  5564. cat > conftest.map <<EOF
  5565. FOO_1.0 {
  5566. global: *foo*; bar; local: *;
  5567. };
  5568. EOF
  5569. if test x$gcc_no_link = xyes; then
  5570. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  5571. fi
  5572. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5573. /* end confdefs.h. */
  5574. int foo;
  5575. int
  5576. main ()
  5577. {
  5578. ;
  5579. return 0;
  5580. }
  5581. _ACEOF
  5582. if ac_fn_c_try_link "$LINENO"; then :
  5583. gfortran_use_symver=gnu
  5584. else
  5585. gfortran_use_symver=no
  5586. fi
  5587. rm -f core conftest.err conftest.$ac_objext \
  5588. conftest$ac_exeext conftest.$ac_ext
  5589. if test x$gfortran_use_symver = xno; then
  5590. case "$target_os" in
  5591. solaris2*)
  5592. LDFLAGS="$save_LDFLAGS"
  5593. LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
  5594. # Sun ld cannot handle wildcards and treats all entries as undefined.
  5595. cat > conftest.map <<EOF
  5596. FOO_1.0 {
  5597. global: foo; local: *;
  5598. };
  5599. EOF
  5600. if test x$gcc_no_link = xyes; then
  5601. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  5602. fi
  5603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5604. /* end confdefs.h. */
  5605. int foo;
  5606. int
  5607. main ()
  5608. {
  5609. ;
  5610. return 0;
  5611. }
  5612. _ACEOF
  5613. if ac_fn_c_try_link "$LINENO"; then :
  5614. gfortran_use_symver=sun
  5615. else
  5616. gfortran_use_symver=no
  5617. fi
  5618. rm -f core conftest.err conftest.$ac_objext \
  5619. conftest$ac_exeext conftest.$ac_ext
  5620. ;;
  5621. esac
  5622. fi
  5623. LDFLAGS="$save_LDFLAGS"
  5624. fi
  5625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
  5626. $as_echo "$gfortran_use_symver" >&6; }
  5627. if test "x$gfortran_use_symver" != xno; then
  5628. LIBGFOR_USE_SYMVER_TRUE=
  5629. LIBGFOR_USE_SYMVER_FALSE='#'
  5630. else
  5631. LIBGFOR_USE_SYMVER_TRUE='#'
  5632. LIBGFOR_USE_SYMVER_FALSE=
  5633. fi
  5634. if test "x$gfortran_use_symver" = xgnu; then
  5635. LIBGFOR_USE_SYMVER_GNU_TRUE=
  5636. LIBGFOR_USE_SYMVER_GNU_FALSE='#'
  5637. else
  5638. LIBGFOR_USE_SYMVER_GNU_TRUE='#'
  5639. LIBGFOR_USE_SYMVER_GNU_FALSE=
  5640. fi
  5641. if test "x$gfortran_use_symver" = xsun; then
  5642. LIBGFOR_USE_SYMVER_SUN_TRUE=
  5643. LIBGFOR_USE_SYMVER_SUN_FALSE='#'
  5644. else
  5645. LIBGFOR_USE_SYMVER_SUN_TRUE='#'
  5646. LIBGFOR_USE_SYMVER_SUN_FALSE=
  5647. fi
  5648. # For GPU offloading, not everything in libfortran can be supported.
  5649. # Currently, the only target that has this problem is nvptx. The
  5650. # following is a (partial) list of features that are unsupportable on
  5651. # this particular target:
  5652. # * Constructors
  5653. # * alloca
  5654. # * C library support for I/O, with printf as the one notable exception
  5655. # * C library support for other features such as signal, environment
  5656. # variables, time functions
  5657. if test "x${target_cpu}" = xnvptx; then
  5658. LIBGFOR_MINIMAL_TRUE=
  5659. LIBGFOR_MINIMAL_FALSE='#'
  5660. else
  5661. LIBGFOR_MINIMAL_TRUE='#'
  5662. LIBGFOR_MINIMAL_FALSE=
  5663. fi
  5664. # Some compiler target support may have limited support for integer
  5665. # or floating point numbers – or may want to reduce the libgfortran size
  5666. # although they do have the support.
  5667. LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
  5668. LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
  5669. # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
  5670. # similarly to how libstdc++ does it
  5671. ac_test_CFLAGS="${CFLAGS+set}"
  5672. ac_save_CFLAGS="$CFLAGS"
  5673. # Check for -ffunction-sections -fdata-sections
  5674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
  5675. $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
  5676. CFLAGS='-Werror -ffunction-sections -fdata-sections'
  5677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5678. /* end confdefs.h. */
  5679. int
  5680. main ()
  5681. {
  5682. int foo;
  5683. ;
  5684. return 0;
  5685. }
  5686. _ACEOF
  5687. if ac_fn_c_try_compile "$LINENO"; then :
  5688. ac_fdsections=yes
  5689. else
  5690. ac_fdsections=no
  5691. fi
  5692. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5693. if test "$ac_test_CFLAGS" = set; then
  5694. CFLAGS="$ac_save_CFLAGS"
  5695. else
  5696. # this is the suspicious part
  5697. CFLAGS=""
  5698. fi
  5699. if test x"$ac_fdsections" = x"yes"; then
  5700. SECTION_FLAGS='-ffunction-sections -fdata-sections'
  5701. fi
  5702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
  5703. $as_echo "$ac_fdsections" >&6; }
  5704. # Check linker hardware capability support.
  5705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  5706. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5707. if ${ac_cv_path_SED+:} false; then :
  5708. $as_echo_n "(cached) " >&6
  5709. else
  5710. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5711. for ac_i in 1 2 3 4 5 6 7; do
  5712. ac_script="$ac_script$as_nl$ac_script"
  5713. done
  5714. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5715. { ac_script=; unset ac_script;}
  5716. if test -z "$SED"; then
  5717. ac_path_SED_found=false
  5718. # Loop through the user's path and test for each of PROGNAME-LIST
  5719. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5720. for as_dir in $PATH
  5721. do
  5722. IFS=$as_save_IFS
  5723. test -z "$as_dir" && as_dir=.
  5724. for ac_prog in sed gsed; do
  5725. for ac_exec_ext in '' $ac_executable_extensions; do
  5726. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5727. as_fn_executable_p "$ac_path_SED" || continue
  5728. # Check for GNU ac_path_SED and select it if it is found.
  5729. # Check for GNU $ac_path_SED
  5730. case `"$ac_path_SED" --version 2>&1` in
  5731. *GNU*)
  5732. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5733. *)
  5734. ac_count=0
  5735. $as_echo_n 0123456789 >"conftest.in"
  5736. while :
  5737. do
  5738. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5739. mv "conftest.tmp" "conftest.in"
  5740. cp "conftest.in" "conftest.nl"
  5741. $as_echo '' >> "conftest.nl"
  5742. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5743. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5744. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5745. if test $ac_count -gt ${ac_path_SED_max-0}; then
  5746. # Best one so far, save it but keep looking for a better one
  5747. ac_cv_path_SED="$ac_path_SED"
  5748. ac_path_SED_max=$ac_count
  5749. fi
  5750. # 10*(2^10) chars as input seems more than enough
  5751. test $ac_count -gt 10 && break
  5752. done
  5753. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5754. esac
  5755. $ac_path_SED_found && break 3
  5756. done
  5757. done
  5758. done
  5759. IFS=$as_save_IFS
  5760. if test -z "$ac_cv_path_SED"; then
  5761. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  5762. fi
  5763. else
  5764. ac_cv_path_SED=$SED
  5765. fi
  5766. fi
  5767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  5768. $as_echo "$ac_cv_path_SED" >&6; }
  5769. SED="$ac_cv_path_SED"
  5770. rm -f conftest.sed
  5771. test -z "$SED" && SED=sed
  5772. Xsed="$SED -e 1s/^X//"
  5773. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5774. $as_echo_n "checking for fgrep... " >&6; }
  5775. if ${ac_cv_path_FGREP+:} false; then :
  5776. $as_echo_n "(cached) " >&6
  5777. else
  5778. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5779. then ac_cv_path_FGREP="$GREP -F"
  5780. else
  5781. if test -z "$FGREP"; then
  5782. ac_path_FGREP_found=false
  5783. # Loop through the user's path and test for each of PROGNAME-LIST
  5784. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5785. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5786. do
  5787. IFS=$as_save_IFS
  5788. test -z "$as_dir" && as_dir=.
  5789. for ac_prog in fgrep; do
  5790. for ac_exec_ext in '' $ac_executable_extensions; do
  5791. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5792. as_fn_executable_p "$ac_path_FGREP" || continue
  5793. # Check for GNU ac_path_FGREP and select it if it is found.
  5794. # Check for GNU $ac_path_FGREP
  5795. case `"$ac_path_FGREP" --version 2>&1` in
  5796. *GNU*)
  5797. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5798. *)
  5799. ac_count=0
  5800. $as_echo_n 0123456789 >"conftest.in"
  5801. while :
  5802. do
  5803. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5804. mv "conftest.tmp" "conftest.in"
  5805. cp "conftest.in" "conftest.nl"
  5806. $as_echo 'FGREP' >> "conftest.nl"
  5807. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5808. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5809. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5810. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5811. # Best one so far, save it but keep looking for a better one
  5812. ac_cv_path_FGREP="$ac_path_FGREP"
  5813. ac_path_FGREP_max=$ac_count
  5814. fi
  5815. # 10*(2^10) chars as input seems more than enough
  5816. test $ac_count -gt 10 && break
  5817. done
  5818. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5819. esac
  5820. $ac_path_FGREP_found && break 3
  5821. done
  5822. done
  5823. done
  5824. IFS=$as_save_IFS
  5825. if test -z "$ac_cv_path_FGREP"; then
  5826. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5827. fi
  5828. else
  5829. ac_cv_path_FGREP=$FGREP
  5830. fi
  5831. fi
  5832. fi
  5833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5834. $as_echo "$ac_cv_path_FGREP" >&6; }
  5835. FGREP="$ac_cv_path_FGREP"
  5836. test -z "$GREP" && GREP=grep
  5837. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5838. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5839. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5841. $as_echo_n "checking how to print strings... " >&6; }
  5842. # Test print first, because it will be a builtin if present.
  5843. if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  5844. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5845. ECHO='print -r --'
  5846. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5847. ECHO='printf %s\n'
  5848. else
  5849. # Use this function as a fallback that always works.
  5850. func_fallback_echo ()
  5851. {
  5852. eval 'cat <<_LTECHO_EOF
  5853. $1
  5854. _LTECHO_EOF'
  5855. }
  5856. ECHO='func_fallback_echo'
  5857. fi
  5858. # func_echo_all arg...
  5859. # Invoke $ECHO with all args, space-separated.
  5860. func_echo_all ()
  5861. {
  5862. $ECHO ""
  5863. }
  5864. case "$ECHO" in
  5865. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5866. $as_echo "printf" >&6; } ;;
  5867. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5868. $as_echo "print -r" >&6; } ;;
  5869. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5870. $as_echo "cat" >&6; } ;;
  5871. esac
  5872. # Check whether --with-gnu-ld was given.
  5873. if test "${with_gnu_ld+set}" = set; then :
  5874. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5875. else
  5876. with_gnu_ld=no
  5877. fi
  5878. ac_prog=ld
  5879. if test "$GCC" = yes; then
  5880. # Check if gcc -print-prog-name=ld gives a path.
  5881. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5882. $as_echo_n "checking for ld used by $CC... " >&6; }
  5883. case $host in
  5884. *-*-mingw*)
  5885. # gcc leaves a trailing carriage return which upsets mingw
  5886. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5887. *)
  5888. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5889. esac
  5890. case $ac_prog in
  5891. # Accept absolute paths.
  5892. [\\/]* | ?:[\\/]*)
  5893. re_direlt='/[^/][^/]*/\.\./'
  5894. # Canonicalize the pathname of ld
  5895. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5896. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5897. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5898. done
  5899. test -z "$LD" && LD="$ac_prog"
  5900. ;;
  5901. "")
  5902. # If it fails, then pretend we aren't using GCC.
  5903. ac_prog=ld
  5904. ;;
  5905. *)
  5906. # If it is relative, then search for the first ld in PATH.
  5907. with_gnu_ld=unknown
  5908. ;;
  5909. esac
  5910. elif test "$with_gnu_ld" = yes; then
  5911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5912. $as_echo_n "checking for GNU ld... " >&6; }
  5913. else
  5914. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5915. $as_echo_n "checking for non-GNU ld... " >&6; }
  5916. fi
  5917. if ${lt_cv_path_LD+:} false; then :
  5918. $as_echo_n "(cached) " >&6
  5919. else
  5920. if test -z "$LD"; then
  5921. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5922. for ac_dir in $PATH; do
  5923. IFS="$lt_save_ifs"
  5924. test -z "$ac_dir" && ac_dir=.
  5925. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5926. lt_cv_path_LD="$ac_dir/$ac_prog"
  5927. # Check to see if the program is GNU ld. I'd rather use --version,
  5928. # but apparently some variants of GNU ld only accept -v.
  5929. # Break only if it was the GNU/non-GNU ld that we prefer.
  5930. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5931. *GNU* | *'with BFD'*)
  5932. test "$with_gnu_ld" != no && break
  5933. ;;
  5934. *)
  5935. test "$with_gnu_ld" != yes && break
  5936. ;;
  5937. esac
  5938. fi
  5939. done
  5940. IFS="$lt_save_ifs"
  5941. else
  5942. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5943. fi
  5944. fi
  5945. LD="$lt_cv_path_LD"
  5946. if test -n "$LD"; then
  5947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5948. $as_echo "$LD" >&6; }
  5949. else
  5950. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5951. $as_echo "no" >&6; }
  5952. fi
  5953. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  5954. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5955. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5956. if ${lt_cv_prog_gnu_ld+:} false; then :
  5957. $as_echo_n "(cached) " >&6
  5958. else
  5959. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5960. case `$LD -v 2>&1 </dev/null` in
  5961. *GNU* | *'with BFD'*)
  5962. lt_cv_prog_gnu_ld=yes
  5963. ;;
  5964. *)
  5965. lt_cv_prog_gnu_ld=no
  5966. ;;
  5967. esac
  5968. fi
  5969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5970. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5971. with_gnu_ld=$lt_cv_prog_gnu_ld
  5972. test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
  5973. ac_save_LDFLAGS="$LDFLAGS"
  5974. LDFLAGS="$LFLAGS -mclear-hwcap"
  5975. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
  5976. $as_echo_n "checking for -mclear-hwcap... " >&6; }
  5977. if test x$gcc_no_link = xyes; then
  5978. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  5979. fi
  5980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5981. /* end confdefs.h. */
  5982. int
  5983. main ()
  5984. {
  5985. return 0;
  5986. ;
  5987. return 0;
  5988. }
  5989. _ACEOF
  5990. if ac_fn_c_try_link "$LINENO"; then :
  5991. ac_hwcap_ldflags=yes
  5992. else
  5993. ac_hwcap_ldflags=no
  5994. fi
  5995. rm -f core conftest.err conftest.$ac_objext \
  5996. conftest$ac_exeext conftest.$ac_ext
  5997. if test "$ac_hwcap_ldflags" = "yes"; then
  5998. HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
  5999. fi
  6000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
  6001. $as_echo "$ac_hwcap_ldflags" >&6; }
  6002. LDFLAGS="$ac_save_LDFLAGS"
  6003. if test $ac_hwcap_ldflags != no; then
  6004. HAVE_HWCAP_TRUE=
  6005. HAVE_HWCAP_FALSE='#'
  6006. else
  6007. HAVE_HWCAP_TRUE='#'
  6008. HAVE_HWCAP_FALSE=
  6009. fi
  6010. # Find other programs we need.
  6011. if test -n "$ac_tool_prefix"; then
  6012. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  6013. set dummy ${ac_tool_prefix}as; ac_word=$2
  6014. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6015. $as_echo_n "checking for $ac_word... " >&6; }
  6016. if ${ac_cv_prog_AS+:} false; then :
  6017. $as_echo_n "(cached) " >&6
  6018. else
  6019. if test -n "$AS"; then
  6020. ac_cv_prog_AS="$AS" # Let the user override the test.
  6021. else
  6022. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6023. for as_dir in $PATH
  6024. do
  6025. IFS=$as_save_IFS
  6026. test -z "$as_dir" && as_dir=.
  6027. for ac_exec_ext in '' $ac_executable_extensions; do
  6028. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6029. ac_cv_prog_AS="${ac_tool_prefix}as"
  6030. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6031. break 2
  6032. fi
  6033. done
  6034. done
  6035. IFS=$as_save_IFS
  6036. fi
  6037. fi
  6038. AS=$ac_cv_prog_AS
  6039. if test -n "$AS"; then
  6040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  6041. $as_echo "$AS" >&6; }
  6042. else
  6043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6044. $as_echo "no" >&6; }
  6045. fi
  6046. fi
  6047. if test -z "$ac_cv_prog_AS"; then
  6048. ac_ct_AS=$AS
  6049. # Extract the first word of "as", so it can be a program name with args.
  6050. set dummy as; ac_word=$2
  6051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6052. $as_echo_n "checking for $ac_word... " >&6; }
  6053. if ${ac_cv_prog_ac_ct_AS+:} false; then :
  6054. $as_echo_n "(cached) " >&6
  6055. else
  6056. if test -n "$ac_ct_AS"; then
  6057. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  6058. else
  6059. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6060. for as_dir in $PATH
  6061. do
  6062. IFS=$as_save_IFS
  6063. test -z "$as_dir" && as_dir=.
  6064. for ac_exec_ext in '' $ac_executable_extensions; do
  6065. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6066. ac_cv_prog_ac_ct_AS="as"
  6067. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6068. break 2
  6069. fi
  6070. done
  6071. done
  6072. IFS=$as_save_IFS
  6073. fi
  6074. fi
  6075. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  6076. if test -n "$ac_ct_AS"; then
  6077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  6078. $as_echo "$ac_ct_AS" >&6; }
  6079. else
  6080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6081. $as_echo "no" >&6; }
  6082. fi
  6083. if test "x$ac_ct_AS" = x; then
  6084. AS=""
  6085. else
  6086. case $cross_compiling:$ac_tool_warned in
  6087. yes:)
  6088. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6089. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6090. ac_tool_warned=yes ;;
  6091. esac
  6092. AS=$ac_ct_AS
  6093. fi
  6094. else
  6095. AS="$ac_cv_prog_AS"
  6096. fi
  6097. if test -n "$ac_tool_prefix"; then
  6098. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  6099. set dummy ${ac_tool_prefix}ar; ac_word=$2
  6100. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6101. $as_echo_n "checking for $ac_word... " >&6; }
  6102. if ${ac_cv_prog_AR+:} false; then :
  6103. $as_echo_n "(cached) " >&6
  6104. else
  6105. if test -n "$AR"; then
  6106. ac_cv_prog_AR="$AR" # Let the user override the test.
  6107. else
  6108. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6109. for as_dir in $PATH
  6110. do
  6111. IFS=$as_save_IFS
  6112. test -z "$as_dir" && as_dir=.
  6113. for ac_exec_ext in '' $ac_executable_extensions; do
  6114. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6115. ac_cv_prog_AR="${ac_tool_prefix}ar"
  6116. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6117. break 2
  6118. fi
  6119. done
  6120. done
  6121. IFS=$as_save_IFS
  6122. fi
  6123. fi
  6124. AR=$ac_cv_prog_AR
  6125. if test -n "$AR"; then
  6126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6127. $as_echo "$AR" >&6; }
  6128. else
  6129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6130. $as_echo "no" >&6; }
  6131. fi
  6132. fi
  6133. if test -z "$ac_cv_prog_AR"; then
  6134. ac_ct_AR=$AR
  6135. # Extract the first word of "ar", so it can be a program name with args.
  6136. set dummy ar; ac_word=$2
  6137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6138. $as_echo_n "checking for $ac_word... " >&6; }
  6139. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  6140. $as_echo_n "(cached) " >&6
  6141. else
  6142. if test -n "$ac_ct_AR"; then
  6143. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6144. else
  6145. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6146. for as_dir in $PATH
  6147. do
  6148. IFS=$as_save_IFS
  6149. test -z "$as_dir" && as_dir=.
  6150. for ac_exec_ext in '' $ac_executable_extensions; do
  6151. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6152. ac_cv_prog_ac_ct_AR="ar"
  6153. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6154. break 2
  6155. fi
  6156. done
  6157. done
  6158. IFS=$as_save_IFS
  6159. fi
  6160. fi
  6161. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6162. if test -n "$ac_ct_AR"; then
  6163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6164. $as_echo "$ac_ct_AR" >&6; }
  6165. else
  6166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6167. $as_echo "no" >&6; }
  6168. fi
  6169. if test "x$ac_ct_AR" = x; then
  6170. AR=""
  6171. else
  6172. case $cross_compiling:$ac_tool_warned in
  6173. yes:)
  6174. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6175. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6176. ac_tool_warned=yes ;;
  6177. esac
  6178. AR=$ac_ct_AR
  6179. fi
  6180. else
  6181. AR="$ac_cv_prog_AR"
  6182. fi
  6183. if test -n "$ac_tool_prefix"; then
  6184. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6185. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6186. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6187. $as_echo_n "checking for $ac_word... " >&6; }
  6188. if ${ac_cv_prog_RANLIB+:} false; then :
  6189. $as_echo_n "(cached) " >&6
  6190. else
  6191. if test -n "$RANLIB"; then
  6192. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6193. else
  6194. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6195. for as_dir in $PATH
  6196. do
  6197. IFS=$as_save_IFS
  6198. test -z "$as_dir" && as_dir=.
  6199. for ac_exec_ext in '' $ac_executable_extensions; do
  6200. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6201. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6202. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6203. break 2
  6204. fi
  6205. done
  6206. done
  6207. IFS=$as_save_IFS
  6208. fi
  6209. fi
  6210. RANLIB=$ac_cv_prog_RANLIB
  6211. if test -n "$RANLIB"; then
  6212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6213. $as_echo "$RANLIB" >&6; }
  6214. else
  6215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6216. $as_echo "no" >&6; }
  6217. fi
  6218. fi
  6219. if test -z "$ac_cv_prog_RANLIB"; then
  6220. ac_ct_RANLIB=$RANLIB
  6221. # Extract the first word of "ranlib", so it can be a program name with args.
  6222. set dummy ranlib; ac_word=$2
  6223. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6224. $as_echo_n "checking for $ac_word... " >&6; }
  6225. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6226. $as_echo_n "(cached) " >&6
  6227. else
  6228. if test -n "$ac_ct_RANLIB"; then
  6229. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6230. else
  6231. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6232. for as_dir in $PATH
  6233. do
  6234. IFS=$as_save_IFS
  6235. test -z "$as_dir" && as_dir=.
  6236. for ac_exec_ext in '' $ac_executable_extensions; do
  6237. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6238. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6239. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6240. break 2
  6241. fi
  6242. done
  6243. done
  6244. IFS=$as_save_IFS
  6245. fi
  6246. fi
  6247. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6248. if test -n "$ac_ct_RANLIB"; then
  6249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6250. $as_echo "$ac_ct_RANLIB" >&6; }
  6251. else
  6252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6253. $as_echo "no" >&6; }
  6254. fi
  6255. if test "x$ac_ct_RANLIB" = x; then
  6256. RANLIB="ranlib-not-found-in-path-error"
  6257. else
  6258. case $cross_compiling:$ac_tool_warned in
  6259. yes:)
  6260. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6261. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6262. ac_tool_warned=yes ;;
  6263. esac
  6264. RANLIB=$ac_ct_RANLIB
  6265. fi
  6266. else
  6267. RANLIB="$ac_cv_prog_RANLIB"
  6268. fi
  6269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  6270. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  6271. set x ${MAKE-make}
  6272. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  6273. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  6274. $as_echo_n "(cached) " >&6
  6275. else
  6276. cat >conftest.make <<\_ACEOF
  6277. SHELL = /bin/sh
  6278. all:
  6279. @echo '@@@%%%=$(MAKE)=@@@%%%'
  6280. _ACEOF
  6281. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  6282. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  6283. *@@@%%%=?*=@@@%%%*)
  6284. eval ac_cv_prog_make_${ac_make}_set=yes;;
  6285. *)
  6286. eval ac_cv_prog_make_${ac_make}_set=no;;
  6287. esac
  6288. rm -f conftest.make
  6289. fi
  6290. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  6291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6292. $as_echo "yes" >&6; }
  6293. SET_MAKE=
  6294. else
  6295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6296. $as_echo "no" >&6; }
  6297. SET_MAKE="MAKE=${MAKE-make}"
  6298. fi
  6299. # Configure libtool
  6300. #AC_MSG_NOTICE([====== Starting libtool configuration])
  6301. enable_dlopen=yes
  6302. case `pwd` in
  6303. *\ * | *\ *)
  6304. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  6305. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  6306. esac
  6307. macro_version='2.2.7a'
  6308. macro_revision='1.3134'
  6309. ltmain="$ac_aux_dir/ltmain.sh"
  6310. # Backslashify metacharacters that are still active within
  6311. # double-quoted strings.
  6312. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  6313. # Same as above, but do not quote variable references.
  6314. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  6315. # Sed substitution to delay expansion of an escaped shell variable in a
  6316. # double_quote_subst'ed string.
  6317. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  6318. # Sed substitution to delay expansion of an escaped single quote.
  6319. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  6320. # Sed substitution to avoid accidental globbing in evaled expressions
  6321. no_glob_subst='s/\*/\\\*/g'
  6322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  6323. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  6324. if ${lt_cv_path_NM+:} false; then :
  6325. $as_echo_n "(cached) " >&6
  6326. else
  6327. if test -n "$NM"; then
  6328. # Let the user override the test.
  6329. lt_cv_path_NM="$NM"
  6330. else
  6331. lt_nm_to_check="${ac_tool_prefix}nm"
  6332. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  6333. lt_nm_to_check="$lt_nm_to_check nm"
  6334. fi
  6335. for lt_tmp_nm in $lt_nm_to_check; do
  6336. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  6337. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  6338. IFS="$lt_save_ifs"
  6339. test -z "$ac_dir" && ac_dir=.
  6340. tmp_nm="$ac_dir/$lt_tmp_nm"
  6341. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  6342. # Check to see if the nm accepts a BSD-compat flag.
  6343. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  6344. # nm: unknown option "B" ignored
  6345. # Tru64's nm complains that /dev/null is an invalid object file
  6346. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  6347. */dev/null* | *'Invalid file or object type'*)
  6348. lt_cv_path_NM="$tmp_nm -B"
  6349. break
  6350. ;;
  6351. *)
  6352. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  6353. */dev/null*)
  6354. lt_cv_path_NM="$tmp_nm -p"
  6355. break
  6356. ;;
  6357. *)
  6358. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  6359. continue # so that we can try to find one that supports BSD flags
  6360. ;;
  6361. esac
  6362. ;;
  6363. esac
  6364. fi
  6365. done
  6366. IFS="$lt_save_ifs"
  6367. done
  6368. : ${lt_cv_path_NM=no}
  6369. fi
  6370. fi
  6371. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  6372. $as_echo "$lt_cv_path_NM" >&6; }
  6373. if test "$lt_cv_path_NM" != "no"; then
  6374. NM="$lt_cv_path_NM"
  6375. else
  6376. # Didn't find any BSD compatible name lister, look for dumpbin.
  6377. if test -n "$DUMPBIN"; then :
  6378. # Let the user override the test.
  6379. else
  6380. if test -n "$ac_tool_prefix"; then
  6381. for ac_prog in dumpbin "link -dump"
  6382. do
  6383. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6384. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6386. $as_echo_n "checking for $ac_word... " >&6; }
  6387. if ${ac_cv_prog_DUMPBIN+:} false; then :
  6388. $as_echo_n "(cached) " >&6
  6389. else
  6390. if test -n "$DUMPBIN"; then
  6391. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  6392. else
  6393. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6394. for as_dir in $PATH
  6395. do
  6396. IFS=$as_save_IFS
  6397. test -z "$as_dir" && as_dir=.
  6398. for ac_exec_ext in '' $ac_executable_extensions; do
  6399. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6400. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  6401. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6402. break 2
  6403. fi
  6404. done
  6405. done
  6406. IFS=$as_save_IFS
  6407. fi
  6408. fi
  6409. DUMPBIN=$ac_cv_prog_DUMPBIN
  6410. if test -n "$DUMPBIN"; then
  6411. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  6412. $as_echo "$DUMPBIN" >&6; }
  6413. else
  6414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6415. $as_echo "no" >&6; }
  6416. fi
  6417. test -n "$DUMPBIN" && break
  6418. done
  6419. fi
  6420. if test -z "$DUMPBIN"; then
  6421. ac_ct_DUMPBIN=$DUMPBIN
  6422. for ac_prog in dumpbin "link -dump"
  6423. do
  6424. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6425. set dummy $ac_prog; ac_word=$2
  6426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6427. $as_echo_n "checking for $ac_word... " >&6; }
  6428. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  6429. $as_echo_n "(cached) " >&6
  6430. else
  6431. if test -n "$ac_ct_DUMPBIN"; then
  6432. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  6433. else
  6434. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6435. for as_dir in $PATH
  6436. do
  6437. IFS=$as_save_IFS
  6438. test -z "$as_dir" && as_dir=.
  6439. for ac_exec_ext in '' $ac_executable_extensions; do
  6440. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6441. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  6442. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6443. break 2
  6444. fi
  6445. done
  6446. done
  6447. IFS=$as_save_IFS
  6448. fi
  6449. fi
  6450. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  6451. if test -n "$ac_ct_DUMPBIN"; then
  6452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  6453. $as_echo "$ac_ct_DUMPBIN" >&6; }
  6454. else
  6455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6456. $as_echo "no" >&6; }
  6457. fi
  6458. test -n "$ac_ct_DUMPBIN" && break
  6459. done
  6460. if test "x$ac_ct_DUMPBIN" = x; then
  6461. DUMPBIN=":"
  6462. else
  6463. case $cross_compiling:$ac_tool_warned in
  6464. yes:)
  6465. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6466. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6467. ac_tool_warned=yes ;;
  6468. esac
  6469. DUMPBIN=$ac_ct_DUMPBIN
  6470. fi
  6471. fi
  6472. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  6473. *COFF*)
  6474. DUMPBIN="$DUMPBIN -symbols"
  6475. ;;
  6476. *)
  6477. DUMPBIN=:
  6478. ;;
  6479. esac
  6480. fi
  6481. if test "$DUMPBIN" != ":"; then
  6482. NM="$DUMPBIN"
  6483. fi
  6484. fi
  6485. test -z "$NM" && NM=nm
  6486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  6487. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  6488. if ${lt_cv_nm_interface+:} false; then :
  6489. $as_echo_n "(cached) " >&6
  6490. else
  6491. lt_cv_nm_interface="BSD nm"
  6492. echo "int some_variable = 0;" > conftest.$ac_ext
  6493. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  6494. (eval "$ac_compile" 2>conftest.err)
  6495. cat conftest.err >&5
  6496. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  6497. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  6498. cat conftest.err >&5
  6499. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  6500. cat conftest.out >&5
  6501. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  6502. lt_cv_nm_interface="MS dumpbin"
  6503. fi
  6504. rm -f conftest*
  6505. fi
  6506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  6507. $as_echo "$lt_cv_nm_interface" >&6; }
  6508. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  6509. $as_echo_n "checking whether ln -s works... " >&6; }
  6510. LN_S=$as_ln_s
  6511. if test "$LN_S" = "ln -s"; then
  6512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6513. $as_echo "yes" >&6; }
  6514. else
  6515. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  6516. $as_echo "no, using $LN_S" >&6; }
  6517. fi
  6518. # find the maximum length of command line arguments
  6519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  6520. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  6521. if ${lt_cv_sys_max_cmd_len+:} false; then :
  6522. $as_echo_n "(cached) " >&6
  6523. else
  6524. i=0
  6525. teststring="ABCD"
  6526. case $build_os in
  6527. msdosdjgpp*)
  6528. # On DJGPP, this test can blow up pretty badly due to problems in libc
  6529. # (any single argument exceeding 2000 bytes causes a buffer overrun
  6530. # during glob expansion). Even if it were fixed, the result of this
  6531. # check would be larger than it should be.
  6532. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  6533. ;;
  6534. gnu*)
  6535. # Under GNU Hurd, this test is not required because there is
  6536. # no limit to the length of command line arguments.
  6537. # Libtool will interpret -1 as no limit whatsoever
  6538. lt_cv_sys_max_cmd_len=-1;
  6539. ;;
  6540. cygwin* | mingw* | cegcc*)
  6541. # On Win9x/ME, this test blows up -- it succeeds, but takes
  6542. # about 5 minutes as the teststring grows exponentially.
  6543. # Worse, since 9x/ME are not pre-emptively multitasking,
  6544. # you end up with a "frozen" computer, even though with patience
  6545. # the test eventually succeeds (with a max line length of 256k).
  6546. # Instead, let's just punt: use the minimum linelength reported by
  6547. # all of the supported platforms: 8192 (on NT/2K/XP).
  6548. lt_cv_sys_max_cmd_len=8192;
  6549. ;;
  6550. mint*)
  6551. # On MiNT this can take a long time and run out of memory.
  6552. lt_cv_sys_max_cmd_len=8192;
  6553. ;;
  6554. amigaos*)
  6555. # On AmigaOS with pdksh, this test takes hours, literally.
  6556. # So we just punt and use a minimum line length of 8192.
  6557. lt_cv_sys_max_cmd_len=8192;
  6558. ;;
  6559. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  6560. # This has been around since 386BSD, at least. Likely further.
  6561. if test -x /sbin/sysctl; then
  6562. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  6563. elif test -x /usr/sbin/sysctl; then
  6564. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  6565. else
  6566. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  6567. fi
  6568. # And add a safety zone
  6569. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6570. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6571. ;;
  6572. interix*)
  6573. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  6574. lt_cv_sys_max_cmd_len=196608
  6575. ;;
  6576. osf*)
  6577. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  6578. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  6579. # nice to cause kernel panics so lets avoid the loop below.
  6580. # First set a reasonable default.
  6581. lt_cv_sys_max_cmd_len=16384
  6582. #
  6583. if test -x /sbin/sysconfig; then
  6584. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  6585. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  6586. esac
  6587. fi
  6588. ;;
  6589. sco3.2v5*)
  6590. lt_cv_sys_max_cmd_len=102400
  6591. ;;
  6592. sysv5* | sco5v6* | sysv4.2uw2*)
  6593. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  6594. if test -n "$kargmax"; then
  6595. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  6596. else
  6597. lt_cv_sys_max_cmd_len=32768
  6598. fi
  6599. ;;
  6600. *)
  6601. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  6602. if test -n "$lt_cv_sys_max_cmd_len"; then
  6603. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6604. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6605. else
  6606. # Make teststring a little bigger before we do anything with it.
  6607. # a 1K string should be a reasonable start.
  6608. for i in 1 2 3 4 5 6 7 8 ; do
  6609. teststring=$teststring$teststring
  6610. done
  6611. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  6612. # If test is not a shell built-in, we'll probably end up computing a
  6613. # maximum length that is only half of the actual maximum length, but
  6614. # we can't tell.
  6615. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  6616. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  6617. test $i != 17 # 1/2 MB should be enough
  6618. do
  6619. i=`expr $i + 1`
  6620. teststring=$teststring$teststring
  6621. done
  6622. # Only check the string length outside the loop.
  6623. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  6624. teststring=
  6625. # Add a significant safety factor because C++ compilers can tack on
  6626. # massive amounts of additional arguments before passing them to the
  6627. # linker. It appears as though 1/2 is a usable value.
  6628. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  6629. fi
  6630. ;;
  6631. esac
  6632. fi
  6633. if test -n $lt_cv_sys_max_cmd_len ; then
  6634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  6635. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  6636. else
  6637. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  6638. $as_echo "none" >&6; }
  6639. fi
  6640. max_cmd_len=$lt_cv_sys_max_cmd_len
  6641. : ${CP="cp -f"}
  6642. : ${MV="mv -f"}
  6643. : ${RM="rm -f"}
  6644. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  6645. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  6646. # Try some XSI features
  6647. xsi_shell=no
  6648. ( _lt_dummy="a/b/c"
  6649. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  6650. = c,a/b,, \
  6651. && eval 'test $(( 1 + 1 )) -eq 2 \
  6652. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  6653. && xsi_shell=yes
  6654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  6655. $as_echo "$xsi_shell" >&6; }
  6656. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  6657. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  6658. lt_shell_append=no
  6659. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  6660. >/dev/null 2>&1 \
  6661. && lt_shell_append=yes
  6662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  6663. $as_echo "$lt_shell_append" >&6; }
  6664. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6665. lt_unset=unset
  6666. else
  6667. lt_unset=false
  6668. fi
  6669. # test EBCDIC or ASCII
  6670. case `echo X|tr X '\101'` in
  6671. A) # ASCII based system
  6672. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  6673. lt_SP2NL='tr \040 \012'
  6674. lt_NL2SP='tr \015\012 \040\040'
  6675. ;;
  6676. *) # EBCDIC based system
  6677. lt_SP2NL='tr \100 \n'
  6678. lt_NL2SP='tr \r\n \100\100'
  6679. ;;
  6680. esac
  6681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  6682. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  6683. if ${lt_cv_ld_reload_flag+:} false; then :
  6684. $as_echo_n "(cached) " >&6
  6685. else
  6686. lt_cv_ld_reload_flag='-r'
  6687. fi
  6688. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  6689. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  6690. reload_flag=$lt_cv_ld_reload_flag
  6691. case $reload_flag in
  6692. "" | " "*) ;;
  6693. *) reload_flag=" $reload_flag" ;;
  6694. esac
  6695. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6696. case $host_os in
  6697. darwin*)
  6698. if test "$GCC" = yes; then
  6699. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  6700. else
  6701. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6702. fi
  6703. ;;
  6704. esac
  6705. if test -n "$ac_tool_prefix"; then
  6706. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6707. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6709. $as_echo_n "checking for $ac_word... " >&6; }
  6710. if ${ac_cv_prog_OBJDUMP+:} false; then :
  6711. $as_echo_n "(cached) " >&6
  6712. else
  6713. if test -n "$OBJDUMP"; then
  6714. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6715. else
  6716. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6717. for as_dir in $PATH
  6718. do
  6719. IFS=$as_save_IFS
  6720. test -z "$as_dir" && as_dir=.
  6721. for ac_exec_ext in '' $ac_executable_extensions; do
  6722. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6723. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6724. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6725. break 2
  6726. fi
  6727. done
  6728. done
  6729. IFS=$as_save_IFS
  6730. fi
  6731. fi
  6732. OBJDUMP=$ac_cv_prog_OBJDUMP
  6733. if test -n "$OBJDUMP"; then
  6734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6735. $as_echo "$OBJDUMP" >&6; }
  6736. else
  6737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6738. $as_echo "no" >&6; }
  6739. fi
  6740. fi
  6741. if test -z "$ac_cv_prog_OBJDUMP"; then
  6742. ac_ct_OBJDUMP=$OBJDUMP
  6743. # Extract the first word of "objdump", so it can be a program name with args.
  6744. set dummy objdump; ac_word=$2
  6745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6746. $as_echo_n "checking for $ac_word... " >&6; }
  6747. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  6748. $as_echo_n "(cached) " >&6
  6749. else
  6750. if test -n "$ac_ct_OBJDUMP"; then
  6751. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6752. else
  6753. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6754. for as_dir in $PATH
  6755. do
  6756. IFS=$as_save_IFS
  6757. test -z "$as_dir" && as_dir=.
  6758. for ac_exec_ext in '' $ac_executable_extensions; do
  6759. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6760. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6761. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6762. break 2
  6763. fi
  6764. done
  6765. done
  6766. IFS=$as_save_IFS
  6767. fi
  6768. fi
  6769. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6770. if test -n "$ac_ct_OBJDUMP"; then
  6771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6772. $as_echo "$ac_ct_OBJDUMP" >&6; }
  6773. else
  6774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6775. $as_echo "no" >&6; }
  6776. fi
  6777. if test "x$ac_ct_OBJDUMP" = x; then
  6778. OBJDUMP="false"
  6779. else
  6780. case $cross_compiling:$ac_tool_warned in
  6781. yes:)
  6782. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6783. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6784. ac_tool_warned=yes ;;
  6785. esac
  6786. OBJDUMP=$ac_ct_OBJDUMP
  6787. fi
  6788. else
  6789. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6790. fi
  6791. test -z "$OBJDUMP" && OBJDUMP=objdump
  6792. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6793. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6794. if ${lt_cv_deplibs_check_method+:} false; then :
  6795. $as_echo_n "(cached) " >&6
  6796. else
  6797. lt_cv_file_magic_cmd='$MAGIC_CMD'
  6798. lt_cv_file_magic_test_file=
  6799. lt_cv_deplibs_check_method='unknown'
  6800. # Need to set the preceding variable on all platforms that support
  6801. # interlibrary dependencies.
  6802. # 'none' -- dependencies not supported.
  6803. # `unknown' -- same as none, but documents that we really don't know.
  6804. # 'pass_all' -- all dependencies passed with no checks.
  6805. # 'test_compile' -- check by making test program.
  6806. # 'file_magic [[regex]]' -- check by looking for files in library path
  6807. # which responds to the $file_magic_cmd with a given extended regex.
  6808. # If you have `file' or equivalent on your system and you're not sure
  6809. # whether `pass_all' will *always* work, you probably want this one.
  6810. case $host_os in
  6811. aix[4-9]*)
  6812. lt_cv_deplibs_check_method=pass_all
  6813. ;;
  6814. beos*)
  6815. lt_cv_deplibs_check_method=pass_all
  6816. ;;
  6817. bsdi[45]*)
  6818. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6819. lt_cv_file_magic_cmd='/usr/bin/file -L'
  6820. lt_cv_file_magic_test_file=/shlib/libc.so
  6821. ;;
  6822. cygwin*)
  6823. # func_win32_libid is a shell function defined in ltmain.sh
  6824. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6825. lt_cv_file_magic_cmd='func_win32_libid'
  6826. ;;
  6827. mingw* | pw32*)
  6828. # Base MSYS/MinGW do not provide the 'file' command needed by
  6829. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6830. # unless we find 'file', for example because we are cross-compiling.
  6831. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  6832. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  6833. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6834. lt_cv_file_magic_cmd='func_win32_libid'
  6835. else
  6836. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  6837. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6838. fi
  6839. ;;
  6840. cegcc*)
  6841. # use the weaker test based on 'objdump'. See mingw*.
  6842. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6843. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6844. ;;
  6845. darwin* | rhapsody*)
  6846. lt_cv_deplibs_check_method=pass_all
  6847. ;;
  6848. freebsd* | dragonfly*)
  6849. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6850. case $host_cpu in
  6851. i*86 )
  6852. # Not sure whether the presence of OpenBSD here was a mistake.
  6853. # Let's accept both of them until this is cleared up.
  6854. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6855. lt_cv_file_magic_cmd=/usr/bin/file
  6856. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6857. ;;
  6858. esac
  6859. else
  6860. lt_cv_deplibs_check_method=pass_all
  6861. fi
  6862. ;;
  6863. gnu*)
  6864. lt_cv_deplibs_check_method=pass_all
  6865. ;;
  6866. haiku*)
  6867. lt_cv_deplibs_check_method=pass_all
  6868. ;;
  6869. hpux10.20* | hpux11*)
  6870. lt_cv_file_magic_cmd=/usr/bin/file
  6871. case $host_cpu in
  6872. ia64*)
  6873. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6874. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6875. ;;
  6876. hppa*64*)
  6877. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  6878. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6879. ;;
  6880. *)
  6881. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6882. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6883. ;;
  6884. esac
  6885. ;;
  6886. interix[3-9]*)
  6887. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6888. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6889. ;;
  6890. irix5* | irix6* | nonstopux*)
  6891. case $LD in
  6892. *-32|*"-32 ") libmagic=32-bit;;
  6893. *-n32|*"-n32 ") libmagic=N32;;
  6894. *-64|*"-64 ") libmagic=64-bit;;
  6895. *) libmagic=never-match;;
  6896. esac
  6897. lt_cv_deplibs_check_method=pass_all
  6898. ;;
  6899. # This must be Linux ELF.
  6900. linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
  6901. lt_cv_deplibs_check_method=pass_all
  6902. ;;
  6903. netbsd*)
  6904. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6905. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6906. else
  6907. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6908. fi
  6909. ;;
  6910. newos6*)
  6911. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6912. lt_cv_file_magic_cmd=/usr/bin/file
  6913. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6914. ;;
  6915. *nto* | *qnx*)
  6916. lt_cv_deplibs_check_method=pass_all
  6917. ;;
  6918. openbsd*)
  6919. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6920. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6921. else
  6922. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6923. fi
  6924. ;;
  6925. osf3* | osf4* | osf5*)
  6926. lt_cv_deplibs_check_method=pass_all
  6927. ;;
  6928. rdos*)
  6929. lt_cv_deplibs_check_method=pass_all
  6930. ;;
  6931. solaris*)
  6932. lt_cv_deplibs_check_method=pass_all
  6933. ;;
  6934. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6935. lt_cv_deplibs_check_method=pass_all
  6936. ;;
  6937. sysv4 | sysv4.3*)
  6938. case $host_vendor in
  6939. motorola)
  6940. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  6941. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6942. ;;
  6943. ncr)
  6944. lt_cv_deplibs_check_method=pass_all
  6945. ;;
  6946. sequent)
  6947. lt_cv_file_magic_cmd='/bin/file'
  6948. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6949. ;;
  6950. sni)
  6951. lt_cv_file_magic_cmd='/bin/file'
  6952. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6953. lt_cv_file_magic_test_file=/lib/libc.so
  6954. ;;
  6955. siemens)
  6956. lt_cv_deplibs_check_method=pass_all
  6957. ;;
  6958. pc)
  6959. lt_cv_deplibs_check_method=pass_all
  6960. ;;
  6961. esac
  6962. ;;
  6963. tpf*)
  6964. lt_cv_deplibs_check_method=pass_all
  6965. ;;
  6966. esac
  6967. fi
  6968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6969. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  6970. file_magic_cmd=$lt_cv_file_magic_cmd
  6971. deplibs_check_method=$lt_cv_deplibs_check_method
  6972. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6973. if test -n "$ac_tool_prefix"; then
  6974. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  6975. set dummy ${ac_tool_prefix}ar; ac_word=$2
  6976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6977. $as_echo_n "checking for $ac_word... " >&6; }
  6978. if ${ac_cv_prog_AR+:} false; then :
  6979. $as_echo_n "(cached) " >&6
  6980. else
  6981. if test -n "$AR"; then
  6982. ac_cv_prog_AR="$AR" # Let the user override the test.
  6983. else
  6984. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6985. for as_dir in $PATH
  6986. do
  6987. IFS=$as_save_IFS
  6988. test -z "$as_dir" && as_dir=.
  6989. for ac_exec_ext in '' $ac_executable_extensions; do
  6990. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6991. ac_cv_prog_AR="${ac_tool_prefix}ar"
  6992. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6993. break 2
  6994. fi
  6995. done
  6996. done
  6997. IFS=$as_save_IFS
  6998. fi
  6999. fi
  7000. AR=$ac_cv_prog_AR
  7001. if test -n "$AR"; then
  7002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  7003. $as_echo "$AR" >&6; }
  7004. else
  7005. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7006. $as_echo "no" >&6; }
  7007. fi
  7008. fi
  7009. if test -z "$ac_cv_prog_AR"; then
  7010. ac_ct_AR=$AR
  7011. # Extract the first word of "ar", so it can be a program name with args.
  7012. set dummy ar; ac_word=$2
  7013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7014. $as_echo_n "checking for $ac_word... " >&6; }
  7015. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  7016. $as_echo_n "(cached) " >&6
  7017. else
  7018. if test -n "$ac_ct_AR"; then
  7019. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  7020. else
  7021. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7022. for as_dir in $PATH
  7023. do
  7024. IFS=$as_save_IFS
  7025. test -z "$as_dir" && as_dir=.
  7026. for ac_exec_ext in '' $ac_executable_extensions; do
  7027. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7028. ac_cv_prog_ac_ct_AR="ar"
  7029. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7030. break 2
  7031. fi
  7032. done
  7033. done
  7034. IFS=$as_save_IFS
  7035. fi
  7036. fi
  7037. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  7038. if test -n "$ac_ct_AR"; then
  7039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  7040. $as_echo "$ac_ct_AR" >&6; }
  7041. else
  7042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7043. $as_echo "no" >&6; }
  7044. fi
  7045. if test "x$ac_ct_AR" = x; then
  7046. AR="false"
  7047. else
  7048. case $cross_compiling:$ac_tool_warned in
  7049. yes:)
  7050. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7051. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7052. ac_tool_warned=yes ;;
  7053. esac
  7054. AR=$ac_ct_AR
  7055. fi
  7056. else
  7057. AR="$ac_cv_prog_AR"
  7058. fi
  7059. test -z "$AR" && AR=ar
  7060. test -z "$AR_FLAGS" && AR_FLAGS=cru
  7061. if test -n "$ac_tool_prefix"; then
  7062. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  7063. set dummy ${ac_tool_prefix}strip; ac_word=$2
  7064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7065. $as_echo_n "checking for $ac_word... " >&6; }
  7066. if ${ac_cv_prog_STRIP+:} false; then :
  7067. $as_echo_n "(cached) " >&6
  7068. else
  7069. if test -n "$STRIP"; then
  7070. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  7071. else
  7072. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7073. for as_dir in $PATH
  7074. do
  7075. IFS=$as_save_IFS
  7076. test -z "$as_dir" && as_dir=.
  7077. for ac_exec_ext in '' $ac_executable_extensions; do
  7078. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7079. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  7080. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7081. break 2
  7082. fi
  7083. done
  7084. done
  7085. IFS=$as_save_IFS
  7086. fi
  7087. fi
  7088. STRIP=$ac_cv_prog_STRIP
  7089. if test -n "$STRIP"; then
  7090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  7091. $as_echo "$STRIP" >&6; }
  7092. else
  7093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7094. $as_echo "no" >&6; }
  7095. fi
  7096. fi
  7097. if test -z "$ac_cv_prog_STRIP"; then
  7098. ac_ct_STRIP=$STRIP
  7099. # Extract the first word of "strip", so it can be a program name with args.
  7100. set dummy strip; ac_word=$2
  7101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7102. $as_echo_n "checking for $ac_word... " >&6; }
  7103. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  7104. $as_echo_n "(cached) " >&6
  7105. else
  7106. if test -n "$ac_ct_STRIP"; then
  7107. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  7108. else
  7109. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7110. for as_dir in $PATH
  7111. do
  7112. IFS=$as_save_IFS
  7113. test -z "$as_dir" && as_dir=.
  7114. for ac_exec_ext in '' $ac_executable_extensions; do
  7115. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7116. ac_cv_prog_ac_ct_STRIP="strip"
  7117. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7118. break 2
  7119. fi
  7120. done
  7121. done
  7122. IFS=$as_save_IFS
  7123. fi
  7124. fi
  7125. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  7126. if test -n "$ac_ct_STRIP"; then
  7127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  7128. $as_echo "$ac_ct_STRIP" >&6; }
  7129. else
  7130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7131. $as_echo "no" >&6; }
  7132. fi
  7133. if test "x$ac_ct_STRIP" = x; then
  7134. STRIP=":"
  7135. else
  7136. case $cross_compiling:$ac_tool_warned in
  7137. yes:)
  7138. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7139. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7140. ac_tool_warned=yes ;;
  7141. esac
  7142. STRIP=$ac_ct_STRIP
  7143. fi
  7144. else
  7145. STRIP="$ac_cv_prog_STRIP"
  7146. fi
  7147. test -z "$STRIP" && STRIP=:
  7148. if test -n "$ac_tool_prefix"; then
  7149. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  7150. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  7151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7152. $as_echo_n "checking for $ac_word... " >&6; }
  7153. if ${ac_cv_prog_RANLIB+:} false; then :
  7154. $as_echo_n "(cached) " >&6
  7155. else
  7156. if test -n "$RANLIB"; then
  7157. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  7158. else
  7159. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7160. for as_dir in $PATH
  7161. do
  7162. IFS=$as_save_IFS
  7163. test -z "$as_dir" && as_dir=.
  7164. for ac_exec_ext in '' $ac_executable_extensions; do
  7165. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7166. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  7167. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7168. break 2
  7169. fi
  7170. done
  7171. done
  7172. IFS=$as_save_IFS
  7173. fi
  7174. fi
  7175. RANLIB=$ac_cv_prog_RANLIB
  7176. if test -n "$RANLIB"; then
  7177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  7178. $as_echo "$RANLIB" >&6; }
  7179. else
  7180. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7181. $as_echo "no" >&6; }
  7182. fi
  7183. fi
  7184. if test -z "$ac_cv_prog_RANLIB"; then
  7185. ac_ct_RANLIB=$RANLIB
  7186. # Extract the first word of "ranlib", so it can be a program name with args.
  7187. set dummy ranlib; ac_word=$2
  7188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7189. $as_echo_n "checking for $ac_word... " >&6; }
  7190. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  7191. $as_echo_n "(cached) " >&6
  7192. else
  7193. if test -n "$ac_ct_RANLIB"; then
  7194. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  7195. else
  7196. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7197. for as_dir in $PATH
  7198. do
  7199. IFS=$as_save_IFS
  7200. test -z "$as_dir" && as_dir=.
  7201. for ac_exec_ext in '' $ac_executable_extensions; do
  7202. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7203. ac_cv_prog_ac_ct_RANLIB="ranlib"
  7204. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7205. break 2
  7206. fi
  7207. done
  7208. done
  7209. IFS=$as_save_IFS
  7210. fi
  7211. fi
  7212. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  7213. if test -n "$ac_ct_RANLIB"; then
  7214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  7215. $as_echo "$ac_ct_RANLIB" >&6; }
  7216. else
  7217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7218. $as_echo "no" >&6; }
  7219. fi
  7220. if test "x$ac_ct_RANLIB" = x; then
  7221. RANLIB=":"
  7222. else
  7223. case $cross_compiling:$ac_tool_warned in
  7224. yes:)
  7225. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7226. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7227. ac_tool_warned=yes ;;
  7228. esac
  7229. RANLIB=$ac_ct_RANLIB
  7230. fi
  7231. else
  7232. RANLIB="$ac_cv_prog_RANLIB"
  7233. fi
  7234. test -z "$RANLIB" && RANLIB=:
  7235. # Determine commands to create old-style static archives.
  7236. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  7237. old_postinstall_cmds='chmod 644 $oldlib'
  7238. old_postuninstall_cmds=
  7239. if test -n "$RANLIB"; then
  7240. case $host_os in
  7241. openbsd*)
  7242. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  7243. ;;
  7244. *)
  7245. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  7246. ;;
  7247. esac
  7248. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  7249. fi
  7250. case $host_os in
  7251. darwin*)
  7252. lock_old_archive_extraction=yes ;;
  7253. *)
  7254. lock_old_archive_extraction=no ;;
  7255. esac
  7256. # If no C compiler was specified, use CC.
  7257. LTCC=${LTCC-"$CC"}
  7258. # If no C compiler flags were specified, use CFLAGS.
  7259. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7260. # Allow CC to be a program name with arguments.
  7261. compiler=$CC
  7262. # Check for command to grab the raw symbol name followed by C symbol from nm.
  7263. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  7264. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  7265. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  7266. $as_echo_n "(cached) " >&6
  7267. else
  7268. # These are sane defaults that work on at least a few old systems.
  7269. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  7270. # Character class describing NM global symbol codes.
  7271. symcode='[BCDEGRST]'
  7272. # Regexp to match symbols that can be accessed directly from C.
  7273. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  7274. # Define system-specific variables.
  7275. case $host_os in
  7276. aix*)
  7277. symcode='[BCDT]'
  7278. ;;
  7279. cygwin* | mingw* | pw32* | cegcc*)
  7280. symcode='[ABCDGISTW]'
  7281. ;;
  7282. hpux*)
  7283. if test "$host_cpu" = ia64; then
  7284. symcode='[ABCDEGRST]'
  7285. fi
  7286. ;;
  7287. irix* | nonstopux*)
  7288. symcode='[BCDEGRST]'
  7289. ;;
  7290. osf*)
  7291. symcode='[BCDEGQRST]'
  7292. ;;
  7293. solaris*)
  7294. symcode='[BDRT]'
  7295. ;;
  7296. sco3.2v5*)
  7297. symcode='[DT]'
  7298. ;;
  7299. sysv4.2uw2*)
  7300. symcode='[DT]'
  7301. ;;
  7302. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  7303. symcode='[ABDT]'
  7304. ;;
  7305. sysv4)
  7306. symcode='[DFNSTU]'
  7307. ;;
  7308. esac
  7309. # If we're using GNU nm, then use its standard symbol codes.
  7310. case `$NM -V 2>&1` in
  7311. *GNU* | *'with BFD'*)
  7312. symcode='[ABCDGIRSTW]' ;;
  7313. esac
  7314. # Transform an extracted symbol line into a proper C declaration.
  7315. # Some systems (esp. on ia64) link data and code symbols differently,
  7316. # so use this general approach.
  7317. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  7318. # Transform an extracted symbol line into symbol name and symbol address
  7319. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  7320. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  7321. # Handle CRLF in mingw tool chain
  7322. opt_cr=
  7323. case $build_os in
  7324. mingw*)
  7325. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  7326. ;;
  7327. esac
  7328. # Try without a prefix underscore, then with it.
  7329. for ac_symprfx in "" "_"; do
  7330. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  7331. symxfrm="\\1 $ac_symprfx\\2 \\2"
  7332. # Write the raw and C identifiers.
  7333. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  7334. # Fake it for dumpbin and say T for any non-static function
  7335. # and D for any global variable.
  7336. # Also find C++ and __fastcall symbols from MSVC++,
  7337. # which start with @ or ?.
  7338. lt_cv_sys_global_symbol_pipe="$AWK '"\
  7339. " {last_section=section; section=\$ 3};"\
  7340. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  7341. " \$ 0!~/External *\|/{next};"\
  7342. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  7343. " {if(hide[section]) next};"\
  7344. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  7345. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  7346. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  7347. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  7348. " ' prfx=^$ac_symprfx"
  7349. else
  7350. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  7351. fi
  7352. # Check to see that the pipe works correctly.
  7353. pipe_works=no
  7354. rm -f conftest*
  7355. cat > conftest.$ac_ext <<_LT_EOF
  7356. #ifdef __cplusplus
  7357. extern "C" {
  7358. #endif
  7359. char nm_test_var;
  7360. void nm_test_func(void);
  7361. void nm_test_func(void){}
  7362. #ifdef __cplusplus
  7363. }
  7364. #endif
  7365. int main(){nm_test_var='a';nm_test_func();return(0);}
  7366. _LT_EOF
  7367. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7368. (eval $ac_compile) 2>&5
  7369. ac_status=$?
  7370. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7371. test $ac_status = 0; }; then
  7372. # Now try to grab the symbols.
  7373. nlist=conftest.nm
  7374. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  7375. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  7376. ac_status=$?
  7377. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7378. test $ac_status = 0; } && test -s "$nlist"; then
  7379. # Try sorting and uniquifying the output.
  7380. if sort "$nlist" | uniq > "$nlist"T; then
  7381. mv -f "$nlist"T "$nlist"
  7382. else
  7383. rm -f "$nlist"T
  7384. fi
  7385. # Make sure that we snagged all the symbols we need.
  7386. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  7387. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  7388. cat <<_LT_EOF > conftest.$ac_ext
  7389. #ifdef __cplusplus
  7390. extern "C" {
  7391. #endif
  7392. _LT_EOF
  7393. # Now generate the symbol file.
  7394. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  7395. cat <<_LT_EOF >> conftest.$ac_ext
  7396. /* The mapping between symbol names and symbols. */
  7397. const struct {
  7398. const char *name;
  7399. void *address;
  7400. }
  7401. lt__PROGRAM__LTX_preloaded_symbols[] =
  7402. {
  7403. { "@PROGRAM@", (void *) 0 },
  7404. _LT_EOF
  7405. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  7406. cat <<\_LT_EOF >> conftest.$ac_ext
  7407. {0, (void *) 0}
  7408. };
  7409. /* This works around a problem in FreeBSD linker */
  7410. #ifdef FREEBSD_WORKAROUND
  7411. static const void *lt_preloaded_setup() {
  7412. return lt__PROGRAM__LTX_preloaded_symbols;
  7413. }
  7414. #endif
  7415. #ifdef __cplusplus
  7416. }
  7417. #endif
  7418. _LT_EOF
  7419. # Now try linking the two files.
  7420. mv conftest.$ac_objext conftstm.$ac_objext
  7421. lt_save_LIBS="$LIBS"
  7422. lt_save_CFLAGS="$CFLAGS"
  7423. LIBS="conftstm.$ac_objext"
  7424. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  7425. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  7426. (eval $ac_link) 2>&5
  7427. ac_status=$?
  7428. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7429. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  7430. pipe_works=yes
  7431. fi
  7432. LIBS="$lt_save_LIBS"
  7433. CFLAGS="$lt_save_CFLAGS"
  7434. else
  7435. echo "cannot find nm_test_func in $nlist" >&5
  7436. fi
  7437. else
  7438. echo "cannot find nm_test_var in $nlist" >&5
  7439. fi
  7440. else
  7441. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  7442. fi
  7443. else
  7444. echo "$progname: failed program was:" >&5
  7445. cat conftest.$ac_ext >&5
  7446. fi
  7447. rm -rf conftest* conftst*
  7448. # Do not use the global_symbol_pipe unless it works.
  7449. if test "$pipe_works" = yes; then
  7450. break
  7451. else
  7452. lt_cv_sys_global_symbol_pipe=
  7453. fi
  7454. done
  7455. fi
  7456. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  7457. lt_cv_sys_global_symbol_to_cdecl=
  7458. fi
  7459. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  7460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  7461. $as_echo "failed" >&6; }
  7462. else
  7463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  7464. $as_echo "ok" >&6; }
  7465. fi
  7466. # Check whether --enable-libtool-lock was given.
  7467. if test "${enable_libtool_lock+set}" = set; then :
  7468. enableval=$enable_libtool_lock;
  7469. fi
  7470. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  7471. # Some flags need to be propagated to the compiler or linker for good
  7472. # libtool support.
  7473. case $host in
  7474. ia64-*-hpux*)
  7475. # Find out which ABI we are using.
  7476. echo 'int i;' > conftest.$ac_ext
  7477. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7478. (eval $ac_compile) 2>&5
  7479. ac_status=$?
  7480. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7481. test $ac_status = 0; }; then
  7482. case `/usr/bin/file conftest.$ac_objext` in
  7483. *ELF-32*)
  7484. HPUX_IA64_MODE="32"
  7485. ;;
  7486. *ELF-64*)
  7487. HPUX_IA64_MODE="64"
  7488. ;;
  7489. esac
  7490. fi
  7491. rm -rf conftest*
  7492. ;;
  7493. *-*-irix6*)
  7494. # Find out which ABI we are using.
  7495. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  7496. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7497. (eval $ac_compile) 2>&5
  7498. ac_status=$?
  7499. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7500. test $ac_status = 0; }; then
  7501. if test "$lt_cv_prog_gnu_ld" = yes; then
  7502. case `/usr/bin/file conftest.$ac_objext` in
  7503. *32-bit*)
  7504. LD="${LD-ld} -melf32bsmip"
  7505. ;;
  7506. *N32*)
  7507. LD="${LD-ld} -melf32bmipn32"
  7508. ;;
  7509. *64-bit*)
  7510. LD="${LD-ld} -melf64bmip"
  7511. ;;
  7512. esac
  7513. else
  7514. case `/usr/bin/file conftest.$ac_objext` in
  7515. *32-bit*)
  7516. LD="${LD-ld} -32"
  7517. ;;
  7518. *N32*)
  7519. LD="${LD-ld} -n32"
  7520. ;;
  7521. *64-bit*)
  7522. LD="${LD-ld} -64"
  7523. ;;
  7524. esac
  7525. fi
  7526. fi
  7527. rm -rf conftest*
  7528. ;;
  7529. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  7530. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  7531. # Find out which ABI we are using.
  7532. echo 'int i;' > conftest.$ac_ext
  7533. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7534. (eval $ac_compile) 2>&5
  7535. ac_status=$?
  7536. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7537. test $ac_status = 0; }; then
  7538. case `/usr/bin/file conftest.o` in
  7539. *32-bit*)
  7540. case $host in
  7541. x86_64-*kfreebsd*-gnu)
  7542. LD="${LD-ld} -m elf_i386_fbsd"
  7543. ;;
  7544. x86_64-*linux*)
  7545. case `/usr/bin/file conftest.o` in
  7546. *x86-64*)
  7547. LD="${LD-ld} -m elf32_x86_64"
  7548. ;;
  7549. *)
  7550. LD="${LD-ld} -m elf_i386"
  7551. ;;
  7552. esac
  7553. ;;
  7554. powerpc64le-*linux*)
  7555. LD="${LD-ld} -m elf32lppclinux"
  7556. ;;
  7557. powerpc64-*linux*)
  7558. LD="${LD-ld} -m elf32ppclinux"
  7559. ;;
  7560. s390x-*linux*)
  7561. LD="${LD-ld} -m elf_s390"
  7562. ;;
  7563. sparc64-*linux*)
  7564. LD="${LD-ld} -m elf32_sparc"
  7565. ;;
  7566. esac
  7567. ;;
  7568. *64-bit*)
  7569. case $host in
  7570. x86_64-*kfreebsd*-gnu)
  7571. LD="${LD-ld} -m elf_x86_64_fbsd"
  7572. ;;
  7573. x86_64-*linux*)
  7574. LD="${LD-ld} -m elf_x86_64"
  7575. ;;
  7576. powerpcle-*linux*)
  7577. LD="${LD-ld} -m elf64lppc"
  7578. ;;
  7579. powerpc-*linux*)
  7580. LD="${LD-ld} -m elf64ppc"
  7581. ;;
  7582. s390*-*linux*|s390*-*tpf*)
  7583. LD="${LD-ld} -m elf64_s390"
  7584. ;;
  7585. sparc*-*linux*)
  7586. LD="${LD-ld} -m elf64_sparc"
  7587. ;;
  7588. esac
  7589. ;;
  7590. esac
  7591. fi
  7592. rm -rf conftest*
  7593. ;;
  7594. *-*-sco3.2v5*)
  7595. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7596. SAVE_CFLAGS="$CFLAGS"
  7597. CFLAGS="$CFLAGS -belf"
  7598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7599. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7600. if ${lt_cv_cc_needs_belf+:} false; then :
  7601. $as_echo_n "(cached) " >&6
  7602. else
  7603. ac_ext=c
  7604. ac_cpp='$CPP $CPPFLAGS'
  7605. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7606. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7607. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7608. if test x$gcc_no_link = xyes; then
  7609. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  7610. fi
  7611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7612. /* end confdefs.h. */
  7613. int
  7614. main ()
  7615. {
  7616. ;
  7617. return 0;
  7618. }
  7619. _ACEOF
  7620. if ac_fn_c_try_link "$LINENO"; then :
  7621. lt_cv_cc_needs_belf=yes
  7622. else
  7623. lt_cv_cc_needs_belf=no
  7624. fi
  7625. rm -f core conftest.err conftest.$ac_objext \
  7626. conftest$ac_exeext conftest.$ac_ext
  7627. ac_ext=c
  7628. ac_cpp='$CPP $CPPFLAGS'
  7629. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7630. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7631. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7632. fi
  7633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7634. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  7635. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  7636. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7637. CFLAGS="$SAVE_CFLAGS"
  7638. fi
  7639. ;;
  7640. sparc*-*solaris*)
  7641. # Find out which ABI we are using.
  7642. echo 'int i;' > conftest.$ac_ext
  7643. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7644. (eval $ac_compile) 2>&5
  7645. ac_status=$?
  7646. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7647. test $ac_status = 0; }; then
  7648. case `/usr/bin/file conftest.o` in
  7649. *64-bit*)
  7650. case $lt_cv_prog_gnu_ld in
  7651. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  7652. *)
  7653. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7654. LD="${LD-ld} -64"
  7655. fi
  7656. ;;
  7657. esac
  7658. ;;
  7659. esac
  7660. fi
  7661. rm -rf conftest*
  7662. ;;
  7663. esac
  7664. need_locks="$enable_libtool_lock"
  7665. case $host_os in
  7666. rhapsody* | darwin*)
  7667. if test -n "$ac_tool_prefix"; then
  7668. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7669. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7671. $as_echo_n "checking for $ac_word... " >&6; }
  7672. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  7673. $as_echo_n "(cached) " >&6
  7674. else
  7675. if test -n "$DSYMUTIL"; then
  7676. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7677. else
  7678. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7679. for as_dir in $PATH
  7680. do
  7681. IFS=$as_save_IFS
  7682. test -z "$as_dir" && as_dir=.
  7683. for ac_exec_ext in '' $ac_executable_extensions; do
  7684. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7685. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7686. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7687. break 2
  7688. fi
  7689. done
  7690. done
  7691. IFS=$as_save_IFS
  7692. fi
  7693. fi
  7694. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7695. if test -n "$DSYMUTIL"; then
  7696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7697. $as_echo "$DSYMUTIL" >&6; }
  7698. else
  7699. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7700. $as_echo "no" >&6; }
  7701. fi
  7702. fi
  7703. if test -z "$ac_cv_prog_DSYMUTIL"; then
  7704. ac_ct_DSYMUTIL=$DSYMUTIL
  7705. # Extract the first word of "dsymutil", so it can be a program name with args.
  7706. set dummy dsymutil; ac_word=$2
  7707. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7708. $as_echo_n "checking for $ac_word... " >&6; }
  7709. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  7710. $as_echo_n "(cached) " >&6
  7711. else
  7712. if test -n "$ac_ct_DSYMUTIL"; then
  7713. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7714. else
  7715. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7716. for as_dir in $PATH
  7717. do
  7718. IFS=$as_save_IFS
  7719. test -z "$as_dir" && as_dir=.
  7720. for ac_exec_ext in '' $ac_executable_extensions; do
  7721. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7722. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7723. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7724. break 2
  7725. fi
  7726. done
  7727. done
  7728. IFS=$as_save_IFS
  7729. fi
  7730. fi
  7731. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7732. if test -n "$ac_ct_DSYMUTIL"; then
  7733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7734. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7735. else
  7736. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7737. $as_echo "no" >&6; }
  7738. fi
  7739. if test "x$ac_ct_DSYMUTIL" = x; then
  7740. DSYMUTIL=":"
  7741. else
  7742. case $cross_compiling:$ac_tool_warned in
  7743. yes:)
  7744. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7745. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7746. ac_tool_warned=yes ;;
  7747. esac
  7748. DSYMUTIL=$ac_ct_DSYMUTIL
  7749. fi
  7750. else
  7751. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7752. fi
  7753. if test -n "$ac_tool_prefix"; then
  7754. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7755. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7756. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7757. $as_echo_n "checking for $ac_word... " >&6; }
  7758. if ${ac_cv_prog_NMEDIT+:} false; then :
  7759. $as_echo_n "(cached) " >&6
  7760. else
  7761. if test -n "$NMEDIT"; then
  7762. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7763. else
  7764. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7765. for as_dir in $PATH
  7766. do
  7767. IFS=$as_save_IFS
  7768. test -z "$as_dir" && as_dir=.
  7769. for ac_exec_ext in '' $ac_executable_extensions; do
  7770. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7771. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7772. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7773. break 2
  7774. fi
  7775. done
  7776. done
  7777. IFS=$as_save_IFS
  7778. fi
  7779. fi
  7780. NMEDIT=$ac_cv_prog_NMEDIT
  7781. if test -n "$NMEDIT"; then
  7782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7783. $as_echo "$NMEDIT" >&6; }
  7784. else
  7785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7786. $as_echo "no" >&6; }
  7787. fi
  7788. fi
  7789. if test -z "$ac_cv_prog_NMEDIT"; then
  7790. ac_ct_NMEDIT=$NMEDIT
  7791. # Extract the first word of "nmedit", so it can be a program name with args.
  7792. set dummy nmedit; ac_word=$2
  7793. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7794. $as_echo_n "checking for $ac_word... " >&6; }
  7795. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  7796. $as_echo_n "(cached) " >&6
  7797. else
  7798. if test -n "$ac_ct_NMEDIT"; then
  7799. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7800. else
  7801. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7802. for as_dir in $PATH
  7803. do
  7804. IFS=$as_save_IFS
  7805. test -z "$as_dir" && as_dir=.
  7806. for ac_exec_ext in '' $ac_executable_extensions; do
  7807. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7808. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7809. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7810. break 2
  7811. fi
  7812. done
  7813. done
  7814. IFS=$as_save_IFS
  7815. fi
  7816. fi
  7817. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7818. if test -n "$ac_ct_NMEDIT"; then
  7819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7820. $as_echo "$ac_ct_NMEDIT" >&6; }
  7821. else
  7822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7823. $as_echo "no" >&6; }
  7824. fi
  7825. if test "x$ac_ct_NMEDIT" = x; then
  7826. NMEDIT=":"
  7827. else
  7828. case $cross_compiling:$ac_tool_warned in
  7829. yes:)
  7830. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7831. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7832. ac_tool_warned=yes ;;
  7833. esac
  7834. NMEDIT=$ac_ct_NMEDIT
  7835. fi
  7836. else
  7837. NMEDIT="$ac_cv_prog_NMEDIT"
  7838. fi
  7839. if test -n "$ac_tool_prefix"; then
  7840. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7841. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7842. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7843. $as_echo_n "checking for $ac_word... " >&6; }
  7844. if ${ac_cv_prog_LIPO+:} false; then :
  7845. $as_echo_n "(cached) " >&6
  7846. else
  7847. if test -n "$LIPO"; then
  7848. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7849. else
  7850. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7851. for as_dir in $PATH
  7852. do
  7853. IFS=$as_save_IFS
  7854. test -z "$as_dir" && as_dir=.
  7855. for ac_exec_ext in '' $ac_executable_extensions; do
  7856. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7857. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7858. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7859. break 2
  7860. fi
  7861. done
  7862. done
  7863. IFS=$as_save_IFS
  7864. fi
  7865. fi
  7866. LIPO=$ac_cv_prog_LIPO
  7867. if test -n "$LIPO"; then
  7868. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7869. $as_echo "$LIPO" >&6; }
  7870. else
  7871. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7872. $as_echo "no" >&6; }
  7873. fi
  7874. fi
  7875. if test -z "$ac_cv_prog_LIPO"; then
  7876. ac_ct_LIPO=$LIPO
  7877. # Extract the first word of "lipo", so it can be a program name with args.
  7878. set dummy lipo; ac_word=$2
  7879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7880. $as_echo_n "checking for $ac_word... " >&6; }
  7881. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  7882. $as_echo_n "(cached) " >&6
  7883. else
  7884. if test -n "$ac_ct_LIPO"; then
  7885. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7886. else
  7887. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7888. for as_dir in $PATH
  7889. do
  7890. IFS=$as_save_IFS
  7891. test -z "$as_dir" && as_dir=.
  7892. for ac_exec_ext in '' $ac_executable_extensions; do
  7893. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7894. ac_cv_prog_ac_ct_LIPO="lipo"
  7895. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7896. break 2
  7897. fi
  7898. done
  7899. done
  7900. IFS=$as_save_IFS
  7901. fi
  7902. fi
  7903. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7904. if test -n "$ac_ct_LIPO"; then
  7905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7906. $as_echo "$ac_ct_LIPO" >&6; }
  7907. else
  7908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7909. $as_echo "no" >&6; }
  7910. fi
  7911. if test "x$ac_ct_LIPO" = x; then
  7912. LIPO=":"
  7913. else
  7914. case $cross_compiling:$ac_tool_warned in
  7915. yes:)
  7916. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7917. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7918. ac_tool_warned=yes ;;
  7919. esac
  7920. LIPO=$ac_ct_LIPO
  7921. fi
  7922. else
  7923. LIPO="$ac_cv_prog_LIPO"
  7924. fi
  7925. if test -n "$ac_tool_prefix"; then
  7926. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7927. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7929. $as_echo_n "checking for $ac_word... " >&6; }
  7930. if ${ac_cv_prog_OTOOL+:} false; then :
  7931. $as_echo_n "(cached) " >&6
  7932. else
  7933. if test -n "$OTOOL"; then
  7934. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7935. else
  7936. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7937. for as_dir in $PATH
  7938. do
  7939. IFS=$as_save_IFS
  7940. test -z "$as_dir" && as_dir=.
  7941. for ac_exec_ext in '' $ac_executable_extensions; do
  7942. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7943. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7944. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7945. break 2
  7946. fi
  7947. done
  7948. done
  7949. IFS=$as_save_IFS
  7950. fi
  7951. fi
  7952. OTOOL=$ac_cv_prog_OTOOL
  7953. if test -n "$OTOOL"; then
  7954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7955. $as_echo "$OTOOL" >&6; }
  7956. else
  7957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7958. $as_echo "no" >&6; }
  7959. fi
  7960. fi
  7961. if test -z "$ac_cv_prog_OTOOL"; then
  7962. ac_ct_OTOOL=$OTOOL
  7963. # Extract the first word of "otool", so it can be a program name with args.
  7964. set dummy otool; ac_word=$2
  7965. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7966. $as_echo_n "checking for $ac_word... " >&6; }
  7967. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7968. $as_echo_n "(cached) " >&6
  7969. else
  7970. if test -n "$ac_ct_OTOOL"; then
  7971. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7972. else
  7973. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7974. for as_dir in $PATH
  7975. do
  7976. IFS=$as_save_IFS
  7977. test -z "$as_dir" && as_dir=.
  7978. for ac_exec_ext in '' $ac_executable_extensions; do
  7979. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7980. ac_cv_prog_ac_ct_OTOOL="otool"
  7981. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7982. break 2
  7983. fi
  7984. done
  7985. done
  7986. IFS=$as_save_IFS
  7987. fi
  7988. fi
  7989. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7990. if test -n "$ac_ct_OTOOL"; then
  7991. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7992. $as_echo "$ac_ct_OTOOL" >&6; }
  7993. else
  7994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7995. $as_echo "no" >&6; }
  7996. fi
  7997. if test "x$ac_ct_OTOOL" = x; then
  7998. OTOOL=":"
  7999. else
  8000. case $cross_compiling:$ac_tool_warned in
  8001. yes:)
  8002. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8003. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8004. ac_tool_warned=yes ;;
  8005. esac
  8006. OTOOL=$ac_ct_OTOOL
  8007. fi
  8008. else
  8009. OTOOL="$ac_cv_prog_OTOOL"
  8010. fi
  8011. if test -n "$ac_tool_prefix"; then
  8012. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  8013. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  8014. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8015. $as_echo_n "checking for $ac_word... " >&6; }
  8016. if ${ac_cv_prog_OTOOL64+:} false; then :
  8017. $as_echo_n "(cached) " >&6
  8018. else
  8019. if test -n "$OTOOL64"; then
  8020. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  8021. else
  8022. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8023. for as_dir in $PATH
  8024. do
  8025. IFS=$as_save_IFS
  8026. test -z "$as_dir" && as_dir=.
  8027. for ac_exec_ext in '' $ac_executable_extensions; do
  8028. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8029. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  8030. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8031. break 2
  8032. fi
  8033. done
  8034. done
  8035. IFS=$as_save_IFS
  8036. fi
  8037. fi
  8038. OTOOL64=$ac_cv_prog_OTOOL64
  8039. if test -n "$OTOOL64"; then
  8040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  8041. $as_echo "$OTOOL64" >&6; }
  8042. else
  8043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8044. $as_echo "no" >&6; }
  8045. fi
  8046. fi
  8047. if test -z "$ac_cv_prog_OTOOL64"; then
  8048. ac_ct_OTOOL64=$OTOOL64
  8049. # Extract the first word of "otool64", so it can be a program name with args.
  8050. set dummy otool64; ac_word=$2
  8051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8052. $as_echo_n "checking for $ac_word... " >&6; }
  8053. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  8054. $as_echo_n "(cached) " >&6
  8055. else
  8056. if test -n "$ac_ct_OTOOL64"; then
  8057. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  8058. else
  8059. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8060. for as_dir in $PATH
  8061. do
  8062. IFS=$as_save_IFS
  8063. test -z "$as_dir" && as_dir=.
  8064. for ac_exec_ext in '' $ac_executable_extensions; do
  8065. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8066. ac_cv_prog_ac_ct_OTOOL64="otool64"
  8067. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8068. break 2
  8069. fi
  8070. done
  8071. done
  8072. IFS=$as_save_IFS
  8073. fi
  8074. fi
  8075. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  8076. if test -n "$ac_ct_OTOOL64"; then
  8077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  8078. $as_echo "$ac_ct_OTOOL64" >&6; }
  8079. else
  8080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8081. $as_echo "no" >&6; }
  8082. fi
  8083. if test "x$ac_ct_OTOOL64" = x; then
  8084. OTOOL64=":"
  8085. else
  8086. case $cross_compiling:$ac_tool_warned in
  8087. yes:)
  8088. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8089. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8090. ac_tool_warned=yes ;;
  8091. esac
  8092. OTOOL64=$ac_ct_OTOOL64
  8093. fi
  8094. else
  8095. OTOOL64="$ac_cv_prog_OTOOL64"
  8096. fi
  8097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  8098. $as_echo_n "checking for -single_module linker flag... " >&6; }
  8099. if ${lt_cv_apple_cc_single_mod+:} false; then :
  8100. $as_echo_n "(cached) " >&6
  8101. else
  8102. lt_cv_apple_cc_single_mod=no
  8103. if test -z "${LT_MULTI_MODULE}"; then
  8104. # By default we will add the -single_module flag. You can override
  8105. # by either setting the environment variable LT_MULTI_MODULE
  8106. # non-empty at configure time, or by adding -multi_module to the
  8107. # link flags.
  8108. rm -rf libconftest.dylib*
  8109. echo "int foo(void){return 1;}" > conftest.c
  8110. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  8111. -dynamiclib -Wl,-single_module conftest.c" >&5
  8112. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  8113. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  8114. _lt_result=$?
  8115. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  8116. lt_cv_apple_cc_single_mod=yes
  8117. else
  8118. cat conftest.err >&5
  8119. fi
  8120. rm -rf libconftest.dylib*
  8121. rm -f conftest.*
  8122. fi
  8123. fi
  8124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  8125. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  8126. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  8127. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  8128. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  8129. $as_echo_n "(cached) " >&6
  8130. else
  8131. lt_cv_ld_exported_symbols_list=no
  8132. save_LDFLAGS=$LDFLAGS
  8133. echo "_main" > conftest.sym
  8134. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  8135. if test x$gcc_no_link = xyes; then
  8136. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  8137. fi
  8138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8139. /* end confdefs.h. */
  8140. int
  8141. main ()
  8142. {
  8143. ;
  8144. return 0;
  8145. }
  8146. _ACEOF
  8147. if ac_fn_c_try_link "$LINENO"; then :
  8148. lt_cv_ld_exported_symbols_list=yes
  8149. else
  8150. lt_cv_ld_exported_symbols_list=no
  8151. fi
  8152. rm -f core conftest.err conftest.$ac_objext \
  8153. conftest$ac_exeext conftest.$ac_ext
  8154. LDFLAGS="$save_LDFLAGS"
  8155. fi
  8156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  8157. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  8158. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  8159. $as_echo_n "checking for -force_load linker flag... " >&6; }
  8160. if ${lt_cv_ld_force_load+:} false; then :
  8161. $as_echo_n "(cached) " >&6
  8162. else
  8163. lt_cv_ld_force_load=no
  8164. cat > conftest.c << _LT_EOF
  8165. int forced_loaded() { return 2;}
  8166. _LT_EOF
  8167. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  8168. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  8169. echo "$AR cru libconftest.a conftest.o" >&5
  8170. $AR cru libconftest.a conftest.o 2>&5
  8171. cat > conftest.c << _LT_EOF
  8172. int main() { return 0;}
  8173. _LT_EOF
  8174. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  8175. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  8176. _lt_result=$?
  8177. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  8178. lt_cv_ld_force_load=yes
  8179. else
  8180. cat conftest.err >&5
  8181. fi
  8182. rm -f conftest.err libconftest.a conftest conftest.c
  8183. rm -rf conftest.dSYM
  8184. fi
  8185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  8186. $as_echo "$lt_cv_ld_force_load" >&6; }
  8187. # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
  8188. # build without first building modern cctools / linker.
  8189. case $host_cpu-$host_os in
  8190. *-rhapsody* | *-darwin1.[012])
  8191. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  8192. *-darwin1.*)
  8193. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  8194. *-darwin*)
  8195. # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
  8196. # deployment target is forced to an earlier version.
  8197. case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
  8198. UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
  8199. ;;
  8200. 10.[012][,.]*)
  8201. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  8202. ;;
  8203. *)
  8204. ;;
  8205. esac
  8206. ;;
  8207. esac
  8208. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  8209. _lt_dar_single_mod='$single_module'
  8210. fi
  8211. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  8212. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  8213. else
  8214. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  8215. fi
  8216. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  8217. _lt_dsymutil='~$DSYMUTIL $lib || :'
  8218. else
  8219. _lt_dsymutil=
  8220. fi
  8221. ;;
  8222. esac
  8223. for ac_header in dlfcn.h
  8224. do :
  8225. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  8226. "
  8227. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  8228. cat >>confdefs.h <<_ACEOF
  8229. #define HAVE_DLFCN_H 1
  8230. _ACEOF
  8231. fi
  8232. done
  8233. # Set options
  8234. enable_win32_dll=no
  8235. # Check whether --enable-shared was given.
  8236. if test "${enable_shared+set}" = set; then :
  8237. enableval=$enable_shared; p=${PACKAGE-default}
  8238. case $enableval in
  8239. yes) enable_shared=yes ;;
  8240. no) enable_shared=no ;;
  8241. *)
  8242. enable_shared=no
  8243. # Look at the argument we got. We use all the common list separators.
  8244. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8245. for pkg in $enableval; do
  8246. IFS="$lt_save_ifs"
  8247. if test "X$pkg" = "X$p"; then
  8248. enable_shared=yes
  8249. fi
  8250. done
  8251. IFS="$lt_save_ifs"
  8252. ;;
  8253. esac
  8254. else
  8255. enable_shared=yes
  8256. fi
  8257. # Check whether --enable-static was given.
  8258. if test "${enable_static+set}" = set; then :
  8259. enableval=$enable_static; p=${PACKAGE-default}
  8260. case $enableval in
  8261. yes) enable_static=yes ;;
  8262. no) enable_static=no ;;
  8263. *)
  8264. enable_static=no
  8265. # Look at the argument we got. We use all the common list separators.
  8266. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8267. for pkg in $enableval; do
  8268. IFS="$lt_save_ifs"
  8269. if test "X$pkg" = "X$p"; then
  8270. enable_static=yes
  8271. fi
  8272. done
  8273. IFS="$lt_save_ifs"
  8274. ;;
  8275. esac
  8276. else
  8277. enable_static=yes
  8278. fi
  8279. # Check whether --with-pic was given.
  8280. if test "${with_pic+set}" = set; then :
  8281. withval=$with_pic; pic_mode="$withval"
  8282. else
  8283. pic_mode=default
  8284. fi
  8285. test -z "$pic_mode" && pic_mode=default
  8286. # Check whether --enable-fast-install was given.
  8287. if test "${enable_fast_install+set}" = set; then :
  8288. enableval=$enable_fast_install; p=${PACKAGE-default}
  8289. case $enableval in
  8290. yes) enable_fast_install=yes ;;
  8291. no) enable_fast_install=no ;;
  8292. *)
  8293. enable_fast_install=no
  8294. # Look at the argument we got. We use all the common list separators.
  8295. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8296. for pkg in $enableval; do
  8297. IFS="$lt_save_ifs"
  8298. if test "X$pkg" = "X$p"; then
  8299. enable_fast_install=yes
  8300. fi
  8301. done
  8302. IFS="$lt_save_ifs"
  8303. ;;
  8304. esac
  8305. else
  8306. enable_fast_install=yes
  8307. fi
  8308. # This can be used to rebuild libtool when needed
  8309. LIBTOOL_DEPS="$ltmain"
  8310. # Always use our own libtool.
  8311. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8312. test -z "$LN_S" && LN_S="ln -s"
  8313. if test -n "${ZSH_VERSION+set}" ; then
  8314. setopt NO_GLOB_SUBST
  8315. fi
  8316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  8317. $as_echo_n "checking for objdir... " >&6; }
  8318. if ${lt_cv_objdir+:} false; then :
  8319. $as_echo_n "(cached) " >&6
  8320. else
  8321. rm -f .libs 2>/dev/null
  8322. mkdir .libs 2>/dev/null
  8323. if test -d .libs; then
  8324. lt_cv_objdir=.libs
  8325. else
  8326. # MS-DOS does not allow filenames that begin with a dot.
  8327. lt_cv_objdir=_libs
  8328. fi
  8329. rmdir .libs 2>/dev/null
  8330. fi
  8331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  8332. $as_echo "$lt_cv_objdir" >&6; }
  8333. objdir=$lt_cv_objdir
  8334. cat >>confdefs.h <<_ACEOF
  8335. #define LT_OBJDIR "$lt_cv_objdir/"
  8336. _ACEOF
  8337. case $host_os in
  8338. aix3*)
  8339. # AIX sometimes has problems with the GCC collect2 program. For some
  8340. # reason, if we set the COLLECT_NAMES environment variable, the problems
  8341. # vanish in a puff of smoke.
  8342. if test "X${COLLECT_NAMES+set}" != Xset; then
  8343. COLLECT_NAMES=
  8344. export COLLECT_NAMES
  8345. fi
  8346. ;;
  8347. esac
  8348. # Global variables:
  8349. ofile=libtool
  8350. can_build_shared=yes
  8351. # All known linkers require a `.a' archive for static linking (except MSVC,
  8352. # which needs '.lib').
  8353. libext=a
  8354. with_gnu_ld="$lt_cv_prog_gnu_ld"
  8355. old_CC="$CC"
  8356. old_CFLAGS="$CFLAGS"
  8357. # Set sane defaults for various variables
  8358. test -z "$CC" && CC=cc
  8359. test -z "$LTCC" && LTCC=$CC
  8360. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8361. test -z "$LD" && LD=ld
  8362. test -z "$ac_objext" && ac_objext=o
  8363. for cc_temp in $compiler""; do
  8364. case $cc_temp in
  8365. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8366. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8367. \-*) ;;
  8368. *) break;;
  8369. esac
  8370. done
  8371. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8372. # Only perform the check for file, if the check method requires it
  8373. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8374. case $deplibs_check_method in
  8375. file_magic*)
  8376. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  8378. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8379. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8380. $as_echo_n "(cached) " >&6
  8381. else
  8382. case $MAGIC_CMD in
  8383. [\\/*] | ?:[\\/]*)
  8384. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8385. ;;
  8386. *)
  8387. lt_save_MAGIC_CMD="$MAGIC_CMD"
  8388. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8389. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8390. for ac_dir in $ac_dummy; do
  8391. IFS="$lt_save_ifs"
  8392. test -z "$ac_dir" && ac_dir=.
  8393. if test -f $ac_dir/${ac_tool_prefix}file; then
  8394. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8395. if test -n "$file_magic_test_file"; then
  8396. case $deplibs_check_method in
  8397. "file_magic "*)
  8398. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8399. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8400. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8401. $EGREP "$file_magic_regex" > /dev/null; then
  8402. :
  8403. else
  8404. cat <<_LT_EOF 1>&2
  8405. *** Warning: the command libtool uses to detect shared libraries,
  8406. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8407. *** The result is that libtool may fail to recognize shared libraries
  8408. *** as such. This will affect the creation of libtool libraries that
  8409. *** depend on shared libraries, but programs linked with such libtool
  8410. *** libraries will work regardless of this problem. Nevertheless, you
  8411. *** may want to report the problem to your system manager and/or to
  8412. *** bug-libtool@gnu.org
  8413. _LT_EOF
  8414. fi ;;
  8415. esac
  8416. fi
  8417. break
  8418. fi
  8419. done
  8420. IFS="$lt_save_ifs"
  8421. MAGIC_CMD="$lt_save_MAGIC_CMD"
  8422. ;;
  8423. esac
  8424. fi
  8425. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8426. if test -n "$MAGIC_CMD"; then
  8427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8428. $as_echo "$MAGIC_CMD" >&6; }
  8429. else
  8430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8431. $as_echo "no" >&6; }
  8432. fi
  8433. if test -z "$lt_cv_path_MAGIC_CMD"; then
  8434. if test -n "$ac_tool_prefix"; then
  8435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8436. $as_echo_n "checking for file... " >&6; }
  8437. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  8438. $as_echo_n "(cached) " >&6
  8439. else
  8440. case $MAGIC_CMD in
  8441. [\\/*] | ?:[\\/]*)
  8442. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8443. ;;
  8444. *)
  8445. lt_save_MAGIC_CMD="$MAGIC_CMD"
  8446. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8447. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8448. for ac_dir in $ac_dummy; do
  8449. IFS="$lt_save_ifs"
  8450. test -z "$ac_dir" && ac_dir=.
  8451. if test -f $ac_dir/file; then
  8452. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8453. if test -n "$file_magic_test_file"; then
  8454. case $deplibs_check_method in
  8455. "file_magic "*)
  8456. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8457. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8458. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8459. $EGREP "$file_magic_regex" > /dev/null; then
  8460. :
  8461. else
  8462. cat <<_LT_EOF 1>&2
  8463. *** Warning: the command libtool uses to detect shared libraries,
  8464. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8465. *** The result is that libtool may fail to recognize shared libraries
  8466. *** as such. This will affect the creation of libtool libraries that
  8467. *** depend on shared libraries, but programs linked with such libtool
  8468. *** libraries will work regardless of this problem. Nevertheless, you
  8469. *** may want to report the problem to your system manager and/or to
  8470. *** bug-libtool@gnu.org
  8471. _LT_EOF
  8472. fi ;;
  8473. esac
  8474. fi
  8475. break
  8476. fi
  8477. done
  8478. IFS="$lt_save_ifs"
  8479. MAGIC_CMD="$lt_save_MAGIC_CMD"
  8480. ;;
  8481. esac
  8482. fi
  8483. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8484. if test -n "$MAGIC_CMD"; then
  8485. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8486. $as_echo "$MAGIC_CMD" >&6; }
  8487. else
  8488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8489. $as_echo "no" >&6; }
  8490. fi
  8491. else
  8492. MAGIC_CMD=:
  8493. fi
  8494. fi
  8495. fi
  8496. ;;
  8497. esac
  8498. # Use C for the default configuration in the libtool script
  8499. lt_save_CC="$CC"
  8500. ac_ext=c
  8501. ac_cpp='$CPP $CPPFLAGS'
  8502. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8503. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8504. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8505. # Source file extension for C test sources.
  8506. ac_ext=c
  8507. # Object file extension for compiled C test sources.
  8508. objext=o
  8509. objext=$objext
  8510. # Code to be used in simple compile tests
  8511. lt_simple_compile_test_code="int some_variable = 0;"
  8512. # Code to be used in simple link tests
  8513. lt_simple_link_test_code='int main(){return(0);}'
  8514. # If no C compiler was specified, use CC.
  8515. LTCC=${LTCC-"$CC"}
  8516. # If no C compiler flags were specified, use CFLAGS.
  8517. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8518. # Allow CC to be a program name with arguments.
  8519. compiler=$CC
  8520. # Save the default compiler, since it gets overwritten when the other
  8521. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8522. compiler_DEFAULT=$CC
  8523. # save warnings/boilerplate of simple test code
  8524. ac_outfile=conftest.$ac_objext
  8525. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8526. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8527. _lt_compiler_boilerplate=`cat conftest.err`
  8528. $RM conftest*
  8529. ac_outfile=conftest.$ac_objext
  8530. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8531. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8532. _lt_linker_boilerplate=`cat conftest.err`
  8533. $RM -r conftest*
  8534. ## CAVEAT EMPTOR:
  8535. ## There is no encapsulation within the following macros, do not change
  8536. ## the running order or otherwise move them around unless you know exactly
  8537. ## what you are doing...
  8538. if test -n "$compiler"; then
  8539. lt_prog_compiler_no_builtin_flag=
  8540. if test "$GCC" = yes; then
  8541. case $cc_basename in
  8542. nvcc*)
  8543. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8544. *)
  8545. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8546. esac
  8547. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8548. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8549. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  8550. $as_echo_n "(cached) " >&6
  8551. else
  8552. lt_cv_prog_compiler_rtti_exceptions=no
  8553. ac_outfile=conftest.$ac_objext
  8554. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8555. lt_compiler_flag="-fno-rtti -fno-exceptions"
  8556. # Insert the option either (1) after the last *FLAGS variable, or
  8557. # (2) before a word containing "conftest.", or (3) at the end.
  8558. # Note that $ac_compile itself does not contain backslashes and begins
  8559. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8560. # The option is referenced via a variable to avoid confusing sed.
  8561. lt_compile=`echo "$ac_compile" | $SED \
  8562. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8563. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8564. -e 's:$: $lt_compiler_flag:'`
  8565. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8566. (eval "$lt_compile" 2>conftest.err)
  8567. ac_status=$?
  8568. cat conftest.err >&5
  8569. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8570. if (exit $ac_status) && test -s "$ac_outfile"; then
  8571. # The compiler can only warn and ignore the option if not recognized
  8572. # So say no if there are warnings other than the usual output.
  8573. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8574. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8575. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8576. lt_cv_prog_compiler_rtti_exceptions=yes
  8577. fi
  8578. fi
  8579. $RM conftest*
  8580. fi
  8581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8582. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8583. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8584. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8585. else
  8586. :
  8587. fi
  8588. fi
  8589. lt_prog_compiler_wl=
  8590. lt_prog_compiler_pic=
  8591. lt_prog_compiler_static=
  8592. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8593. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8594. if test "$GCC" = yes; then
  8595. lt_prog_compiler_wl='-Wl,'
  8596. lt_prog_compiler_static='-static'
  8597. case $host_os in
  8598. aix*)
  8599. # All AIX code is PIC.
  8600. if test "$host_cpu" = ia64; then
  8601. # AIX 5 now supports IA64 processor
  8602. lt_prog_compiler_static='-Bstatic'
  8603. fi
  8604. lt_prog_compiler_pic='-fPIC'
  8605. ;;
  8606. amigaos*)
  8607. case $host_cpu in
  8608. powerpc)
  8609. # see comment about AmigaOS4 .so support
  8610. lt_prog_compiler_pic='-fPIC'
  8611. ;;
  8612. m68k)
  8613. # FIXME: we need at least 68020 code to build shared libraries, but
  8614. # adding the `-m68020' flag to GCC prevents building anything better,
  8615. # like `-m68040'.
  8616. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8617. ;;
  8618. esac
  8619. ;;
  8620. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8621. # PIC is the default for these OSes.
  8622. ;;
  8623. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8624. # This hack is so that the source file can tell whether it is being
  8625. # built for inclusion in a dll (and should export symbols for example).
  8626. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8627. # (--disable-auto-import) libraries
  8628. lt_prog_compiler_pic='-DDLL_EXPORT'
  8629. ;;
  8630. darwin* | rhapsody*)
  8631. # PIC is the default on this platform
  8632. # Common symbols not allowed in MH_DYLIB files
  8633. lt_prog_compiler_pic='-fno-common'
  8634. ;;
  8635. haiku*)
  8636. # PIC is the default for Haiku.
  8637. # The "-static" flag exists, but is broken.
  8638. lt_prog_compiler_static=
  8639. ;;
  8640. hpux*)
  8641. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8642. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  8643. # sets the default TLS model and affects inlining.
  8644. case $host_cpu in
  8645. hppa*64*)
  8646. # +Z the default
  8647. ;;
  8648. *)
  8649. lt_prog_compiler_pic='-fPIC'
  8650. ;;
  8651. esac
  8652. ;;
  8653. interix[3-9]*)
  8654. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8655. # Instead, we relocate shared libraries at runtime.
  8656. ;;
  8657. msdosdjgpp*)
  8658. # Just because we use GCC doesn't mean we suddenly get shared libraries
  8659. # on systems that don't support them.
  8660. lt_prog_compiler_can_build_shared=no
  8661. enable_shared=no
  8662. ;;
  8663. *nto* | *qnx*)
  8664. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8665. # it will coredump.
  8666. lt_prog_compiler_pic='-fPIC -shared'
  8667. ;;
  8668. sysv4*MP*)
  8669. if test -d /usr/nec; then
  8670. lt_prog_compiler_pic=-Kconform_pic
  8671. fi
  8672. ;;
  8673. *)
  8674. lt_prog_compiler_pic='-fPIC'
  8675. ;;
  8676. esac
  8677. case $cc_basename in
  8678. nvcc*) # Cuda Compiler Driver 2.2
  8679. lt_prog_compiler_wl='-Xlinker '
  8680. lt_prog_compiler_pic='-Xcompiler -fPIC'
  8681. ;;
  8682. esac
  8683. else
  8684. # PORTME Check for flag to pass linker flags through the system compiler.
  8685. case $host_os in
  8686. aix*)
  8687. lt_prog_compiler_wl='-Wl,'
  8688. if test "$host_cpu" = ia64; then
  8689. # AIX 5 now supports IA64 processor
  8690. lt_prog_compiler_static='-Bstatic'
  8691. else
  8692. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8693. fi
  8694. ;;
  8695. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8696. # This hack is so that the source file can tell whether it is being
  8697. # built for inclusion in a dll (and should export symbols for example).
  8698. lt_prog_compiler_pic='-DDLL_EXPORT'
  8699. ;;
  8700. hpux9* | hpux10* | hpux11*)
  8701. lt_prog_compiler_wl='-Wl,'
  8702. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8703. # not for PA HP-UX.
  8704. case $host_cpu in
  8705. hppa*64*|ia64*)
  8706. # +Z the default
  8707. ;;
  8708. *)
  8709. lt_prog_compiler_pic='+Z'
  8710. ;;
  8711. esac
  8712. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8713. lt_prog_compiler_static='${wl}-a ${wl}archive'
  8714. ;;
  8715. irix5* | irix6* | nonstopux*)
  8716. lt_prog_compiler_wl='-Wl,'
  8717. # PIC (with -KPIC) is the default.
  8718. lt_prog_compiler_static='-non_shared'
  8719. ;;
  8720. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8721. case $cc_basename in
  8722. # old Intel for x86_64 which still supported -KPIC.
  8723. ecc*)
  8724. lt_prog_compiler_wl='-Wl,'
  8725. lt_prog_compiler_pic='-KPIC'
  8726. lt_prog_compiler_static='-static'
  8727. ;;
  8728. # icc used to be incompatible with GCC.
  8729. # ICC 10 doesn't accept -KPIC any more.
  8730. icc* | ifort*)
  8731. lt_prog_compiler_wl='-Wl,'
  8732. lt_prog_compiler_pic='-fPIC'
  8733. lt_prog_compiler_static='-static'
  8734. ;;
  8735. # Lahey Fortran 8.1.
  8736. lf95*)
  8737. lt_prog_compiler_wl='-Wl,'
  8738. lt_prog_compiler_pic='--shared'
  8739. lt_prog_compiler_static='--static'
  8740. ;;
  8741. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8742. # Portland Group compilers (*not* the Pentium gcc compiler,
  8743. # which looks to be a dead project)
  8744. lt_prog_compiler_wl='-Wl,'
  8745. lt_prog_compiler_pic='-fpic'
  8746. lt_prog_compiler_static='-Bstatic'
  8747. ;;
  8748. ccc*)
  8749. lt_prog_compiler_wl='-Wl,'
  8750. # All Alpha code is PIC.
  8751. lt_prog_compiler_static='-non_shared'
  8752. ;;
  8753. xl* | bgxl* | bgf* | mpixl*)
  8754. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8755. lt_prog_compiler_wl='-Wl,'
  8756. lt_prog_compiler_pic='-qpic'
  8757. lt_prog_compiler_static='-qstaticlink'
  8758. ;;
  8759. *)
  8760. case `$CC -V 2>&1 | sed 5q` in
  8761. *Sun\ F* | *Sun*Fortran*)
  8762. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8763. lt_prog_compiler_pic='-KPIC'
  8764. lt_prog_compiler_static='-Bstatic'
  8765. lt_prog_compiler_wl=''
  8766. ;;
  8767. *Sun\ C*)
  8768. # Sun C 5.9
  8769. lt_prog_compiler_pic='-KPIC'
  8770. lt_prog_compiler_static='-Bstatic'
  8771. lt_prog_compiler_wl='-Wl,'
  8772. ;;
  8773. esac
  8774. ;;
  8775. esac
  8776. ;;
  8777. newsos6)
  8778. lt_prog_compiler_pic='-KPIC'
  8779. lt_prog_compiler_static='-Bstatic'
  8780. ;;
  8781. *nto* | *qnx*)
  8782. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8783. # it will coredump.
  8784. lt_prog_compiler_pic='-fPIC -shared'
  8785. ;;
  8786. osf3* | osf4* | osf5*)
  8787. lt_prog_compiler_wl='-Wl,'
  8788. # All OSF/1 code is PIC.
  8789. lt_prog_compiler_static='-non_shared'
  8790. ;;
  8791. rdos*)
  8792. lt_prog_compiler_static='-non_shared'
  8793. ;;
  8794. solaris*)
  8795. lt_prog_compiler_pic='-KPIC'
  8796. lt_prog_compiler_static='-Bstatic'
  8797. case $cc_basename in
  8798. f77* | f90* | f95*)
  8799. lt_prog_compiler_wl='-Qoption ld ';;
  8800. *)
  8801. lt_prog_compiler_wl='-Wl,';;
  8802. esac
  8803. ;;
  8804. sunos4*)
  8805. lt_prog_compiler_wl='-Qoption ld '
  8806. lt_prog_compiler_pic='-PIC'
  8807. lt_prog_compiler_static='-Bstatic'
  8808. ;;
  8809. sysv4 | sysv4.2uw2* | sysv4.3*)
  8810. lt_prog_compiler_wl='-Wl,'
  8811. lt_prog_compiler_pic='-KPIC'
  8812. lt_prog_compiler_static='-Bstatic'
  8813. ;;
  8814. sysv4*MP*)
  8815. if test -d /usr/nec ;then
  8816. lt_prog_compiler_pic='-Kconform_pic'
  8817. lt_prog_compiler_static='-Bstatic'
  8818. fi
  8819. ;;
  8820. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8821. lt_prog_compiler_wl='-Wl,'
  8822. lt_prog_compiler_pic='-KPIC'
  8823. lt_prog_compiler_static='-Bstatic'
  8824. ;;
  8825. unicos*)
  8826. lt_prog_compiler_wl='-Wl,'
  8827. lt_prog_compiler_can_build_shared=no
  8828. ;;
  8829. uts4*)
  8830. lt_prog_compiler_pic='-pic'
  8831. lt_prog_compiler_static='-Bstatic'
  8832. ;;
  8833. *)
  8834. lt_prog_compiler_can_build_shared=no
  8835. ;;
  8836. esac
  8837. fi
  8838. case $host_os in
  8839. # For platforms which do not support PIC, -DPIC is meaningless:
  8840. *djgpp*)
  8841. lt_prog_compiler_pic=
  8842. ;;
  8843. *)
  8844. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8845. ;;
  8846. esac
  8847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  8848. $as_echo "$lt_prog_compiler_pic" >&6; }
  8849. #
  8850. # Check to make sure the PIC flag actually works.
  8851. #
  8852. if test -n "$lt_prog_compiler_pic"; then
  8853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8854. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8855. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  8856. $as_echo_n "(cached) " >&6
  8857. else
  8858. lt_cv_prog_compiler_pic_works=no
  8859. ac_outfile=conftest.$ac_objext
  8860. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8861. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8862. # Insert the option either (1) after the last *FLAGS variable, or
  8863. # (2) before a word containing "conftest.", or (3) at the end.
  8864. # Note that $ac_compile itself does not contain backslashes and begins
  8865. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8866. # The option is referenced via a variable to avoid confusing sed.
  8867. lt_compile=`echo "$ac_compile" | $SED \
  8868. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8869. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8870. -e 's:$: $lt_compiler_flag:'`
  8871. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8872. (eval "$lt_compile" 2>conftest.err)
  8873. ac_status=$?
  8874. cat conftest.err >&5
  8875. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8876. if (exit $ac_status) && test -s "$ac_outfile"; then
  8877. # The compiler can only warn and ignore the option if not recognized
  8878. # So say no if there are warnings other than the usual output.
  8879. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8880. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8881. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8882. lt_cv_prog_compiler_pic_works=yes
  8883. fi
  8884. fi
  8885. $RM conftest*
  8886. fi
  8887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8888. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8889. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8890. case $lt_prog_compiler_pic in
  8891. "" | " "*) ;;
  8892. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8893. esac
  8894. else
  8895. lt_prog_compiler_pic=
  8896. lt_prog_compiler_can_build_shared=no
  8897. fi
  8898. fi
  8899. #
  8900. # Check to make sure the static flag actually works.
  8901. #
  8902. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8904. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8905. if ${lt_cv_prog_compiler_static_works+:} false; then :
  8906. $as_echo_n "(cached) " >&6
  8907. else
  8908. lt_cv_prog_compiler_static_works=no
  8909. save_LDFLAGS="$LDFLAGS"
  8910. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8911. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8912. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8913. # The linker can only warn and ignore the option if not recognized
  8914. # So say no if there are warnings
  8915. if test -s conftest.err; then
  8916. # Append any errors to the config.log.
  8917. cat conftest.err 1>&5
  8918. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8919. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8920. if diff conftest.exp conftest.er2 >/dev/null; then
  8921. lt_cv_prog_compiler_static_works=yes
  8922. fi
  8923. else
  8924. lt_cv_prog_compiler_static_works=yes
  8925. fi
  8926. fi
  8927. $RM -r conftest*
  8928. LDFLAGS="$save_LDFLAGS"
  8929. fi
  8930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8931. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8932. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8933. :
  8934. else
  8935. lt_prog_compiler_static=
  8936. fi
  8937. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8938. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8939. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8940. $as_echo_n "(cached) " >&6
  8941. else
  8942. lt_cv_prog_compiler_c_o=no
  8943. $RM -r conftest 2>/dev/null
  8944. mkdir conftest
  8945. cd conftest
  8946. mkdir out
  8947. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8948. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8949. # Insert the option either (1) after the last *FLAGS variable, or
  8950. # (2) before a word containing "conftest.", or (3) at the end.
  8951. # Note that $ac_compile itself does not contain backslashes and begins
  8952. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8953. lt_compile=`echo "$ac_compile" | $SED \
  8954. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8955. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8956. -e 's:$: $lt_compiler_flag:'`
  8957. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8958. (eval "$lt_compile" 2>out/conftest.err)
  8959. ac_status=$?
  8960. cat out/conftest.err >&5
  8961. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8962. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8963. then
  8964. # The compiler can only warn and ignore the option if not recognized
  8965. # So say no if there are warnings
  8966. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8967. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8968. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8969. lt_cv_prog_compiler_c_o=yes
  8970. fi
  8971. fi
  8972. chmod u+w . 2>&5
  8973. $RM conftest*
  8974. # SGI C++ compiler will create directory out/ii_files/ for
  8975. # template instantiation
  8976. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8977. $RM out/* && rmdir out
  8978. cd ..
  8979. $RM -r conftest
  8980. $RM conftest*
  8981. fi
  8982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8983. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8985. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8986. if ${lt_cv_prog_compiler_c_o+:} false; then :
  8987. $as_echo_n "(cached) " >&6
  8988. else
  8989. lt_cv_prog_compiler_c_o=no
  8990. $RM -r conftest 2>/dev/null
  8991. mkdir conftest
  8992. cd conftest
  8993. mkdir out
  8994. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8995. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8996. # Insert the option either (1) after the last *FLAGS variable, or
  8997. # (2) before a word containing "conftest.", or (3) at the end.
  8998. # Note that $ac_compile itself does not contain backslashes and begins
  8999. # with a dollar sign (not a hyphen), so the echo should work correctly.
  9000. lt_compile=`echo "$ac_compile" | $SED \
  9001. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9002. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9003. -e 's:$: $lt_compiler_flag:'`
  9004. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  9005. (eval "$lt_compile" 2>out/conftest.err)
  9006. ac_status=$?
  9007. cat out/conftest.err >&5
  9008. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9009. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9010. then
  9011. # The compiler can only warn and ignore the option if not recognized
  9012. # So say no if there are warnings
  9013. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  9014. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9015. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9016. lt_cv_prog_compiler_c_o=yes
  9017. fi
  9018. fi
  9019. chmod u+w . 2>&5
  9020. $RM conftest*
  9021. # SGI C++ compiler will create directory out/ii_files/ for
  9022. # template instantiation
  9023. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9024. $RM out/* && rmdir out
  9025. cd ..
  9026. $RM -r conftest
  9027. $RM conftest*
  9028. fi
  9029. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  9030. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9031. hard_links="nottested"
  9032. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  9033. # do not overwrite the value of need_locks provided by the user
  9034. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  9035. $as_echo_n "checking if we can lock with hard links... " >&6; }
  9036. hard_links=yes
  9037. $RM conftest*
  9038. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9039. touch conftest.a
  9040. ln conftest.a conftest.b 2>&5 || hard_links=no
  9041. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  9043. $as_echo "$hard_links" >&6; }
  9044. if test "$hard_links" = no; then
  9045. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  9046. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  9047. need_locks=warn
  9048. fi
  9049. else
  9050. need_locks=no
  9051. fi
  9052. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9053. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  9054. runpath_var=
  9055. allow_undefined_flag=
  9056. always_export_symbols=no
  9057. archive_cmds=
  9058. archive_expsym_cmds=
  9059. compiler_needs_object=no
  9060. enable_shared_with_static_runtimes=no
  9061. export_dynamic_flag_spec=
  9062. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9063. hardcode_automatic=no
  9064. hardcode_direct=no
  9065. hardcode_direct_absolute=no
  9066. hardcode_libdir_flag_spec=
  9067. hardcode_libdir_flag_spec_ld=
  9068. hardcode_libdir_separator=
  9069. hardcode_minus_L=no
  9070. hardcode_shlibpath_var=unsupported
  9071. inherit_rpath=no
  9072. link_all_deplibs=unknown
  9073. module_cmds=
  9074. module_expsym_cmds=
  9075. old_archive_from_new_cmds=
  9076. old_archive_from_expsyms_cmds=
  9077. thread_safe_flag_spec=
  9078. whole_archive_flag_spec=
  9079. # include_expsyms should be a list of space-separated symbols to be *always*
  9080. # included in the symbol list
  9081. include_expsyms=
  9082. # exclude_expsyms can be an extended regexp of symbols to exclude
  9083. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9084. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9085. # as well as any symbol that contains `d'.
  9086. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  9087. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9088. # platforms (ab)use it in PIC code, but their linkers get confused if
  9089. # the symbol is explicitly referenced. Since portable code cannot
  9090. # rely on this symbol name, it's probably fine to never include it in
  9091. # preloaded symbol tables.
  9092. # Exclude shared library initialization/finalization symbols.
  9093. extract_expsyms_cmds=
  9094. case $host_os in
  9095. cygwin* | mingw* | pw32* | cegcc*)
  9096. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9097. # When not using gcc, we currently assume that we are using
  9098. # Microsoft Visual C++.
  9099. if test "$GCC" != yes; then
  9100. with_gnu_ld=no
  9101. fi
  9102. ;;
  9103. interix*)
  9104. # we just hope/assume this is gcc and not c89 (= MSVC++)
  9105. with_gnu_ld=yes
  9106. ;;
  9107. openbsd*)
  9108. with_gnu_ld=no
  9109. ;;
  9110. esac
  9111. ld_shlibs=yes
  9112. # On some targets, GNU ld is compatible enough with the native linker
  9113. # that we're better off using the native interface for both.
  9114. lt_use_gnu_ld_interface=no
  9115. if test "$with_gnu_ld" = yes; then
  9116. case $host_os in
  9117. aix*)
  9118. # The AIX port of GNU ld has always aspired to compatibility
  9119. # with the native linker. However, as the warning in the GNU ld
  9120. # block says, versions before 2.19.5* couldn't really create working
  9121. # shared libraries, regardless of the interface used.
  9122. case `$LD -v 2>&1` in
  9123. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  9124. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  9125. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  9126. *)
  9127. lt_use_gnu_ld_interface=yes
  9128. ;;
  9129. esac
  9130. ;;
  9131. *)
  9132. lt_use_gnu_ld_interface=yes
  9133. ;;
  9134. esac
  9135. fi
  9136. if test "$lt_use_gnu_ld_interface" = yes; then
  9137. # If archive_cmds runs LD, not CC, wlarc should be empty
  9138. wlarc='${wl}'
  9139. # Set some defaults for GNU ld with shared library support. These
  9140. # are reset later if shared libraries are not supported. Putting them
  9141. # here allows them to be overridden if necessary.
  9142. runpath_var=LD_RUN_PATH
  9143. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9144. export_dynamic_flag_spec='${wl}--export-dynamic'
  9145. # ancient GNU ld didn't support --whole-archive et. al.
  9146. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9147. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9148. else
  9149. whole_archive_flag_spec=
  9150. fi
  9151. supports_anon_versioning=no
  9152. case `$LD -v 2>&1` in
  9153. *GNU\ gold*) supports_anon_versioning=yes ;;
  9154. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  9155. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9156. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9157. *\ 2.11.*) ;; # other 2.11 versions
  9158. *) supports_anon_versioning=yes ;;
  9159. esac
  9160. # See if GNU ld supports shared libraries.
  9161. case $host_os in
  9162. aix[3-9]*)
  9163. # On AIX/PPC, the GNU linker is very broken
  9164. if test "$host_cpu" != ia64; then
  9165. ld_shlibs=no
  9166. cat <<_LT_EOF 1>&2
  9167. *** Warning: the GNU linker, at least up to release 2.19, is reported
  9168. *** to be unable to reliably create shared libraries on AIX.
  9169. *** Therefore, libtool is disabling shared libraries support. If you
  9170. *** really care for shared libraries, you may want to install binutils
  9171. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  9172. *** You will then need to restart the configuration process.
  9173. _LT_EOF
  9174. fi
  9175. ;;
  9176. amigaos*)
  9177. case $host_cpu in
  9178. powerpc)
  9179. # see comment about AmigaOS4 .so support
  9180. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9181. archive_expsym_cmds=''
  9182. ;;
  9183. m68k)
  9184. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  9185. hardcode_libdir_flag_spec='-L$libdir'
  9186. hardcode_minus_L=yes
  9187. ;;
  9188. esac
  9189. ;;
  9190. beos*)
  9191. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9192. allow_undefined_flag=unsupported
  9193. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9194. # support --undefined. This deserves some investigation. FIXME
  9195. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9196. else
  9197. ld_shlibs=no
  9198. fi
  9199. ;;
  9200. cygwin* | mingw* | pw32* | cegcc*)
  9201. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9202. # as there is no search path for DLLs.
  9203. hardcode_libdir_flag_spec='-L$libdir'
  9204. export_dynamic_flag_spec='${wl}--export-all-symbols'
  9205. allow_undefined_flag=unsupported
  9206. always_export_symbols=no
  9207. enable_shared_with_static_runtimes=yes
  9208. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9209. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9210. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9211. # If the export-symbols file already is a .def file (1st line
  9212. # is EXPORTS), use it as is; otherwise, prepend...
  9213. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9214. cp $export_symbols $output_objdir/$soname.def;
  9215. else
  9216. echo EXPORTS > $output_objdir/$soname.def;
  9217. cat $export_symbols >> $output_objdir/$soname.def;
  9218. fi~
  9219. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9220. else
  9221. ld_shlibs=no
  9222. fi
  9223. ;;
  9224. haiku*)
  9225. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9226. link_all_deplibs=yes
  9227. ;;
  9228. interix[3-9]*)
  9229. hardcode_direct=no
  9230. hardcode_shlibpath_var=no
  9231. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9232. export_dynamic_flag_spec='${wl}-E'
  9233. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9234. # Instead, shared libraries are loaded at an image base (0x10000000 by
  9235. # default) and relocated if they conflict, which is a slow very memory
  9236. # consuming and fragmenting process. To avoid this, we pick a random,
  9237. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9238. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  9239. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9240. archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9241. ;;
  9242. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
  9243. tmp_diet=no
  9244. if test "$host_os" = linux-dietlibc; then
  9245. case $cc_basename in
  9246. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  9247. esac
  9248. fi
  9249. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9250. && test "$tmp_diet" = no
  9251. then
  9252. tmp_addflag=' $pic_flag'
  9253. tmp_sharedflag='-shared'
  9254. case $cc_basename,$host_cpu in
  9255. pgcc*) # Portland Group C compiler
  9256. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9257. tmp_addflag=' $pic_flag'
  9258. ;;
  9259. pgf77* | pgf90* | pgf95* | pgfortran*)
  9260. # Portland Group f77 and f90 compilers
  9261. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9262. tmp_addflag=' $pic_flag -Mnomain' ;;
  9263. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  9264. tmp_addflag=' -i_dynamic' ;;
  9265. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  9266. tmp_addflag=' -i_dynamic -nofor_main' ;;
  9267. ifc* | ifort*) # Intel Fortran compiler
  9268. tmp_addflag=' -nofor_main' ;;
  9269. lf95*) # Lahey Fortran 8.1
  9270. whole_archive_flag_spec=
  9271. tmp_sharedflag='--shared' ;;
  9272. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  9273. tmp_sharedflag='-qmkshrobj'
  9274. tmp_addflag= ;;
  9275. nvcc*) # Cuda Compiler Driver 2.2
  9276. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9277. compiler_needs_object=yes
  9278. ;;
  9279. esac
  9280. case `$CC -V 2>&1 | sed 5q` in
  9281. *Sun\ C*) # Sun C 5.9
  9282. whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  9283. compiler_needs_object=yes
  9284. tmp_sharedflag='-G' ;;
  9285. *Sun\ F*) # Sun Fortran 8.3
  9286. tmp_sharedflag='-G' ;;
  9287. esac
  9288. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9289. if test "x$supports_anon_versioning" = xyes; then
  9290. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9291. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9292. echo "local: *; };" >> $output_objdir/$libname.ver~
  9293. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9294. fi
  9295. case $cc_basename in
  9296. xlf* | bgf* | bgxlf* | mpixlf*)
  9297. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9298. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9299. hardcode_libdir_flag_spec=
  9300. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9301. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9302. if test "x$supports_anon_versioning" = xyes; then
  9303. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9304. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9305. echo "local: *; };" >> $output_objdir/$libname.ver~
  9306. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9307. fi
  9308. ;;
  9309. esac
  9310. else
  9311. ld_shlibs=no
  9312. fi
  9313. ;;
  9314. netbsd*)
  9315. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9316. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9317. wlarc=
  9318. else
  9319. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9320. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9321. fi
  9322. ;;
  9323. solaris*)
  9324. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9325. ld_shlibs=no
  9326. cat <<_LT_EOF 1>&2
  9327. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9328. *** create shared libraries on Solaris systems. Therefore, libtool
  9329. *** is disabling shared libraries support. We urge you to upgrade GNU
  9330. *** binutils to release 2.9.1 or newer. Another option is to modify
  9331. *** your PATH or compiler configuration so that the native linker is
  9332. *** used, and then restart.
  9333. _LT_EOF
  9334. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9335. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9336. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9337. else
  9338. ld_shlibs=no
  9339. fi
  9340. ;;
  9341. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9342. case `$LD -v 2>&1` in
  9343. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9344. ld_shlibs=no
  9345. cat <<_LT_EOF 1>&2
  9346. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9347. *** reliably create shared libraries on SCO systems. Therefore, libtool
  9348. *** is disabling shared libraries support. We urge you to upgrade GNU
  9349. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9350. *** your PATH or compiler configuration so that the native linker is
  9351. *** used, and then restart.
  9352. _LT_EOF
  9353. ;;
  9354. *)
  9355. # For security reasons, it is highly recommended that you always
  9356. # use absolute paths for naming shared libraries, and exclude the
  9357. # DT_RUNPATH tag from executables and libraries. But doing so
  9358. # requires that you compile everything twice, which is a pain.
  9359. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9360. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9361. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9362. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9363. else
  9364. ld_shlibs=no
  9365. fi
  9366. ;;
  9367. esac
  9368. ;;
  9369. sunos4*)
  9370. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9371. wlarc=
  9372. hardcode_direct=yes
  9373. hardcode_shlibpath_var=no
  9374. ;;
  9375. *)
  9376. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9377. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9378. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9379. else
  9380. ld_shlibs=no
  9381. fi
  9382. ;;
  9383. esac
  9384. if test "$ld_shlibs" = no; then
  9385. runpath_var=
  9386. hardcode_libdir_flag_spec=
  9387. export_dynamic_flag_spec=
  9388. whole_archive_flag_spec=
  9389. fi
  9390. else
  9391. # PORTME fill in a description of your system's linker (not GNU ld)
  9392. case $host_os in
  9393. aix3*)
  9394. allow_undefined_flag=unsupported
  9395. always_export_symbols=yes
  9396. archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  9397. # Note: this linker hardcodes the directories in LIBPATH if there
  9398. # are no directories specified by -L.
  9399. hardcode_minus_L=yes
  9400. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9401. # Neither direct hardcoding nor static linking is supported with a
  9402. # broken collect2.
  9403. hardcode_direct=unsupported
  9404. fi
  9405. ;;
  9406. aix[4-9]*)
  9407. if test "$host_cpu" = ia64; then
  9408. # On IA64, the linker does run time linking by default, so we don't
  9409. # have to do anything special.
  9410. aix_use_runtimelinking=no
  9411. exp_sym_flag='-Bexport'
  9412. no_entry_flag=""
  9413. else
  9414. # If we're using GNU nm, then we don't want the "-C" option.
  9415. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9416. # Also, AIX nm treats weak defined symbols like other global
  9417. # defined symbols, whereas GNU nm marks them as "W".
  9418. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9419. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9420. else
  9421. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9422. fi
  9423. aix_use_runtimelinking=no
  9424. # Test if we are trying to use run time linking or normal
  9425. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9426. # need to do runtime linking.
  9427. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9428. for ld_flag in $LDFLAGS; do
  9429. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9430. aix_use_runtimelinking=yes
  9431. break
  9432. fi
  9433. done
  9434. ;;
  9435. esac
  9436. exp_sym_flag='-bexport'
  9437. no_entry_flag='-bnoentry'
  9438. fi
  9439. # When large executables or shared objects are built, AIX ld can
  9440. # have problems creating the table of contents. If linking a library
  9441. # or program results in "error TOC overflow" add -mminimal-toc to
  9442. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9443. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9444. archive_cmds=''
  9445. hardcode_direct=yes
  9446. hardcode_direct_absolute=yes
  9447. hardcode_libdir_separator=':'
  9448. link_all_deplibs=yes
  9449. file_list_spec='${wl}-f,'
  9450. if test "$GCC" = yes; then
  9451. case $host_os in aix4.[012]|aix4.[012].*)
  9452. # We only want to do this on AIX 4.2 and lower, the check
  9453. # below for broken collect2 doesn't work under 4.3+
  9454. collect2name=`${CC} -print-prog-name=collect2`
  9455. if test -f "$collect2name" &&
  9456. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9457. then
  9458. # We have reworked collect2
  9459. :
  9460. else
  9461. # We have old collect2
  9462. hardcode_direct=unsupported
  9463. # It fails to find uninstalled libraries when the uninstalled
  9464. # path is not listed in the libpath. Setting hardcode_minus_L
  9465. # to unsupported forces relinking
  9466. hardcode_minus_L=yes
  9467. hardcode_libdir_flag_spec='-L$libdir'
  9468. hardcode_libdir_separator=
  9469. fi
  9470. ;;
  9471. esac
  9472. shared_flag='-shared'
  9473. if test "$aix_use_runtimelinking" = yes; then
  9474. shared_flag="$shared_flag "'${wl}-G'
  9475. fi
  9476. else
  9477. # not using gcc
  9478. if test "$host_cpu" = ia64; then
  9479. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9480. # chokes on -Wl,-G. The following line is correct:
  9481. shared_flag='-G'
  9482. else
  9483. if test "$aix_use_runtimelinking" = yes; then
  9484. shared_flag='${wl}-G'
  9485. else
  9486. shared_flag='${wl}-bM:SRE'
  9487. fi
  9488. fi
  9489. fi
  9490. export_dynamic_flag_spec='${wl}-bexpall'
  9491. # It seems that -bexpall does not export symbols beginning with
  9492. # underscore (_), so it is better to generate a list of symbols to export.
  9493. always_export_symbols=yes
  9494. if test "$aix_use_runtimelinking" = yes; then
  9495. # Warning - without using the other runtime loading flags (-brtl),
  9496. # -berok will link without error, but may produce a broken library.
  9497. allow_undefined_flag='-berok'
  9498. # Determine the default libpath from the value encoded in an
  9499. # empty executable.
  9500. if test x$gcc_no_link = xyes; then
  9501. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9502. fi
  9503. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9504. /* end confdefs.h. */
  9505. int
  9506. main ()
  9507. {
  9508. ;
  9509. return 0;
  9510. }
  9511. _ACEOF
  9512. if ac_fn_c_try_link "$LINENO"; then :
  9513. lt_aix_libpath_sed='
  9514. /Import File Strings/,/^$/ {
  9515. /^0/ {
  9516. s/^0 *\(.*\)$/\1/
  9517. p
  9518. }
  9519. }'
  9520. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9521. # Check for a 64-bit object if we didn't find anything.
  9522. if test -z "$aix_libpath"; then
  9523. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9524. fi
  9525. fi
  9526. rm -f core conftest.err conftest.$ac_objext \
  9527. conftest$ac_exeext conftest.$ac_ext
  9528. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9529. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9530. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9531. else
  9532. if test "$host_cpu" = ia64; then
  9533. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9534. allow_undefined_flag="-z nodefs"
  9535. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  9536. else
  9537. # Determine the default libpath from the value encoded in an
  9538. # empty executable.
  9539. if test x$gcc_no_link = xyes; then
  9540. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9541. fi
  9542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9543. /* end confdefs.h. */
  9544. int
  9545. main ()
  9546. {
  9547. ;
  9548. return 0;
  9549. }
  9550. _ACEOF
  9551. if ac_fn_c_try_link "$LINENO"; then :
  9552. lt_aix_libpath_sed='
  9553. /Import File Strings/,/^$/ {
  9554. /^0/ {
  9555. s/^0 *\(.*\)$/\1/
  9556. p
  9557. }
  9558. }'
  9559. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9560. # Check for a 64-bit object if we didn't find anything.
  9561. if test -z "$aix_libpath"; then
  9562. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9563. fi
  9564. fi
  9565. rm -f core conftest.err conftest.$ac_objext \
  9566. conftest$ac_exeext conftest.$ac_ext
  9567. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9568. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9569. # Warning - without using the other run time loading flags,
  9570. # -berok will link without error, but may produce a broken library.
  9571. no_undefined_flag=' ${wl}-bernotok'
  9572. allow_undefined_flag=' ${wl}-berok'
  9573. if test "$with_gnu_ld" = yes; then
  9574. # We only use this code for GNU lds that support --whole-archive.
  9575. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9576. else
  9577. # Exported symbols can be pulled into shared objects from archives
  9578. whole_archive_flag_spec='$convenience'
  9579. fi
  9580. archive_cmds_need_lc=yes
  9581. # This is similar to how AIX traditionally builds its shared libraries.
  9582. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  9583. fi
  9584. fi
  9585. ;;
  9586. amigaos*)
  9587. case $host_cpu in
  9588. powerpc)
  9589. # see comment about AmigaOS4 .so support
  9590. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9591. archive_expsym_cmds=''
  9592. ;;
  9593. m68k)
  9594. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  9595. hardcode_libdir_flag_spec='-L$libdir'
  9596. hardcode_minus_L=yes
  9597. ;;
  9598. esac
  9599. ;;
  9600. bsdi[45]*)
  9601. export_dynamic_flag_spec=-rdynamic
  9602. ;;
  9603. cygwin* | mingw* | pw32* | cegcc*)
  9604. # When not using gcc, we currently assume that we are using
  9605. # Microsoft Visual C++.
  9606. # hardcode_libdir_flag_spec is actually meaningless, as there is
  9607. # no search path for DLLs.
  9608. hardcode_libdir_flag_spec=' '
  9609. allow_undefined_flag=unsupported
  9610. # Tell ltmain to make .lib files, not .a files.
  9611. libext=lib
  9612. # Tell ltmain to make .dll files, not .so files.
  9613. shrext_cmds=".dll"
  9614. # FIXME: Setting linknames here is a bad hack.
  9615. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9616. # The linker will automatically build a .lib file if we build a DLL.
  9617. old_archive_from_new_cmds='true'
  9618. # FIXME: Should let the user specify the lib program.
  9619. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9620. fix_srcfile_path='`cygpath -w "$srcfile"`'
  9621. enable_shared_with_static_runtimes=yes
  9622. ;;
  9623. darwin* | rhapsody*)
  9624. archive_cmds_need_lc=no
  9625. hardcode_direct=no
  9626. hardcode_automatic=yes
  9627. hardcode_shlibpath_var=unsupported
  9628. if test "$lt_cv_ld_force_load" = "yes"; then
  9629. whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  9630. else
  9631. whole_archive_flag_spec=''
  9632. fi
  9633. link_all_deplibs=yes
  9634. allow_undefined_flag="$_lt_dar_allow_undefined"
  9635. case $cc_basename in
  9636. ifort*) _lt_dar_can_shared=yes ;;
  9637. *) _lt_dar_can_shared=$GCC ;;
  9638. esac
  9639. if test "$_lt_dar_can_shared" = "yes"; then
  9640. output_verbose_link_cmd=func_echo_all
  9641. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9642. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9643. archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  9644. module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  9645. else
  9646. ld_shlibs=no
  9647. fi
  9648. ;;
  9649. dgux*)
  9650. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9651. hardcode_libdir_flag_spec='-L$libdir'
  9652. hardcode_shlibpath_var=no
  9653. ;;
  9654. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9655. # support. Future versions do this automatically, but an explicit c++rt0.o
  9656. # does not break anything, and helps significantly (at the cost of a little
  9657. # extra space).
  9658. freebsd2.2*)
  9659. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9660. hardcode_libdir_flag_spec='-R$libdir'
  9661. hardcode_direct=yes
  9662. hardcode_shlibpath_var=no
  9663. ;;
  9664. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9665. freebsd2.*)
  9666. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9667. hardcode_direct=yes
  9668. hardcode_minus_L=yes
  9669. hardcode_shlibpath_var=no
  9670. ;;
  9671. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9672. freebsd* | dragonfly*)
  9673. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9674. hardcode_libdir_flag_spec='-R$libdir'
  9675. hardcode_direct=yes
  9676. hardcode_shlibpath_var=no
  9677. ;;
  9678. hpux9*)
  9679. if test "$GCC" = yes; then
  9680. archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9681. else
  9682. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  9683. fi
  9684. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9685. hardcode_libdir_separator=:
  9686. hardcode_direct=yes
  9687. # hardcode_minus_L: Not really in the search PATH,
  9688. # but as the default location of the library.
  9689. hardcode_minus_L=yes
  9690. export_dynamic_flag_spec='${wl}-E'
  9691. ;;
  9692. hpux10*)
  9693. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9694. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9695. else
  9696. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9697. fi
  9698. if test "$with_gnu_ld" = no; then
  9699. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9700. hardcode_libdir_flag_spec_ld='+b $libdir'
  9701. hardcode_libdir_separator=:
  9702. hardcode_direct=yes
  9703. hardcode_direct_absolute=yes
  9704. export_dynamic_flag_spec='${wl}-E'
  9705. # hardcode_minus_L: Not really in the search PATH,
  9706. # but as the default location of the library.
  9707. hardcode_minus_L=yes
  9708. fi
  9709. ;;
  9710. hpux11*)
  9711. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9712. case $host_cpu in
  9713. hppa*64*)
  9714. archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9715. ;;
  9716. ia64*)
  9717. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9718. ;;
  9719. *)
  9720. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9721. ;;
  9722. esac
  9723. else
  9724. case $host_cpu in
  9725. hppa*64*)
  9726. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9727. ;;
  9728. ia64*)
  9729. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9730. ;;
  9731. *)
  9732. # Older versions of the 11.00 compiler do not understand -b yet
  9733. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9734. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9735. $as_echo_n "checking if $CC understands -b... " >&6; }
  9736. if ${lt_cv_prog_compiler__b+:} false; then :
  9737. $as_echo_n "(cached) " >&6
  9738. else
  9739. lt_cv_prog_compiler__b=no
  9740. save_LDFLAGS="$LDFLAGS"
  9741. LDFLAGS="$LDFLAGS -b"
  9742. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9743. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9744. # The linker can only warn and ignore the option if not recognized
  9745. # So say no if there are warnings
  9746. if test -s conftest.err; then
  9747. # Append any errors to the config.log.
  9748. cat conftest.err 1>&5
  9749. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9750. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9751. if diff conftest.exp conftest.er2 >/dev/null; then
  9752. lt_cv_prog_compiler__b=yes
  9753. fi
  9754. else
  9755. lt_cv_prog_compiler__b=yes
  9756. fi
  9757. fi
  9758. $RM -r conftest*
  9759. LDFLAGS="$save_LDFLAGS"
  9760. fi
  9761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9762. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9763. if test x"$lt_cv_prog_compiler__b" = xyes; then
  9764. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9765. else
  9766. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9767. fi
  9768. ;;
  9769. esac
  9770. fi
  9771. if test "$with_gnu_ld" = no; then
  9772. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9773. hardcode_libdir_separator=:
  9774. case $host_cpu in
  9775. hppa*64*|ia64*)
  9776. hardcode_direct=no
  9777. hardcode_shlibpath_var=no
  9778. ;;
  9779. *)
  9780. hardcode_direct=yes
  9781. hardcode_direct_absolute=yes
  9782. export_dynamic_flag_spec='${wl}-E'
  9783. # hardcode_minus_L: Not really in the search PATH,
  9784. # but as the default location of the library.
  9785. hardcode_minus_L=yes
  9786. ;;
  9787. esac
  9788. fi
  9789. ;;
  9790. irix5* | irix6* | nonstopux*)
  9791. if test "$GCC" = yes; then
  9792. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9793. # Try to use the -exported_symbol ld option, if it does not
  9794. # work, assume that -exports_file does not work either and
  9795. # implicitly export all symbols.
  9796. save_LDFLAGS="$LDFLAGS"
  9797. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9798. if test x$gcc_no_link = xyes; then
  9799. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9800. fi
  9801. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9802. /* end confdefs.h. */
  9803. int foo(void) {}
  9804. _ACEOF
  9805. if ac_fn_c_try_link "$LINENO"; then :
  9806. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  9807. fi
  9808. rm -f core conftest.err conftest.$ac_objext \
  9809. conftest$ac_exeext conftest.$ac_ext
  9810. LDFLAGS="$save_LDFLAGS"
  9811. else
  9812. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9813. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  9814. fi
  9815. archive_cmds_need_lc='no'
  9816. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9817. hardcode_libdir_separator=:
  9818. inherit_rpath=yes
  9819. link_all_deplibs=yes
  9820. ;;
  9821. netbsd*)
  9822. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9823. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9824. else
  9825. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  9826. fi
  9827. hardcode_libdir_flag_spec='-R$libdir'
  9828. hardcode_direct=yes
  9829. hardcode_shlibpath_var=no
  9830. ;;
  9831. newsos6)
  9832. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9833. hardcode_direct=yes
  9834. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9835. hardcode_libdir_separator=:
  9836. hardcode_shlibpath_var=no
  9837. ;;
  9838. *nto* | *qnx*)
  9839. ;;
  9840. openbsd*)
  9841. if test -f /usr/libexec/ld.so; then
  9842. hardcode_direct=yes
  9843. hardcode_shlibpath_var=no
  9844. hardcode_direct_absolute=yes
  9845. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9846. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9847. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9848. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9849. export_dynamic_flag_spec='${wl}-E'
  9850. else
  9851. case $host_os in
  9852. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9853. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9854. hardcode_libdir_flag_spec='-R$libdir'
  9855. ;;
  9856. *)
  9857. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9858. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9859. ;;
  9860. esac
  9861. fi
  9862. else
  9863. ld_shlibs=no
  9864. fi
  9865. ;;
  9866. os2*)
  9867. hardcode_libdir_flag_spec='-L$libdir'
  9868. hardcode_minus_L=yes
  9869. allow_undefined_flag=unsupported
  9870. archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  9871. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9872. ;;
  9873. osf3*)
  9874. if test "$GCC" = yes; then
  9875. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9876. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9877. else
  9878. allow_undefined_flag=' -expect_unresolved \*'
  9879. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9880. fi
  9881. archive_cmds_need_lc='no'
  9882. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9883. hardcode_libdir_separator=:
  9884. ;;
  9885. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9886. if test "$GCC" = yes; then
  9887. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9888. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9889. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9890. else
  9891. allow_undefined_flag=' -expect_unresolved \*'
  9892. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9893. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  9894. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  9895. # Both c and cxx compiler support -rpath directly
  9896. hardcode_libdir_flag_spec='-rpath $libdir'
  9897. fi
  9898. archive_cmds_need_lc='no'
  9899. hardcode_libdir_separator=:
  9900. ;;
  9901. solaris*)
  9902. no_undefined_flag=' -z defs'
  9903. if test "$GCC" = yes; then
  9904. wlarc='${wl}'
  9905. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9906. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9907. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9908. else
  9909. case `$CC -V 2>&1` in
  9910. *"Compilers 5.0"*)
  9911. wlarc=''
  9912. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9913. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9914. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9915. ;;
  9916. *)
  9917. wlarc='${wl}'
  9918. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9919. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9920. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9921. ;;
  9922. esac
  9923. fi
  9924. hardcode_libdir_flag_spec='-R$libdir'
  9925. hardcode_shlibpath_var=no
  9926. case $host_os in
  9927. solaris2.[0-5] | solaris2.[0-5].*) ;;
  9928. *)
  9929. # The compiler driver will combine and reorder linker options,
  9930. # but understands `-z linker_flag'. GCC discards it without `$wl',
  9931. # but is careful enough not to reorder.
  9932. # Supported since Solaris 2.6 (maybe 2.5.1?)
  9933. if test "$GCC" = yes; then
  9934. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9935. else
  9936. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9937. fi
  9938. ;;
  9939. esac
  9940. link_all_deplibs=yes
  9941. ;;
  9942. sunos4*)
  9943. if test "x$host_vendor" = xsequent; then
  9944. # Use $CC to link under sequent, because it throws in some extra .o
  9945. # files that make .init and .fini sections work.
  9946. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9947. else
  9948. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9949. fi
  9950. hardcode_libdir_flag_spec='-L$libdir'
  9951. hardcode_direct=yes
  9952. hardcode_minus_L=yes
  9953. hardcode_shlibpath_var=no
  9954. ;;
  9955. sysv4)
  9956. case $host_vendor in
  9957. sni)
  9958. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9959. hardcode_direct=yes # is this really true???
  9960. ;;
  9961. siemens)
  9962. ## LD is ld it makes a PLAMLIB
  9963. ## CC just makes a GrossModule.
  9964. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9965. reload_cmds='$CC -r -o $output$reload_objs'
  9966. hardcode_direct=no
  9967. ;;
  9968. motorola)
  9969. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9970. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9971. ;;
  9972. esac
  9973. runpath_var='LD_RUN_PATH'
  9974. hardcode_shlibpath_var=no
  9975. ;;
  9976. sysv4.3*)
  9977. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9978. hardcode_shlibpath_var=no
  9979. export_dynamic_flag_spec='-Bexport'
  9980. ;;
  9981. sysv4*MP*)
  9982. if test -d /usr/nec; then
  9983. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9984. hardcode_shlibpath_var=no
  9985. runpath_var=LD_RUN_PATH
  9986. hardcode_runpath_var=yes
  9987. ld_shlibs=yes
  9988. fi
  9989. ;;
  9990. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9991. no_undefined_flag='${wl}-z,text'
  9992. archive_cmds_need_lc=no
  9993. hardcode_shlibpath_var=no
  9994. runpath_var='LD_RUN_PATH'
  9995. if test "$GCC" = yes; then
  9996. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9997. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9998. else
  9999. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10000. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10001. fi
  10002. ;;
  10003. sysv5* | sco3.2v5* | sco5v6*)
  10004. # Note: We can NOT use -z defs as we might desire, because we do not
  10005. # link with -lc, and that would cause any symbols used from libc to
  10006. # always be unresolved, which means just about no library would
  10007. # ever link correctly. If we're not using GNU ld we use -z text
  10008. # though, which does catch some bad symbols but isn't as heavy-handed
  10009. # as -z defs.
  10010. no_undefined_flag='${wl}-z,text'
  10011. allow_undefined_flag='${wl}-z,nodefs'
  10012. archive_cmds_need_lc=no
  10013. hardcode_shlibpath_var=no
  10014. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  10015. hardcode_libdir_separator=':'
  10016. link_all_deplibs=yes
  10017. export_dynamic_flag_spec='${wl}-Bexport'
  10018. runpath_var='LD_RUN_PATH'
  10019. if test "$GCC" = yes; then
  10020. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10021. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10022. else
  10023. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10024. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  10025. fi
  10026. ;;
  10027. uts4*)
  10028. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  10029. hardcode_libdir_flag_spec='-L$libdir'
  10030. hardcode_shlibpath_var=no
  10031. ;;
  10032. *)
  10033. ld_shlibs=no
  10034. ;;
  10035. esac
  10036. if test x$host_vendor = xsni; then
  10037. case $host in
  10038. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  10039. export_dynamic_flag_spec='${wl}-Blargedynsym'
  10040. ;;
  10041. esac
  10042. fi
  10043. fi
  10044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  10045. $as_echo "$ld_shlibs" >&6; }
  10046. test "$ld_shlibs" = no && can_build_shared=no
  10047. with_gnu_ld=$with_gnu_ld
  10048. #
  10049. # Do we need to explicitly link libc?
  10050. #
  10051. case "x$archive_cmds_need_lc" in
  10052. x|xyes)
  10053. # Assume -lc should be added
  10054. archive_cmds_need_lc=yes
  10055. if test "$enable_shared" = yes && test "$GCC" = yes; then
  10056. case $archive_cmds in
  10057. *'~'*)
  10058. # FIXME: we may have to deal with multi-command sequences.
  10059. ;;
  10060. '$CC '*)
  10061. # Test whether the compiler implicitly links with -lc since on some
  10062. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  10063. # to ld, don't add -lc before -lgcc.
  10064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  10065. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  10066. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  10067. $as_echo_n "(cached) " >&6
  10068. else
  10069. $RM conftest*
  10070. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  10071. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10072. (eval $ac_compile) 2>&5
  10073. ac_status=$?
  10074. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10075. test $ac_status = 0; } 2>conftest.err; then
  10076. soname=conftest
  10077. lib=conftest
  10078. libobjs=conftest.$ac_objext
  10079. deplibs=
  10080. wl=$lt_prog_compiler_wl
  10081. pic_flag=$lt_prog_compiler_pic
  10082. compiler_flags=-v
  10083. linker_flags=-v
  10084. verstring=
  10085. output_objdir=.
  10086. libname=conftest
  10087. lt_save_allow_undefined_flag=$allow_undefined_flag
  10088. allow_undefined_flag=
  10089. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  10090. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  10091. ac_status=$?
  10092. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10093. test $ac_status = 0; }
  10094. then
  10095. lt_cv_archive_cmds_need_lc=no
  10096. else
  10097. lt_cv_archive_cmds_need_lc=yes
  10098. fi
  10099. allow_undefined_flag=$lt_save_allow_undefined_flag
  10100. else
  10101. cat conftest.err 1>&5
  10102. fi
  10103. $RM conftest*
  10104. fi
  10105. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  10106. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  10107. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  10108. ;;
  10109. esac
  10110. fi
  10111. ;;
  10112. esac
  10113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  10114. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  10115. if test "$GCC" = yes; then
  10116. case $host_os in
  10117. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  10118. *) lt_awk_arg="/^libraries:/" ;;
  10119. esac
  10120. case $host_os in
  10121. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  10122. *) lt_sed_strip_eq="s,=/,/,g" ;;
  10123. esac
  10124. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  10125. case $lt_search_path_spec in
  10126. *\;*)
  10127. # if the path contains ";" then we assume it to be the separator
  10128. # otherwise default to the standard path separator (i.e. ":") - it is
  10129. # assumed that no part of a normal pathname contains ";" but that should
  10130. # okay in the real world where ";" in dirpaths is itself problematic.
  10131. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  10132. ;;
  10133. *)
  10134. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  10135. ;;
  10136. esac
  10137. # Ok, now we have the path, separated by spaces, we can step through it
  10138. # and add multilib dir if necessary.
  10139. lt_tmp_lt_search_path_spec=
  10140. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  10141. for lt_sys_path in $lt_search_path_spec; do
  10142. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  10143. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  10144. else
  10145. test -d "$lt_sys_path" && \
  10146. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  10147. fi
  10148. done
  10149. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  10150. BEGIN {RS=" "; FS="/|\n";} {
  10151. lt_foo="";
  10152. lt_count=0;
  10153. for (lt_i = NF; lt_i > 0; lt_i--) {
  10154. if ($lt_i != "" && $lt_i != ".") {
  10155. if ($lt_i == "..") {
  10156. lt_count++;
  10157. } else {
  10158. if (lt_count == 0) {
  10159. lt_foo="/" $lt_i lt_foo;
  10160. } else {
  10161. lt_count--;
  10162. }
  10163. }
  10164. }
  10165. }
  10166. if (lt_foo != "") { lt_freq[lt_foo]++; }
  10167. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  10168. }'`
  10169. # AWK program above erroneously prepends '/' to C:/dos/paths
  10170. # for these hosts.
  10171. case $host_os in
  10172. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  10173. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  10174. esac
  10175. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  10176. else
  10177. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  10178. fi
  10179. library_names_spec=
  10180. libname_spec='lib$name'
  10181. soname_spec=
  10182. shrext_cmds=".so"
  10183. postinstall_cmds=
  10184. postuninstall_cmds=
  10185. finish_cmds=
  10186. finish_eval=
  10187. shlibpath_var=
  10188. shlibpath_overrides_runpath=unknown
  10189. version_type=none
  10190. dynamic_linker="$host_os ld.so"
  10191. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  10192. need_lib_prefix=unknown
  10193. hardcode_into_libs=no
  10194. # when you set need_version to no, make sure it does not cause -set_version
  10195. # flags to be left without arguments
  10196. need_version=unknown
  10197. case $host_os in
  10198. aix3*)
  10199. version_type=linux
  10200. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  10201. shlibpath_var=LIBPATH
  10202. # AIX 3 has no versioning support, so we append a major version to the name.
  10203. soname_spec='${libname}${release}${shared_ext}$major'
  10204. ;;
  10205. aix[4-9]*)
  10206. version_type=linux
  10207. need_lib_prefix=no
  10208. need_version=no
  10209. hardcode_into_libs=yes
  10210. if test "$host_cpu" = ia64; then
  10211. # AIX 5 supports IA64
  10212. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  10213. shlibpath_var=LD_LIBRARY_PATH
  10214. else
  10215. # With GCC up to 2.95.x, collect2 would create an import file
  10216. # for dependence libraries. The import file would start with
  10217. # the line `#! .'. This would cause the generated library to
  10218. # depend on `.', always an invalid library. This was fixed in
  10219. # development snapshots of GCC prior to 3.0.
  10220. case $host_os in
  10221. aix4 | aix4.[01] | aix4.[01].*)
  10222. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  10223. echo ' yes '
  10224. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  10225. :
  10226. else
  10227. can_build_shared=no
  10228. fi
  10229. ;;
  10230. esac
  10231. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  10232. # soname into executable. Probably we can add versioning support to
  10233. # collect2, so additional links can be useful in future.
  10234. if test "$aix_use_runtimelinking" = yes; then
  10235. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  10236. # instead of lib<name>.a to let people know that these are not
  10237. # typical AIX shared libraries.
  10238. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10239. else
  10240. # We preserve .a as extension for shared libraries through AIX4.2
  10241. # and later when we are not doing run time linking.
  10242. library_names_spec='${libname}${release}.a $libname.a'
  10243. soname_spec='${libname}${release}${shared_ext}$major'
  10244. fi
  10245. shlibpath_var=LIBPATH
  10246. fi
  10247. ;;
  10248. amigaos*)
  10249. case $host_cpu in
  10250. powerpc)
  10251. # Since July 2007 AmigaOS4 officially supports .so libraries.
  10252. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  10253. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10254. ;;
  10255. m68k)
  10256. library_names_spec='$libname.ixlibrary $libname.a'
  10257. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  10258. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  10259. ;;
  10260. esac
  10261. ;;
  10262. beos*)
  10263. library_names_spec='${libname}${shared_ext}'
  10264. dynamic_linker="$host_os ld.so"
  10265. shlibpath_var=LIBRARY_PATH
  10266. ;;
  10267. bsdi[45]*)
  10268. version_type=linux
  10269. need_version=no
  10270. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10271. soname_spec='${libname}${release}${shared_ext}$major'
  10272. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  10273. shlibpath_var=LD_LIBRARY_PATH
  10274. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  10275. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  10276. # the default ld.so.conf also contains /usr/contrib/lib and
  10277. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  10278. # libtool to hard-code these into programs
  10279. ;;
  10280. cygwin* | mingw* | pw32* | cegcc*)
  10281. version_type=windows
  10282. shrext_cmds=".dll"
  10283. need_version=no
  10284. need_lib_prefix=no
  10285. case $GCC,$host_os in
  10286. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  10287. library_names_spec='$libname.dll.a'
  10288. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  10289. postinstall_cmds='base_file=`basename \${file}`~
  10290. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  10291. dldir=$destdir/`dirname \$dlpath`~
  10292. test -d \$dldir || mkdir -p \$dldir~
  10293. $install_prog $dir/$dlname \$dldir/$dlname~
  10294. chmod a+x \$dldir/$dlname~
  10295. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  10296. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  10297. fi'
  10298. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  10299. dlpath=$dir/\$dldll~
  10300. $RM \$dlpath'
  10301. shlibpath_overrides_runpath=yes
  10302. case $host_os in
  10303. cygwin*)
  10304. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  10305. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10306. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  10307. ;;
  10308. mingw* | cegcc*)
  10309. # MinGW DLLs use traditional 'lib' prefix
  10310. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10311. ;;
  10312. pw32*)
  10313. # pw32 DLLs use 'pw' prefix rather than 'lib'
  10314. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  10315. ;;
  10316. esac
  10317. ;;
  10318. *)
  10319. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  10320. ;;
  10321. esac
  10322. dynamic_linker='Win32 ld.exe'
  10323. # FIXME: first we should search . and the directory the executable is in
  10324. shlibpath_var=PATH
  10325. ;;
  10326. darwin* | rhapsody*)
  10327. dynamic_linker="$host_os dyld"
  10328. version_type=darwin
  10329. need_lib_prefix=no
  10330. need_version=no
  10331. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  10332. soname_spec='${libname}${release}${major}$shared_ext'
  10333. shlibpath_overrides_runpath=yes
  10334. shlibpath_var=DYLD_LIBRARY_PATH
  10335. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  10336. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  10337. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  10338. ;;
  10339. dgux*)
  10340. version_type=linux
  10341. need_lib_prefix=no
  10342. need_version=no
  10343. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  10344. soname_spec='${libname}${release}${shared_ext}$major'
  10345. shlibpath_var=LD_LIBRARY_PATH
  10346. ;;
  10347. freebsd* | dragonfly*)
  10348. # DragonFly does not have aout. When/if they implement a new
  10349. # versioning mechanism, adjust this.
  10350. if test -x /usr/bin/objformat; then
  10351. objformat=`/usr/bin/objformat`
  10352. else
  10353. case $host_os in
  10354. freebsd[23].*) objformat=aout ;;
  10355. *) objformat=elf ;;
  10356. esac
  10357. fi
  10358. version_type=freebsd-$objformat
  10359. case $version_type in
  10360. freebsd-elf*)
  10361. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10362. need_version=no
  10363. need_lib_prefix=no
  10364. ;;
  10365. freebsd-*)
  10366. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  10367. need_version=yes
  10368. ;;
  10369. esac
  10370. shlibpath_var=LD_LIBRARY_PATH
  10371. case $host_os in
  10372. freebsd2.*)
  10373. shlibpath_overrides_runpath=yes
  10374. ;;
  10375. freebsd3.[01]* | freebsdelf3.[01]*)
  10376. shlibpath_overrides_runpath=yes
  10377. hardcode_into_libs=yes
  10378. ;;
  10379. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  10380. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  10381. shlibpath_overrides_runpath=no
  10382. hardcode_into_libs=yes
  10383. ;;
  10384. *) # from 4.6 on, and DragonFly
  10385. shlibpath_overrides_runpath=yes
  10386. hardcode_into_libs=yes
  10387. ;;
  10388. esac
  10389. ;;
  10390. haiku*)
  10391. version_type=linux
  10392. need_lib_prefix=no
  10393. need_version=no
  10394. dynamic_linker="$host_os runtime_loader"
  10395. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  10396. soname_spec='${libname}${release}${shared_ext}$major'
  10397. shlibpath_var=LIBRARY_PATH
  10398. shlibpath_overrides_runpath=yes
  10399. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  10400. hardcode_into_libs=yes
  10401. ;;
  10402. hpux9* | hpux10* | hpux11*)
  10403. # Give a soname corresponding to the major version so that dld.sl refuses to
  10404. # link against other versions.
  10405. version_type=sunos
  10406. need_lib_prefix=no
  10407. need_version=no
  10408. case $host_cpu in
  10409. ia64*)
  10410. shrext_cmds='.so'
  10411. hardcode_into_libs=yes
  10412. dynamic_linker="$host_os dld.so"
  10413. shlibpath_var=LD_LIBRARY_PATH
  10414. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10415. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10416. soname_spec='${libname}${release}${shared_ext}$major'
  10417. if test "X$HPUX_IA64_MODE" = X32; then
  10418. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  10419. else
  10420. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  10421. fi
  10422. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10423. ;;
  10424. hppa*64*)
  10425. shrext_cmds='.sl'
  10426. hardcode_into_libs=yes
  10427. dynamic_linker="$host_os dld.sl"
  10428. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  10429. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10430. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10431. soname_spec='${libname}${release}${shared_ext}$major'
  10432. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  10433. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10434. ;;
  10435. *)
  10436. shrext_cmds='.sl'
  10437. dynamic_linker="$host_os dld.sl"
  10438. shlibpath_var=SHLIB_PATH
  10439. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  10440. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10441. soname_spec='${libname}${release}${shared_ext}$major'
  10442. ;;
  10443. esac
  10444. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  10445. postinstall_cmds='chmod 555 $lib'
  10446. # or fails outright, so override atomically:
  10447. install_override_mode=555
  10448. ;;
  10449. interix[3-9]*)
  10450. version_type=linux
  10451. need_lib_prefix=no
  10452. need_version=no
  10453. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10454. soname_spec='${libname}${release}${shared_ext}$major'
  10455. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  10456. shlibpath_var=LD_LIBRARY_PATH
  10457. shlibpath_overrides_runpath=no
  10458. hardcode_into_libs=yes
  10459. ;;
  10460. irix5* | irix6* | nonstopux*)
  10461. case $host_os in
  10462. nonstopux*) version_type=nonstopux ;;
  10463. *)
  10464. if test "$lt_cv_prog_gnu_ld" = yes; then
  10465. version_type=linux
  10466. else
  10467. version_type=irix
  10468. fi ;;
  10469. esac
  10470. need_lib_prefix=no
  10471. need_version=no
  10472. soname_spec='${libname}${release}${shared_ext}$major'
  10473. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  10474. case $host_os in
  10475. irix5* | nonstopux*)
  10476. libsuff= shlibsuff=
  10477. ;;
  10478. *)
  10479. case $LD in # libtool.m4 will add one of these switches to LD
  10480. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  10481. libsuff= shlibsuff= libmagic=32-bit;;
  10482. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  10483. libsuff=32 shlibsuff=N32 libmagic=N32;;
  10484. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  10485. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  10486. *) libsuff= shlibsuff= libmagic=never-match;;
  10487. esac
  10488. ;;
  10489. esac
  10490. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  10491. shlibpath_overrides_runpath=no
  10492. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  10493. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  10494. hardcode_into_libs=yes
  10495. ;;
  10496. # No shared lib support for Linux oldld, aout, or coff.
  10497. linux*oldld* | linux*aout* | linux*coff*)
  10498. dynamic_linker=no
  10499. ;;
  10500. # This must be Linux ELF.
  10501. # uclinux* changes (here and below) have been submitted to the libtool
  10502. # project, but have not yet been accepted: they are GCC-local changes
  10503. # for the time being. (See
  10504. # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
  10505. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
  10506. version_type=linux
  10507. need_lib_prefix=no
  10508. need_version=no
  10509. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10510. soname_spec='${libname}${release}${shared_ext}$major'
  10511. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  10512. shlibpath_var=LD_LIBRARY_PATH
  10513. shlibpath_overrides_runpath=no
  10514. # Some binutils ld are patched to set DT_RUNPATH
  10515. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  10516. $as_echo_n "(cached) " >&6
  10517. else
  10518. lt_cv_shlibpath_overrides_runpath=no
  10519. save_LDFLAGS=$LDFLAGS
  10520. save_libdir=$libdir
  10521. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  10522. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  10523. if test x$gcc_no_link = xyes; then
  10524. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10525. fi
  10526. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10527. /* end confdefs.h. */
  10528. int
  10529. main ()
  10530. {
  10531. ;
  10532. return 0;
  10533. }
  10534. _ACEOF
  10535. if ac_fn_c_try_link "$LINENO"; then :
  10536. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  10537. lt_cv_shlibpath_overrides_runpath=yes
  10538. fi
  10539. fi
  10540. rm -f core conftest.err conftest.$ac_objext \
  10541. conftest$ac_exeext conftest.$ac_ext
  10542. LDFLAGS=$save_LDFLAGS
  10543. libdir=$save_libdir
  10544. fi
  10545. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  10546. # This implies no fast_install, which is unacceptable.
  10547. # Some rework will be needed to allow for fast_install
  10548. # before this can be enabled.
  10549. hardcode_into_libs=yes
  10550. # Append ld.so.conf contents to the search path
  10551. if test -f /etc/ld.so.conf; then
  10552. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  10553. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  10554. fi
  10555. # We used to test for /lib/ld.so.1 and disable shared libraries on
  10556. # powerpc, because MkLinux only supported shared libraries with the
  10557. # GNU dynamic linker. Since this was broken with cross compilers,
  10558. # most powerpc-linux boxes support dynamic linking these days and
  10559. # people can always --disable-shared, the test was removed, and we
  10560. # assume the GNU/Linux dynamic linker is in use.
  10561. dynamic_linker='GNU/Linux ld.so'
  10562. ;;
  10563. netbsd*)
  10564. version_type=sunos
  10565. need_lib_prefix=no
  10566. need_version=no
  10567. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10568. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10569. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10570. dynamic_linker='NetBSD (a.out) ld.so'
  10571. else
  10572. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10573. soname_spec='${libname}${release}${shared_ext}$major'
  10574. dynamic_linker='NetBSD ld.elf_so'
  10575. fi
  10576. shlibpath_var=LD_LIBRARY_PATH
  10577. shlibpath_overrides_runpath=yes
  10578. hardcode_into_libs=yes
  10579. ;;
  10580. newsos6)
  10581. version_type=linux
  10582. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10583. shlibpath_var=LD_LIBRARY_PATH
  10584. shlibpath_overrides_runpath=yes
  10585. ;;
  10586. *nto* | *qnx*)
  10587. version_type=qnx
  10588. need_lib_prefix=no
  10589. need_version=no
  10590. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10591. soname_spec='${libname}${release}${shared_ext}$major'
  10592. shlibpath_var=LD_LIBRARY_PATH
  10593. shlibpath_overrides_runpath=no
  10594. hardcode_into_libs=yes
  10595. dynamic_linker='ldqnx.so'
  10596. ;;
  10597. openbsd*)
  10598. version_type=sunos
  10599. sys_lib_dlsearch_path_spec="/usr/lib"
  10600. need_lib_prefix=no
  10601. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  10602. case $host_os in
  10603. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  10604. *) need_version=no ;;
  10605. esac
  10606. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10607. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10608. shlibpath_var=LD_LIBRARY_PATH
  10609. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10610. case $host_os in
  10611. openbsd2.[89] | openbsd2.[89].*)
  10612. shlibpath_overrides_runpath=no
  10613. ;;
  10614. *)
  10615. shlibpath_overrides_runpath=yes
  10616. ;;
  10617. esac
  10618. else
  10619. shlibpath_overrides_runpath=yes
  10620. fi
  10621. ;;
  10622. os2*)
  10623. libname_spec='$name'
  10624. shrext_cmds=".dll"
  10625. need_lib_prefix=no
  10626. library_names_spec='$libname${shared_ext} $libname.a'
  10627. dynamic_linker='OS/2 ld.exe'
  10628. shlibpath_var=LIBPATH
  10629. ;;
  10630. osf3* | osf4* | osf5*)
  10631. version_type=osf
  10632. need_lib_prefix=no
  10633. need_version=no
  10634. soname_spec='${libname}${release}${shared_ext}$major'
  10635. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10636. shlibpath_var=LD_LIBRARY_PATH
  10637. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10638. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  10639. ;;
  10640. rdos*)
  10641. dynamic_linker=no
  10642. ;;
  10643. solaris*)
  10644. version_type=linux
  10645. need_lib_prefix=no
  10646. need_version=no
  10647. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10648. soname_spec='${libname}${release}${shared_ext}$major'
  10649. shlibpath_var=LD_LIBRARY_PATH
  10650. shlibpath_overrides_runpath=yes
  10651. hardcode_into_libs=yes
  10652. # ldd complains unless libraries are executable
  10653. postinstall_cmds='chmod +x $lib'
  10654. ;;
  10655. sunos4*)
  10656. version_type=sunos
  10657. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10658. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10659. shlibpath_var=LD_LIBRARY_PATH
  10660. shlibpath_overrides_runpath=yes
  10661. if test "$with_gnu_ld" = yes; then
  10662. need_lib_prefix=no
  10663. fi
  10664. need_version=yes
  10665. ;;
  10666. sysv4 | sysv4.3*)
  10667. version_type=linux
  10668. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10669. soname_spec='${libname}${release}${shared_ext}$major'
  10670. shlibpath_var=LD_LIBRARY_PATH
  10671. case $host_vendor in
  10672. sni)
  10673. shlibpath_overrides_runpath=no
  10674. need_lib_prefix=no
  10675. runpath_var=LD_RUN_PATH
  10676. ;;
  10677. siemens)
  10678. need_lib_prefix=no
  10679. ;;
  10680. motorola)
  10681. need_lib_prefix=no
  10682. need_version=no
  10683. shlibpath_overrides_runpath=no
  10684. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10685. ;;
  10686. esac
  10687. ;;
  10688. sysv4*MP*)
  10689. if test -d /usr/nec ;then
  10690. version_type=linux
  10691. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  10692. soname_spec='$libname${shared_ext}.$major'
  10693. shlibpath_var=LD_LIBRARY_PATH
  10694. fi
  10695. ;;
  10696. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10697. version_type=freebsd-elf
  10698. need_lib_prefix=no
  10699. need_version=no
  10700. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10701. soname_spec='${libname}${release}${shared_ext}$major'
  10702. shlibpath_var=LD_LIBRARY_PATH
  10703. shlibpath_overrides_runpath=yes
  10704. hardcode_into_libs=yes
  10705. if test "$with_gnu_ld" = yes; then
  10706. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10707. else
  10708. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10709. case $host_os in
  10710. sco3.2v5*)
  10711. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10712. ;;
  10713. esac
  10714. fi
  10715. sys_lib_dlsearch_path_spec='/usr/lib'
  10716. ;;
  10717. tpf*)
  10718. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  10719. version_type=linux
  10720. need_lib_prefix=no
  10721. need_version=no
  10722. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10723. shlibpath_var=LD_LIBRARY_PATH
  10724. shlibpath_overrides_runpath=no
  10725. hardcode_into_libs=yes
  10726. ;;
  10727. uts4*)
  10728. version_type=linux
  10729. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10730. soname_spec='${libname}${release}${shared_ext}$major'
  10731. shlibpath_var=LD_LIBRARY_PATH
  10732. ;;
  10733. *)
  10734. dynamic_linker=no
  10735. ;;
  10736. esac
  10737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  10738. $as_echo "$dynamic_linker" >&6; }
  10739. test "$dynamic_linker" = no && can_build_shared=no
  10740. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10741. if test "$GCC" = yes; then
  10742. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10743. fi
  10744. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  10745. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  10746. fi
  10747. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  10748. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  10749. fi
  10750. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  10751. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  10752. hardcode_action=
  10753. if test -n "$hardcode_libdir_flag_spec" ||
  10754. test -n "$runpath_var" ||
  10755. test "X$hardcode_automatic" = "Xyes" ; then
  10756. # We can hardcode non-existent directories.
  10757. if test "$hardcode_direct" != no &&
  10758. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  10759. # have to relink, otherwise we might link with an installed library
  10760. # when we should be linking with a yet-to-be-installed one
  10761. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  10762. test "$hardcode_minus_L" != no; then
  10763. # Linking always hardcodes the temporary library directory.
  10764. hardcode_action=relink
  10765. else
  10766. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  10767. hardcode_action=immediate
  10768. fi
  10769. else
  10770. # We cannot hardcode anything, or else we can only hardcode existing
  10771. # directories.
  10772. hardcode_action=unsupported
  10773. fi
  10774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  10775. $as_echo "$hardcode_action" >&6; }
  10776. if test "$hardcode_action" = relink ||
  10777. test "$inherit_rpath" = yes; then
  10778. # Fast installation is not supported
  10779. enable_fast_install=no
  10780. elif test "$shlibpath_overrides_runpath" = yes ||
  10781. test "$enable_shared" = no; then
  10782. # Fast installation is not necessary
  10783. enable_fast_install=needless
  10784. fi
  10785. if test "x$enable_dlopen" != xyes; then
  10786. enable_dlopen=unknown
  10787. enable_dlopen_self=unknown
  10788. enable_dlopen_self_static=unknown
  10789. else
  10790. lt_cv_dlopen=no
  10791. lt_cv_dlopen_libs=
  10792. case $host_os in
  10793. beos*)
  10794. lt_cv_dlopen="load_add_on"
  10795. lt_cv_dlopen_libs=
  10796. lt_cv_dlopen_self=yes
  10797. ;;
  10798. mingw* | pw32* | cegcc*)
  10799. lt_cv_dlopen="LoadLibrary"
  10800. lt_cv_dlopen_libs=
  10801. ;;
  10802. cygwin*)
  10803. lt_cv_dlopen="dlopen"
  10804. lt_cv_dlopen_libs=
  10805. ;;
  10806. darwin*)
  10807. # if libdl is installed we need to link against it
  10808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10809. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10810. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10811. $as_echo_n "(cached) " >&6
  10812. else
  10813. ac_check_lib_save_LIBS=$LIBS
  10814. LIBS="-ldl $LIBS"
  10815. if test x$gcc_no_link = xyes; then
  10816. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10817. fi
  10818. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10819. /* end confdefs.h. */
  10820. /* Override any GCC internal prototype to avoid an error.
  10821. Use char because int might match the return type of a GCC
  10822. builtin and then its argument prototype would still apply. */
  10823. #ifdef __cplusplus
  10824. extern "C"
  10825. #endif
  10826. char dlopen ();
  10827. int
  10828. main ()
  10829. {
  10830. return dlopen ();
  10831. ;
  10832. return 0;
  10833. }
  10834. _ACEOF
  10835. if ac_fn_c_try_link "$LINENO"; then :
  10836. ac_cv_lib_dl_dlopen=yes
  10837. else
  10838. ac_cv_lib_dl_dlopen=no
  10839. fi
  10840. rm -f core conftest.err conftest.$ac_objext \
  10841. conftest$ac_exeext conftest.$ac_ext
  10842. LIBS=$ac_check_lib_save_LIBS
  10843. fi
  10844. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10845. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10846. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10847. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10848. else
  10849. lt_cv_dlopen="dyld"
  10850. lt_cv_dlopen_libs=
  10851. lt_cv_dlopen_self=yes
  10852. fi
  10853. ;;
  10854. *)
  10855. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10856. if test "x$ac_cv_func_shl_load" = xyes; then :
  10857. lt_cv_dlopen="shl_load"
  10858. else
  10859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10860. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10861. if ${ac_cv_lib_dld_shl_load+:} false; then :
  10862. $as_echo_n "(cached) " >&6
  10863. else
  10864. ac_check_lib_save_LIBS=$LIBS
  10865. LIBS="-ldld $LIBS"
  10866. if test x$gcc_no_link = xyes; then
  10867. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10868. fi
  10869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10870. /* end confdefs.h. */
  10871. /* Override any GCC internal prototype to avoid an error.
  10872. Use char because int might match the return type of a GCC
  10873. builtin and then its argument prototype would still apply. */
  10874. #ifdef __cplusplus
  10875. extern "C"
  10876. #endif
  10877. char shl_load ();
  10878. int
  10879. main ()
  10880. {
  10881. return shl_load ();
  10882. ;
  10883. return 0;
  10884. }
  10885. _ACEOF
  10886. if ac_fn_c_try_link "$LINENO"; then :
  10887. ac_cv_lib_dld_shl_load=yes
  10888. else
  10889. ac_cv_lib_dld_shl_load=no
  10890. fi
  10891. rm -f core conftest.err conftest.$ac_objext \
  10892. conftest$ac_exeext conftest.$ac_ext
  10893. LIBS=$ac_check_lib_save_LIBS
  10894. fi
  10895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10896. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10897. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  10898. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  10899. else
  10900. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10901. if test "x$ac_cv_func_dlopen" = xyes; then :
  10902. lt_cv_dlopen="dlopen"
  10903. else
  10904. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10905. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10906. if ${ac_cv_lib_dl_dlopen+:} false; then :
  10907. $as_echo_n "(cached) " >&6
  10908. else
  10909. ac_check_lib_save_LIBS=$LIBS
  10910. LIBS="-ldl $LIBS"
  10911. if test x$gcc_no_link = xyes; then
  10912. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10913. fi
  10914. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10915. /* end confdefs.h. */
  10916. /* Override any GCC internal prototype to avoid an error.
  10917. Use char because int might match the return type of a GCC
  10918. builtin and then its argument prototype would still apply. */
  10919. #ifdef __cplusplus
  10920. extern "C"
  10921. #endif
  10922. char dlopen ();
  10923. int
  10924. main ()
  10925. {
  10926. return dlopen ();
  10927. ;
  10928. return 0;
  10929. }
  10930. _ACEOF
  10931. if ac_fn_c_try_link "$LINENO"; then :
  10932. ac_cv_lib_dl_dlopen=yes
  10933. else
  10934. ac_cv_lib_dl_dlopen=no
  10935. fi
  10936. rm -f core conftest.err conftest.$ac_objext \
  10937. conftest$ac_exeext conftest.$ac_ext
  10938. LIBS=$ac_check_lib_save_LIBS
  10939. fi
  10940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10941. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10942. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  10943. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10944. else
  10945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10946. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10947. if ${ac_cv_lib_svld_dlopen+:} false; then :
  10948. $as_echo_n "(cached) " >&6
  10949. else
  10950. ac_check_lib_save_LIBS=$LIBS
  10951. LIBS="-lsvld $LIBS"
  10952. if test x$gcc_no_link = xyes; then
  10953. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10954. fi
  10955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10956. /* end confdefs.h. */
  10957. /* Override any GCC internal prototype to avoid an error.
  10958. Use char because int might match the return type of a GCC
  10959. builtin and then its argument prototype would still apply. */
  10960. #ifdef __cplusplus
  10961. extern "C"
  10962. #endif
  10963. char dlopen ();
  10964. int
  10965. main ()
  10966. {
  10967. return dlopen ();
  10968. ;
  10969. return 0;
  10970. }
  10971. _ACEOF
  10972. if ac_fn_c_try_link "$LINENO"; then :
  10973. ac_cv_lib_svld_dlopen=yes
  10974. else
  10975. ac_cv_lib_svld_dlopen=no
  10976. fi
  10977. rm -f core conftest.err conftest.$ac_objext \
  10978. conftest$ac_exeext conftest.$ac_ext
  10979. LIBS=$ac_check_lib_save_LIBS
  10980. fi
  10981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10982. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10983. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  10984. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10985. else
  10986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10987. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10988. if ${ac_cv_lib_dld_dld_link+:} false; then :
  10989. $as_echo_n "(cached) " >&6
  10990. else
  10991. ac_check_lib_save_LIBS=$LIBS
  10992. LIBS="-ldld $LIBS"
  10993. if test x$gcc_no_link = xyes; then
  10994. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10995. fi
  10996. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10997. /* end confdefs.h. */
  10998. /* Override any GCC internal prototype to avoid an error.
  10999. Use char because int might match the return type of a GCC
  11000. builtin and then its argument prototype would still apply. */
  11001. #ifdef __cplusplus
  11002. extern "C"
  11003. #endif
  11004. char dld_link ();
  11005. int
  11006. main ()
  11007. {
  11008. return dld_link ();
  11009. ;
  11010. return 0;
  11011. }
  11012. _ACEOF
  11013. if ac_fn_c_try_link "$LINENO"; then :
  11014. ac_cv_lib_dld_dld_link=yes
  11015. else
  11016. ac_cv_lib_dld_dld_link=no
  11017. fi
  11018. rm -f core conftest.err conftest.$ac_objext \
  11019. conftest$ac_exeext conftest.$ac_ext
  11020. LIBS=$ac_check_lib_save_LIBS
  11021. fi
  11022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  11023. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  11024. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  11025. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  11026. fi
  11027. fi
  11028. fi
  11029. fi
  11030. fi
  11031. fi
  11032. ;;
  11033. esac
  11034. if test "x$lt_cv_dlopen" != xno; then
  11035. enable_dlopen=yes
  11036. else
  11037. enable_dlopen=no
  11038. fi
  11039. case $lt_cv_dlopen in
  11040. dlopen)
  11041. save_CPPFLAGS="$CPPFLAGS"
  11042. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  11043. save_LDFLAGS="$LDFLAGS"
  11044. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  11045. save_LIBS="$LIBS"
  11046. LIBS="$lt_cv_dlopen_libs $LIBS"
  11047. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  11048. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  11049. if ${lt_cv_dlopen_self+:} false; then :
  11050. $as_echo_n "(cached) " >&6
  11051. else
  11052. if test "$cross_compiling" = yes; then :
  11053. lt_cv_dlopen_self=cross
  11054. else
  11055. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11056. lt_status=$lt_dlunknown
  11057. cat > conftest.$ac_ext <<_LT_EOF
  11058. #line 12769 "configure"
  11059. #include "confdefs.h"
  11060. #if HAVE_DLFCN_H
  11061. #include <dlfcn.h>
  11062. #endif
  11063. #include <stdio.h>
  11064. #ifdef RTLD_GLOBAL
  11065. # define LT_DLGLOBAL RTLD_GLOBAL
  11066. #else
  11067. # ifdef DL_GLOBAL
  11068. # define LT_DLGLOBAL DL_GLOBAL
  11069. # else
  11070. # define LT_DLGLOBAL 0
  11071. # endif
  11072. #endif
  11073. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11074. find out it does not work in some platform. */
  11075. #ifndef LT_DLLAZY_OR_NOW
  11076. # ifdef RTLD_LAZY
  11077. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  11078. # else
  11079. # ifdef DL_LAZY
  11080. # define LT_DLLAZY_OR_NOW DL_LAZY
  11081. # else
  11082. # ifdef RTLD_NOW
  11083. # define LT_DLLAZY_OR_NOW RTLD_NOW
  11084. # else
  11085. # ifdef DL_NOW
  11086. # define LT_DLLAZY_OR_NOW DL_NOW
  11087. # else
  11088. # define LT_DLLAZY_OR_NOW 0
  11089. # endif
  11090. # endif
  11091. # endif
  11092. # endif
  11093. #endif
  11094. /* When -fvisbility=hidden is used, assume the code has been annotated
  11095. correspondingly for the symbols needed. */
  11096. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  11097. void fnord () __attribute__((visibility("default")));
  11098. #endif
  11099. void fnord () { int i=42; }
  11100. int main ()
  11101. {
  11102. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11103. int status = $lt_dlunknown;
  11104. if (self)
  11105. {
  11106. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  11107. else
  11108. {
  11109. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  11110. else puts (dlerror ());
  11111. }
  11112. /* dlclose (self); */
  11113. }
  11114. else
  11115. puts (dlerror ());
  11116. return status;
  11117. }
  11118. _LT_EOF
  11119. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  11120. (eval $ac_link) 2>&5
  11121. ac_status=$?
  11122. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11123. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  11124. (./conftest; exit; ) >&5 2>/dev/null
  11125. lt_status=$?
  11126. case x$lt_status in
  11127. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  11128. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  11129. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  11130. esac
  11131. else :
  11132. # compilation failed
  11133. lt_cv_dlopen_self=no
  11134. fi
  11135. fi
  11136. rm -fr conftest*
  11137. fi
  11138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  11139. $as_echo "$lt_cv_dlopen_self" >&6; }
  11140. if test "x$lt_cv_dlopen_self" = xyes; then
  11141. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  11142. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  11143. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  11144. if ${lt_cv_dlopen_self_static+:} false; then :
  11145. $as_echo_n "(cached) " >&6
  11146. else
  11147. if test "$cross_compiling" = yes; then :
  11148. lt_cv_dlopen_self_static=cross
  11149. else
  11150. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  11151. lt_status=$lt_dlunknown
  11152. cat > conftest.$ac_ext <<_LT_EOF
  11153. #line 12875 "configure"
  11154. #include "confdefs.h"
  11155. #if HAVE_DLFCN_H
  11156. #include <dlfcn.h>
  11157. #endif
  11158. #include <stdio.h>
  11159. #ifdef RTLD_GLOBAL
  11160. # define LT_DLGLOBAL RTLD_GLOBAL
  11161. #else
  11162. # ifdef DL_GLOBAL
  11163. # define LT_DLGLOBAL DL_GLOBAL
  11164. # else
  11165. # define LT_DLGLOBAL 0
  11166. # endif
  11167. #endif
  11168. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  11169. find out it does not work in some platform. */
  11170. #ifndef LT_DLLAZY_OR_NOW
  11171. # ifdef RTLD_LAZY
  11172. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  11173. # else
  11174. # ifdef DL_LAZY
  11175. # define LT_DLLAZY_OR_NOW DL_LAZY
  11176. # else
  11177. # ifdef RTLD_NOW
  11178. # define LT_DLLAZY_OR_NOW RTLD_NOW
  11179. # else
  11180. # ifdef DL_NOW
  11181. # define LT_DLLAZY_OR_NOW DL_NOW
  11182. # else
  11183. # define LT_DLLAZY_OR_NOW 0
  11184. # endif
  11185. # endif
  11186. # endif
  11187. # endif
  11188. #endif
  11189. /* When -fvisbility=hidden is used, assume the code has been annotated
  11190. correspondingly for the symbols needed. */
  11191. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  11192. void fnord () __attribute__((visibility("default")));
  11193. #endif
  11194. void fnord () { int i=42; }
  11195. int main ()
  11196. {
  11197. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  11198. int status = $lt_dlunknown;
  11199. if (self)
  11200. {
  11201. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  11202. else
  11203. {
  11204. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  11205. else puts (dlerror ());
  11206. }
  11207. /* dlclose (self); */
  11208. }
  11209. else
  11210. puts (dlerror ());
  11211. return status;
  11212. }
  11213. _LT_EOF
  11214. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  11215. (eval $ac_link) 2>&5
  11216. ac_status=$?
  11217. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11218. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  11219. (./conftest; exit; ) >&5 2>/dev/null
  11220. lt_status=$?
  11221. case x$lt_status in
  11222. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  11223. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  11224. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  11225. esac
  11226. else :
  11227. # compilation failed
  11228. lt_cv_dlopen_self_static=no
  11229. fi
  11230. fi
  11231. rm -fr conftest*
  11232. fi
  11233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  11234. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  11235. fi
  11236. CPPFLAGS="$save_CPPFLAGS"
  11237. LDFLAGS="$save_LDFLAGS"
  11238. LIBS="$save_LIBS"
  11239. ;;
  11240. esac
  11241. case $lt_cv_dlopen_self in
  11242. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  11243. *) enable_dlopen_self=unknown ;;
  11244. esac
  11245. case $lt_cv_dlopen_self_static in
  11246. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  11247. *) enable_dlopen_self_static=unknown ;;
  11248. esac
  11249. fi
  11250. striplib=
  11251. old_striplib=
  11252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  11253. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  11254. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  11255. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  11256. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  11257. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11258. $as_echo "yes" >&6; }
  11259. else
  11260. # FIXME - insert some real tests, host_os isn't really good enough
  11261. case $host_os in
  11262. darwin*)
  11263. if test -n "$STRIP" ; then
  11264. striplib="$STRIP -x"
  11265. old_striplib="$STRIP -S"
  11266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11267. $as_echo "yes" >&6; }
  11268. else
  11269. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11270. $as_echo "no" >&6; }
  11271. fi
  11272. ;;
  11273. *)
  11274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11275. $as_echo "no" >&6; }
  11276. ;;
  11277. esac
  11278. fi
  11279. # Report which library types will actually be built
  11280. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  11281. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  11283. $as_echo "$can_build_shared" >&6; }
  11284. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  11285. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11286. test "$can_build_shared" = "no" && enable_shared=no
  11287. # On AIX, shared libraries and static libraries use the same namespace, and
  11288. # are all built from PIC.
  11289. case $host_os in
  11290. aix3*)
  11291. test "$enable_shared" = yes && enable_static=no
  11292. if test -n "$RANLIB"; then
  11293. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11294. postinstall_cmds='$RANLIB $lib'
  11295. fi
  11296. ;;
  11297. aix[4-9]*)
  11298. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11299. test "$enable_shared" = yes && enable_static=no
  11300. fi
  11301. ;;
  11302. esac
  11303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  11304. $as_echo "$enable_shared" >&6; }
  11305. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  11306. $as_echo_n "checking whether to build static libraries... " >&6; }
  11307. # Make sure either enable_shared or enable_static is yes.
  11308. test "$enable_shared" = yes || enable_static=yes
  11309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  11310. $as_echo "$enable_static" >&6; }
  11311. fi
  11312. ac_ext=c
  11313. ac_cpp='$CPP $CPPFLAGS'
  11314. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11315. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11316. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11317. CC="$lt_save_CC"
  11318. ac_config_commands="$ac_config_commands libtool"
  11319. # Only expand once:
  11320. LIBM=
  11321. case $host in
  11322. *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  11323. # These system don't have libm, or don't need it
  11324. ;;
  11325. *-ncr-sysv4.3*)
  11326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
  11327. $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
  11328. if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
  11329. $as_echo_n "(cached) " >&6
  11330. else
  11331. ac_check_lib_save_LIBS=$LIBS
  11332. LIBS="-lmw $LIBS"
  11333. if test x$gcc_no_link = xyes; then
  11334. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  11335. fi
  11336. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11337. /* end confdefs.h. */
  11338. /* Override any GCC internal prototype to avoid an error.
  11339. Use char because int might match the return type of a GCC
  11340. builtin and then its argument prototype would still apply. */
  11341. #ifdef __cplusplus
  11342. extern "C"
  11343. #endif
  11344. char _mwvalidcheckl ();
  11345. int
  11346. main ()
  11347. {
  11348. return _mwvalidcheckl ();
  11349. ;
  11350. return 0;
  11351. }
  11352. _ACEOF
  11353. if ac_fn_c_try_link "$LINENO"; then :
  11354. ac_cv_lib_mw__mwvalidcheckl=yes
  11355. else
  11356. ac_cv_lib_mw__mwvalidcheckl=no
  11357. fi
  11358. rm -f core conftest.err conftest.$ac_objext \
  11359. conftest$ac_exeext conftest.$ac_ext
  11360. LIBS=$ac_check_lib_save_LIBS
  11361. fi
  11362. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
  11363. $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
  11364. if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
  11365. LIBM="-lmw"
  11366. fi
  11367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  11368. $as_echo_n "checking for cos in -lm... " >&6; }
  11369. if ${ac_cv_lib_m_cos+:} false; then :
  11370. $as_echo_n "(cached) " >&6
  11371. else
  11372. ac_check_lib_save_LIBS=$LIBS
  11373. LIBS="-lm $LIBS"
  11374. if test x$gcc_no_link = xyes; then
  11375. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  11376. fi
  11377. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11378. /* end confdefs.h. */
  11379. /* Override any GCC internal prototype to avoid an error.
  11380. Use char because int might match the return type of a GCC
  11381. builtin and then its argument prototype would still apply. */
  11382. #ifdef __cplusplus
  11383. extern "C"
  11384. #endif
  11385. char cos ();
  11386. int
  11387. main ()
  11388. {
  11389. return cos ();
  11390. ;
  11391. return 0;
  11392. }
  11393. _ACEOF
  11394. if ac_fn_c_try_link "$LINENO"; then :
  11395. ac_cv_lib_m_cos=yes
  11396. else
  11397. ac_cv_lib_m_cos=no
  11398. fi
  11399. rm -f core conftest.err conftest.$ac_objext \
  11400. conftest$ac_exeext conftest.$ac_ext
  11401. LIBS=$ac_check_lib_save_LIBS
  11402. fi
  11403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  11404. $as_echo "$ac_cv_lib_m_cos" >&6; }
  11405. if test "x$ac_cv_lib_m_cos" = xyes; then :
  11406. LIBM="$LIBM -lm"
  11407. fi
  11408. ;;
  11409. *)
  11410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  11411. $as_echo_n "checking for cos in -lm... " >&6; }
  11412. if ${ac_cv_lib_m_cos+:} false; then :
  11413. $as_echo_n "(cached) " >&6
  11414. else
  11415. ac_check_lib_save_LIBS=$LIBS
  11416. LIBS="-lm $LIBS"
  11417. if test x$gcc_no_link = xyes; then
  11418. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  11419. fi
  11420. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11421. /* end confdefs.h. */
  11422. /* Override any GCC internal prototype to avoid an error.
  11423. Use char because int might match the return type of a GCC
  11424. builtin and then its argument prototype would still apply. */
  11425. #ifdef __cplusplus
  11426. extern "C"
  11427. #endif
  11428. char cos ();
  11429. int
  11430. main ()
  11431. {
  11432. return cos ();
  11433. ;
  11434. return 0;
  11435. }
  11436. _ACEOF
  11437. if ac_fn_c_try_link "$LINENO"; then :
  11438. ac_cv_lib_m_cos=yes
  11439. else
  11440. ac_cv_lib_m_cos=no
  11441. fi
  11442. rm -f core conftest.err conftest.$ac_objext \
  11443. conftest$ac_exeext conftest.$ac_ext
  11444. LIBS=$ac_check_lib_save_LIBS
  11445. fi
  11446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  11447. $as_echo "$ac_cv_lib_m_cos" >&6; }
  11448. if test "x$ac_cv_lib_m_cos" = xyes; then :
  11449. LIBM="-lm"
  11450. fi
  11451. ;;
  11452. esac
  11453. case $host in
  11454. *-cygwin* | *-mingw*)
  11455. # 'host' will be top-level target in the case of a target lib,
  11456. # we must compare to with_cross_host to decide if this is a native
  11457. # or cross-compiler and select where to install dlls appropriately.
  11458. if test -n "$with_cross_host" &&
  11459. test x"$with_cross_host" != x"no"; then
  11460. lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
  11461. else
  11462. lt_host_flags='-no-undefined -bindir "$(bindir)"';
  11463. fi
  11464. ;;
  11465. *)
  11466. lt_host_flags=
  11467. ;;
  11468. esac
  11469. #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
  11470. # We need gfortran to compile parts of the library
  11471. #AC_PROG_FC(gfortran)
  11472. FC="$GFORTRAN"
  11473. ac_ext=${ac_fc_srcext-f}
  11474. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  11475. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  11476. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  11477. if test -n "$ac_tool_prefix"; then
  11478. for ac_prog in gfortran
  11479. do
  11480. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  11481. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  11482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11483. $as_echo_n "checking for $ac_word... " >&6; }
  11484. if ${ac_cv_prog_FC+:} false; then :
  11485. $as_echo_n "(cached) " >&6
  11486. else
  11487. if test -n "$FC"; then
  11488. ac_cv_prog_FC="$FC" # Let the user override the test.
  11489. else
  11490. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11491. for as_dir in $PATH
  11492. do
  11493. IFS=$as_save_IFS
  11494. test -z "$as_dir" && as_dir=.
  11495. for ac_exec_ext in '' $ac_executable_extensions; do
  11496. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11497. ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
  11498. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11499. break 2
  11500. fi
  11501. done
  11502. done
  11503. IFS=$as_save_IFS
  11504. fi
  11505. fi
  11506. FC=$ac_cv_prog_FC
  11507. if test -n "$FC"; then
  11508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
  11509. $as_echo "$FC" >&6; }
  11510. else
  11511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11512. $as_echo "no" >&6; }
  11513. fi
  11514. test -n "$FC" && break
  11515. done
  11516. fi
  11517. if test -z "$FC"; then
  11518. ac_ct_FC=$FC
  11519. for ac_prog in gfortran
  11520. do
  11521. # Extract the first word of "$ac_prog", so it can be a program name with args.
  11522. set dummy $ac_prog; ac_word=$2
  11523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11524. $as_echo_n "checking for $ac_word... " >&6; }
  11525. if ${ac_cv_prog_ac_ct_FC+:} false; then :
  11526. $as_echo_n "(cached) " >&6
  11527. else
  11528. if test -n "$ac_ct_FC"; then
  11529. ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
  11530. else
  11531. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11532. for as_dir in $PATH
  11533. do
  11534. IFS=$as_save_IFS
  11535. test -z "$as_dir" && as_dir=.
  11536. for ac_exec_ext in '' $ac_executable_extensions; do
  11537. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11538. ac_cv_prog_ac_ct_FC="$ac_prog"
  11539. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11540. break 2
  11541. fi
  11542. done
  11543. done
  11544. IFS=$as_save_IFS
  11545. fi
  11546. fi
  11547. ac_ct_FC=$ac_cv_prog_ac_ct_FC
  11548. if test -n "$ac_ct_FC"; then
  11549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
  11550. $as_echo "$ac_ct_FC" >&6; }
  11551. else
  11552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11553. $as_echo "no" >&6; }
  11554. fi
  11555. test -n "$ac_ct_FC" && break
  11556. done
  11557. if test "x$ac_ct_FC" = x; then
  11558. FC=""
  11559. else
  11560. case $cross_compiling:$ac_tool_warned in
  11561. yes:)
  11562. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11563. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11564. ac_tool_warned=yes ;;
  11565. esac
  11566. FC=$ac_ct_FC
  11567. fi
  11568. fi
  11569. # Provide some information about the compiler.
  11570. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
  11571. set X $ac_compile
  11572. ac_compiler=$2
  11573. for ac_option in --version -v -V -qversion; do
  11574. { { ac_try="$ac_compiler $ac_option >&5"
  11575. case "(($ac_try" in
  11576. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11577. *) ac_try_echo=$ac_try;;
  11578. esac
  11579. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11580. $as_echo "$ac_try_echo"; } >&5
  11581. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  11582. ac_status=$?
  11583. if test -s conftest.err; then
  11584. sed '10a\
  11585. ... rest of stderr output deleted ...
  11586. 10q' conftest.err >conftest.er1
  11587. cat conftest.er1 >&5
  11588. fi
  11589. rm -f conftest.er1 conftest.err
  11590. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11591. test $ac_status = 0; }
  11592. done
  11593. rm -f a.out
  11594. # If we don't use `.F' as extension, the preprocessor is not run on the
  11595. # input file. (Note that this only needs to work for GNU compilers.)
  11596. ac_save_ext=$ac_ext
  11597. ac_ext=F
  11598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
  11599. $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
  11600. if ${ac_cv_fc_compiler_gnu+:} false; then :
  11601. $as_echo_n "(cached) " >&6
  11602. else
  11603. cat > conftest.$ac_ext <<_ACEOF
  11604. program main
  11605. #ifndef __GNUC__
  11606. choke me
  11607. #endif
  11608. end
  11609. _ACEOF
  11610. if ac_fn_fc_try_compile "$LINENO"; then :
  11611. ac_compiler_gnu=yes
  11612. else
  11613. ac_compiler_gnu=no
  11614. fi
  11615. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11616. ac_cv_fc_compiler_gnu=$ac_compiler_gnu
  11617. fi
  11618. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
  11619. $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
  11620. ac_ext=$ac_save_ext
  11621. ac_test_FCFLAGS=${FCFLAGS+set}
  11622. ac_save_FCFLAGS=$FCFLAGS
  11623. FCFLAGS=
  11624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
  11625. $as_echo_n "checking whether $FC accepts -g... " >&6; }
  11626. if ${ac_cv_prog_fc_g+:} false; then :
  11627. $as_echo_n "(cached) " >&6
  11628. else
  11629. FCFLAGS=-g
  11630. cat > conftest.$ac_ext <<_ACEOF
  11631. program main
  11632. end
  11633. _ACEOF
  11634. if ac_fn_fc_try_compile "$LINENO"; then :
  11635. ac_cv_prog_fc_g=yes
  11636. else
  11637. ac_cv_prog_fc_g=no
  11638. fi
  11639. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11640. fi
  11641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
  11642. $as_echo "$ac_cv_prog_fc_g" >&6; }
  11643. if test "$ac_test_FCFLAGS" = set; then
  11644. FCFLAGS=$ac_save_FCFLAGS
  11645. elif test $ac_cv_prog_fc_g = yes; then
  11646. if test "x$ac_cv_fc_compiler_gnu" = xyes; then
  11647. FCFLAGS="-g -O2"
  11648. else
  11649. FCFLAGS="-g"
  11650. fi
  11651. else
  11652. if test "x$ac_cv_fc_compiler_gnu" = xyes; then
  11653. FCFLAGS="-O2"
  11654. else
  11655. FCFLAGS=
  11656. fi
  11657. fi
  11658. if test $ac_compiler_gnu = yes; then
  11659. GFC=yes
  11660. else
  11661. GFC=
  11662. fi
  11663. ac_ext=c
  11664. ac_cpp='$CPP $CPPFLAGS'
  11665. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11666. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11667. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11668. ac_ext=${ac_fc_srcext-f}
  11669. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  11670. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  11671. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  11672. if test -z "$FC" || test "X$FC" = "Xno"; then
  11673. _lt_disable_FC=yes
  11674. fi
  11675. archive_cmds_need_lc_FC=no
  11676. allow_undefined_flag_FC=
  11677. always_export_symbols_FC=no
  11678. archive_expsym_cmds_FC=
  11679. export_dynamic_flag_spec_FC=
  11680. hardcode_direct_FC=no
  11681. hardcode_direct_absolute_FC=no
  11682. hardcode_libdir_flag_spec_FC=
  11683. hardcode_libdir_flag_spec_ld_FC=
  11684. hardcode_libdir_separator_FC=
  11685. hardcode_minus_L_FC=no
  11686. hardcode_automatic_FC=no
  11687. inherit_rpath_FC=no
  11688. module_cmds_FC=
  11689. module_expsym_cmds_FC=
  11690. link_all_deplibs_FC=unknown
  11691. old_archive_cmds_FC=$old_archive_cmds
  11692. reload_flag_FC=$reload_flag
  11693. reload_cmds_FC=$reload_cmds
  11694. no_undefined_flag_FC=
  11695. whole_archive_flag_spec_FC=
  11696. enable_shared_with_static_runtimes_FC=no
  11697. # Source file extension for fc test sources.
  11698. ac_ext=${ac_fc_srcext-f}
  11699. # Object file extension for compiled fc test sources.
  11700. objext=o
  11701. objext_FC=$objext
  11702. # No sense in running all these tests if we already determined that
  11703. # the FC compiler isn't working. Some variables (like enable_shared)
  11704. # are currently assumed to apply to all compilers on this platform,
  11705. # and will be corrupted by setting them based on a non-working compiler.
  11706. if test "$_lt_disable_FC" != yes; then
  11707. # Code to be used in simple compile tests
  11708. lt_simple_compile_test_code="\
  11709. subroutine t
  11710. return
  11711. end
  11712. "
  11713. # Code to be used in simple link tests
  11714. lt_simple_link_test_code="\
  11715. program t
  11716. end
  11717. "
  11718. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  11719. # If no C compiler was specified, use CC.
  11720. LTCC=${LTCC-"$CC"}
  11721. # If no C compiler flags were specified, use CFLAGS.
  11722. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  11723. # Allow CC to be a program name with arguments.
  11724. compiler=$CC
  11725. # save warnings/boilerplate of simple test code
  11726. ac_outfile=conftest.$ac_objext
  11727. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  11728. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11729. _lt_compiler_boilerplate=`cat conftest.err`
  11730. $RM conftest*
  11731. ac_outfile=conftest.$ac_objext
  11732. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  11733. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11734. _lt_linker_boilerplate=`cat conftest.err`
  11735. $RM -r conftest*
  11736. # Allow CC to be a program name with arguments.
  11737. lt_save_CC="$CC"
  11738. lt_save_GCC=$GCC
  11739. CC=${FC-"f95"}
  11740. compiler=$CC
  11741. GCC=$ac_cv_fc_compiler_gnu
  11742. compiler_FC=$CC
  11743. for cc_temp in $compiler""; do
  11744. case $cc_temp in
  11745. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  11746. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  11747. \-*) ;;
  11748. *) break;;
  11749. esac
  11750. done
  11751. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  11752. if test -n "$compiler"; then
  11753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  11754. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11755. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  11756. $as_echo "$can_build_shared" >&6; }
  11757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  11758. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11759. test "$can_build_shared" = "no" && enable_shared=no
  11760. # On AIX, shared libraries and static libraries use the same namespace, and
  11761. # are all built from PIC.
  11762. case $host_os in
  11763. aix3*)
  11764. test "$enable_shared" = yes && enable_static=no
  11765. if test -n "$RANLIB"; then
  11766. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11767. postinstall_cmds='$RANLIB $lib'
  11768. fi
  11769. ;;
  11770. aix[4-9]*)
  11771. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11772. test "$enable_shared" = yes && enable_static=no
  11773. fi
  11774. ;;
  11775. esac
  11776. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  11777. $as_echo "$enable_shared" >&6; }
  11778. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  11779. $as_echo_n "checking whether to build static libraries... " >&6; }
  11780. # Make sure either enable_shared or enable_static is yes.
  11781. test "$enable_shared" = yes || enable_static=yes
  11782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  11783. $as_echo "$enable_static" >&6; }
  11784. GCC_FC="$ac_cv_fc_compiler_gnu"
  11785. LD_FC="$LD"
  11786. ## CAVEAT EMPTOR:
  11787. ## There is no encapsulation within the following macros, do not change
  11788. ## the running order or otherwise move them around unless you know exactly
  11789. ## what you are doing...
  11790. # Dependencies to place before and after the object being linked:
  11791. predep_objects_FC=
  11792. postdep_objects_FC=
  11793. predeps_FC=
  11794. postdeps_FC=
  11795. compiler_lib_search_path_FC=
  11796. cat > conftest.$ac_ext <<_LT_EOF
  11797. subroutine foo
  11798. implicit none
  11799. integer a
  11800. a=0
  11801. return
  11802. end
  11803. _LT_EOF
  11804. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11805. (eval $ac_compile) 2>&5
  11806. ac_status=$?
  11807. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11808. test $ac_status = 0; }; then
  11809. # Parse the compiler output and extract the necessary
  11810. # objects, libraries and library flags.
  11811. # Sentinel used to keep track of whether or not we are before
  11812. # the conftest object file.
  11813. pre_test_object_deps_done=no
  11814. for p in `eval "$output_verbose_link_cmd"`; do
  11815. case $p in
  11816. -L* | -R* | -l*)
  11817. # Some compilers place space between "-{L,R}" and the path.
  11818. # Remove the space.
  11819. if test $p = "-L" ||
  11820. test $p = "-R"; then
  11821. prev=$p
  11822. continue
  11823. else
  11824. prev=
  11825. fi
  11826. if test "$pre_test_object_deps_done" = no; then
  11827. case $p in
  11828. -L* | -R*)
  11829. # Internal compiler library paths should come after those
  11830. # provided the user. The postdeps already come after the
  11831. # user supplied libs so there is no need to process them.
  11832. if test -z "$compiler_lib_search_path_FC"; then
  11833. compiler_lib_search_path_FC="${prev}${p}"
  11834. else
  11835. compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
  11836. fi
  11837. ;;
  11838. # The "-l" case would never come before the object being
  11839. # linked, so don't bother handling this case.
  11840. esac
  11841. else
  11842. if test -z "$postdeps_FC"; then
  11843. postdeps_FC="${prev}${p}"
  11844. else
  11845. postdeps_FC="${postdeps_FC} ${prev}${p}"
  11846. fi
  11847. fi
  11848. ;;
  11849. *.$objext)
  11850. # This assumes that the test object file only shows up
  11851. # once in the compiler output.
  11852. if test "$p" = "conftest.$objext"; then
  11853. pre_test_object_deps_done=yes
  11854. continue
  11855. fi
  11856. if test "$pre_test_object_deps_done" = no; then
  11857. if test -z "$predep_objects_FC"; then
  11858. predep_objects_FC="$p"
  11859. else
  11860. predep_objects_FC="$predep_objects_FC $p"
  11861. fi
  11862. else
  11863. if test -z "$postdep_objects_FC"; then
  11864. postdep_objects_FC="$p"
  11865. else
  11866. postdep_objects_FC="$postdep_objects_FC $p"
  11867. fi
  11868. fi
  11869. ;;
  11870. *) ;; # Ignore the rest.
  11871. esac
  11872. done
  11873. # Clean up.
  11874. rm -f a.out a.exe
  11875. else
  11876. echo "libtool.m4: error: problem compiling FC test program"
  11877. fi
  11878. $RM -f confest.$objext
  11879. # PORTME: override above test on systems where it is broken
  11880. case " $postdeps_FC " in
  11881. *" -lc "*) archive_cmds_need_lc_FC=no ;;
  11882. esac
  11883. compiler_lib_search_dirs_FC=
  11884. if test -n "${compiler_lib_search_path_FC}"; then
  11885. compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  11886. fi
  11887. lt_prog_compiler_wl_FC=
  11888. lt_prog_compiler_pic_FC=
  11889. lt_prog_compiler_static_FC=
  11890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  11891. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  11892. if test "$GCC" = yes; then
  11893. lt_prog_compiler_wl_FC='-Wl,'
  11894. lt_prog_compiler_static_FC='-static'
  11895. case $host_os in
  11896. aix*)
  11897. # All AIX code is PIC.
  11898. if test "$host_cpu" = ia64; then
  11899. # AIX 5 now supports IA64 processor
  11900. lt_prog_compiler_static_FC='-Bstatic'
  11901. fi
  11902. lt_prog_compiler_pic_FC='-fPIC'
  11903. ;;
  11904. amigaos*)
  11905. case $host_cpu in
  11906. powerpc)
  11907. # see comment about AmigaOS4 .so support
  11908. lt_prog_compiler_pic_FC='-fPIC'
  11909. ;;
  11910. m68k)
  11911. # FIXME: we need at least 68020 code to build shared libraries, but
  11912. # adding the `-m68020' flag to GCC prevents building anything better,
  11913. # like `-m68040'.
  11914. lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
  11915. ;;
  11916. esac
  11917. ;;
  11918. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  11919. # PIC is the default for these OSes.
  11920. ;;
  11921. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11922. # This hack is so that the source file can tell whether it is being
  11923. # built for inclusion in a dll (and should export symbols for example).
  11924. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  11925. # (--disable-auto-import) libraries
  11926. lt_prog_compiler_pic_FC='-DDLL_EXPORT'
  11927. ;;
  11928. darwin* | rhapsody*)
  11929. # PIC is the default on this platform
  11930. # Common symbols not allowed in MH_DYLIB files
  11931. lt_prog_compiler_pic_FC='-fno-common'
  11932. ;;
  11933. haiku*)
  11934. # PIC is the default for Haiku.
  11935. # The "-static" flag exists, but is broken.
  11936. lt_prog_compiler_static_FC=
  11937. ;;
  11938. hpux*)
  11939. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  11940. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  11941. # sets the default TLS model and affects inlining.
  11942. case $host_cpu in
  11943. hppa*64*)
  11944. # +Z the default
  11945. ;;
  11946. *)
  11947. lt_prog_compiler_pic_FC='-fPIC'
  11948. ;;
  11949. esac
  11950. ;;
  11951. interix[3-9]*)
  11952. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  11953. # Instead, we relocate shared libraries at runtime.
  11954. ;;
  11955. msdosdjgpp*)
  11956. # Just because we use GCC doesn't mean we suddenly get shared libraries
  11957. # on systems that don't support them.
  11958. lt_prog_compiler_can_build_shared_FC=no
  11959. enable_shared=no
  11960. ;;
  11961. *nto* | *qnx*)
  11962. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11963. # it will coredump.
  11964. lt_prog_compiler_pic_FC='-fPIC -shared'
  11965. ;;
  11966. sysv4*MP*)
  11967. if test -d /usr/nec; then
  11968. lt_prog_compiler_pic_FC=-Kconform_pic
  11969. fi
  11970. ;;
  11971. *)
  11972. lt_prog_compiler_pic_FC='-fPIC'
  11973. ;;
  11974. esac
  11975. case $cc_basename in
  11976. nvcc*) # Cuda Compiler Driver 2.2
  11977. lt_prog_compiler_wl_FC='-Xlinker '
  11978. lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
  11979. ;;
  11980. esac
  11981. else
  11982. # PORTME Check for flag to pass linker flags through the system compiler.
  11983. case $host_os in
  11984. aix*)
  11985. lt_prog_compiler_wl_FC='-Wl,'
  11986. if test "$host_cpu" = ia64; then
  11987. # AIX 5 now supports IA64 processor
  11988. lt_prog_compiler_static_FC='-Bstatic'
  11989. else
  11990. lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
  11991. fi
  11992. ;;
  11993. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11994. # This hack is so that the source file can tell whether it is being
  11995. # built for inclusion in a dll (and should export symbols for example).
  11996. lt_prog_compiler_pic_FC='-DDLL_EXPORT'
  11997. ;;
  11998. hpux9* | hpux10* | hpux11*)
  11999. lt_prog_compiler_wl_FC='-Wl,'
  12000. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  12001. # not for PA HP-UX.
  12002. case $host_cpu in
  12003. hppa*64*|ia64*)
  12004. # +Z the default
  12005. ;;
  12006. *)
  12007. lt_prog_compiler_pic_FC='+Z'
  12008. ;;
  12009. esac
  12010. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  12011. lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
  12012. ;;
  12013. irix5* | irix6* | nonstopux*)
  12014. lt_prog_compiler_wl_FC='-Wl,'
  12015. # PIC (with -KPIC) is the default.
  12016. lt_prog_compiler_static_FC='-non_shared'
  12017. ;;
  12018. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  12019. case $cc_basename in
  12020. # old Intel for x86_64 which still supported -KPIC.
  12021. ecc*)
  12022. lt_prog_compiler_wl_FC='-Wl,'
  12023. lt_prog_compiler_pic_FC='-KPIC'
  12024. lt_prog_compiler_static_FC='-static'
  12025. ;;
  12026. # icc used to be incompatible with GCC.
  12027. # ICC 10 doesn't accept -KPIC any more.
  12028. icc* | ifort*)
  12029. lt_prog_compiler_wl_FC='-Wl,'
  12030. lt_prog_compiler_pic_FC='-fPIC'
  12031. lt_prog_compiler_static_FC='-static'
  12032. ;;
  12033. # Lahey Fortran 8.1.
  12034. lf95*)
  12035. lt_prog_compiler_wl_FC='-Wl,'
  12036. lt_prog_compiler_pic_FC='--shared'
  12037. lt_prog_compiler_static_FC='--static'
  12038. ;;
  12039. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  12040. # Portland Group compilers (*not* the Pentium gcc compiler,
  12041. # which looks to be a dead project)
  12042. lt_prog_compiler_wl_FC='-Wl,'
  12043. lt_prog_compiler_pic_FC='-fpic'
  12044. lt_prog_compiler_static_FC='-Bstatic'
  12045. ;;
  12046. ccc*)
  12047. lt_prog_compiler_wl_FC='-Wl,'
  12048. # All Alpha code is PIC.
  12049. lt_prog_compiler_static_FC='-non_shared'
  12050. ;;
  12051. xl* | bgxl* | bgf* | mpixl*)
  12052. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  12053. lt_prog_compiler_wl_FC='-Wl,'
  12054. lt_prog_compiler_pic_FC='-qpic'
  12055. lt_prog_compiler_static_FC='-qstaticlink'
  12056. ;;
  12057. *)
  12058. case `$CC -V 2>&1 | sed 5q` in
  12059. *Sun\ F* | *Sun*Fortran*)
  12060. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  12061. lt_prog_compiler_pic_FC='-KPIC'
  12062. lt_prog_compiler_static_FC='-Bstatic'
  12063. lt_prog_compiler_wl_FC=''
  12064. ;;
  12065. *Sun\ C*)
  12066. # Sun C 5.9
  12067. lt_prog_compiler_pic_FC='-KPIC'
  12068. lt_prog_compiler_static_FC='-Bstatic'
  12069. lt_prog_compiler_wl_FC='-Wl,'
  12070. ;;
  12071. esac
  12072. ;;
  12073. esac
  12074. ;;
  12075. newsos6)
  12076. lt_prog_compiler_pic_FC='-KPIC'
  12077. lt_prog_compiler_static_FC='-Bstatic'
  12078. ;;
  12079. *nto* | *qnx*)
  12080. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12081. # it will coredump.
  12082. lt_prog_compiler_pic_FC='-fPIC -shared'
  12083. ;;
  12084. osf3* | osf4* | osf5*)
  12085. lt_prog_compiler_wl_FC='-Wl,'
  12086. # All OSF/1 code is PIC.
  12087. lt_prog_compiler_static_FC='-non_shared'
  12088. ;;
  12089. rdos*)
  12090. lt_prog_compiler_static_FC='-non_shared'
  12091. ;;
  12092. solaris*)
  12093. lt_prog_compiler_pic_FC='-KPIC'
  12094. lt_prog_compiler_static_FC='-Bstatic'
  12095. case $cc_basename in
  12096. f77* | f90* | f95*)
  12097. lt_prog_compiler_wl_FC='-Qoption ld ';;
  12098. *)
  12099. lt_prog_compiler_wl_FC='-Wl,';;
  12100. esac
  12101. ;;
  12102. sunos4*)
  12103. lt_prog_compiler_wl_FC='-Qoption ld '
  12104. lt_prog_compiler_pic_FC='-PIC'
  12105. lt_prog_compiler_static_FC='-Bstatic'
  12106. ;;
  12107. sysv4 | sysv4.2uw2* | sysv4.3*)
  12108. lt_prog_compiler_wl_FC='-Wl,'
  12109. lt_prog_compiler_pic_FC='-KPIC'
  12110. lt_prog_compiler_static_FC='-Bstatic'
  12111. ;;
  12112. sysv4*MP*)
  12113. if test -d /usr/nec ;then
  12114. lt_prog_compiler_pic_FC='-Kconform_pic'
  12115. lt_prog_compiler_static_FC='-Bstatic'
  12116. fi
  12117. ;;
  12118. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12119. lt_prog_compiler_wl_FC='-Wl,'
  12120. lt_prog_compiler_pic_FC='-KPIC'
  12121. lt_prog_compiler_static_FC='-Bstatic'
  12122. ;;
  12123. unicos*)
  12124. lt_prog_compiler_wl_FC='-Wl,'
  12125. lt_prog_compiler_can_build_shared_FC=no
  12126. ;;
  12127. uts4*)
  12128. lt_prog_compiler_pic_FC='-pic'
  12129. lt_prog_compiler_static_FC='-Bstatic'
  12130. ;;
  12131. *)
  12132. lt_prog_compiler_can_build_shared_FC=no
  12133. ;;
  12134. esac
  12135. fi
  12136. case $host_os in
  12137. # For platforms which do not support PIC, -DPIC is meaningless:
  12138. *djgpp*)
  12139. lt_prog_compiler_pic_FC=
  12140. ;;
  12141. *)
  12142. lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
  12143. ;;
  12144. esac
  12145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
  12146. $as_echo "$lt_prog_compiler_pic_FC" >&6; }
  12147. #
  12148. # Check to make sure the PIC flag actually works.
  12149. #
  12150. if test -n "$lt_prog_compiler_pic_FC"; then
  12151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
  12152. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
  12153. if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
  12154. $as_echo_n "(cached) " >&6
  12155. else
  12156. lt_cv_prog_compiler_pic_works_FC=no
  12157. ac_outfile=conftest.$ac_objext
  12158. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12159. lt_compiler_flag="$lt_prog_compiler_pic_FC"
  12160. # Insert the option either (1) after the last *FLAGS variable, or
  12161. # (2) before a word containing "conftest.", or (3) at the end.
  12162. # Note that $ac_compile itself does not contain backslashes and begins
  12163. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12164. # The option is referenced via a variable to avoid confusing sed.
  12165. lt_compile=`echo "$ac_compile" | $SED \
  12166. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12167. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12168. -e 's:$: $lt_compiler_flag:'`
  12169. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12170. (eval "$lt_compile" 2>conftest.err)
  12171. ac_status=$?
  12172. cat conftest.err >&5
  12173. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12174. if (exit $ac_status) && test -s "$ac_outfile"; then
  12175. # The compiler can only warn and ignore the option if not recognized
  12176. # So say no if there are warnings other than the usual output.
  12177. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12178. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12179. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12180. lt_cv_prog_compiler_pic_works_FC=yes
  12181. fi
  12182. fi
  12183. $RM conftest*
  12184. fi
  12185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
  12186. $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
  12187. if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
  12188. case $lt_prog_compiler_pic_FC in
  12189. "" | " "*) ;;
  12190. *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
  12191. esac
  12192. else
  12193. lt_prog_compiler_pic_FC=
  12194. lt_prog_compiler_can_build_shared_FC=no
  12195. fi
  12196. fi
  12197. #
  12198. # Check to make sure the static flag actually works.
  12199. #
  12200. wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
  12201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12202. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12203. if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
  12204. $as_echo_n "(cached) " >&6
  12205. else
  12206. lt_cv_prog_compiler_static_works_FC=no
  12207. save_LDFLAGS="$LDFLAGS"
  12208. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12209. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12210. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12211. # The linker can only warn and ignore the option if not recognized
  12212. # So say no if there are warnings
  12213. if test -s conftest.err; then
  12214. # Append any errors to the config.log.
  12215. cat conftest.err 1>&5
  12216. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12217. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12218. if diff conftest.exp conftest.er2 >/dev/null; then
  12219. lt_cv_prog_compiler_static_works_FC=yes
  12220. fi
  12221. else
  12222. lt_cv_prog_compiler_static_works_FC=yes
  12223. fi
  12224. fi
  12225. $RM -r conftest*
  12226. LDFLAGS="$save_LDFLAGS"
  12227. fi
  12228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
  12229. $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
  12230. if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
  12231. :
  12232. else
  12233. lt_prog_compiler_static_FC=
  12234. fi
  12235. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12236. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12237. if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
  12238. $as_echo_n "(cached) " >&6
  12239. else
  12240. lt_cv_prog_compiler_c_o_FC=no
  12241. $RM -r conftest 2>/dev/null
  12242. mkdir conftest
  12243. cd conftest
  12244. mkdir out
  12245. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12246. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12247. # Insert the option either (1) after the last *FLAGS variable, or
  12248. # (2) before a word containing "conftest.", or (3) at the end.
  12249. # Note that $ac_compile itself does not contain backslashes and begins
  12250. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12251. lt_compile=`echo "$ac_compile" | $SED \
  12252. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12253. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12254. -e 's:$: $lt_compiler_flag:'`
  12255. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12256. (eval "$lt_compile" 2>out/conftest.err)
  12257. ac_status=$?
  12258. cat out/conftest.err >&5
  12259. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12260. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12261. then
  12262. # The compiler can only warn and ignore the option if not recognized
  12263. # So say no if there are warnings
  12264. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12265. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12266. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12267. lt_cv_prog_compiler_c_o_FC=yes
  12268. fi
  12269. fi
  12270. chmod u+w . 2>&5
  12271. $RM conftest*
  12272. # SGI C++ compiler will create directory out/ii_files/ for
  12273. # template instantiation
  12274. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12275. $RM out/* && rmdir out
  12276. cd ..
  12277. $RM -r conftest
  12278. $RM conftest*
  12279. fi
  12280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
  12281. $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
  12282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12283. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12284. if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
  12285. $as_echo_n "(cached) " >&6
  12286. else
  12287. lt_cv_prog_compiler_c_o_FC=no
  12288. $RM -r conftest 2>/dev/null
  12289. mkdir conftest
  12290. cd conftest
  12291. mkdir out
  12292. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12293. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12294. # Insert the option either (1) after the last *FLAGS variable, or
  12295. # (2) before a word containing "conftest.", or (3) at the end.
  12296. # Note that $ac_compile itself does not contain backslashes and begins
  12297. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12298. lt_compile=`echo "$ac_compile" | $SED \
  12299. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12300. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12301. -e 's:$: $lt_compiler_flag:'`
  12302. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12303. (eval "$lt_compile" 2>out/conftest.err)
  12304. ac_status=$?
  12305. cat out/conftest.err >&5
  12306. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12307. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12308. then
  12309. # The compiler can only warn and ignore the option if not recognized
  12310. # So say no if there are warnings
  12311. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12312. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12313. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12314. lt_cv_prog_compiler_c_o_FC=yes
  12315. fi
  12316. fi
  12317. chmod u+w . 2>&5
  12318. $RM conftest*
  12319. # SGI C++ compiler will create directory out/ii_files/ for
  12320. # template instantiation
  12321. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12322. $RM out/* && rmdir out
  12323. cd ..
  12324. $RM -r conftest
  12325. $RM conftest*
  12326. fi
  12327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
  12328. $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
  12329. hard_links="nottested"
  12330. if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
  12331. # do not overwrite the value of need_locks provided by the user
  12332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12333. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12334. hard_links=yes
  12335. $RM conftest*
  12336. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12337. touch conftest.a
  12338. ln conftest.a conftest.b 2>&5 || hard_links=no
  12339. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12341. $as_echo "$hard_links" >&6; }
  12342. if test "$hard_links" = no; then
  12343. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  12344. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  12345. need_locks=warn
  12346. fi
  12347. else
  12348. need_locks=no
  12349. fi
  12350. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12351. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12352. runpath_var=
  12353. allow_undefined_flag_FC=
  12354. always_export_symbols_FC=no
  12355. archive_cmds_FC=
  12356. archive_expsym_cmds_FC=
  12357. compiler_needs_object_FC=no
  12358. enable_shared_with_static_runtimes_FC=no
  12359. export_dynamic_flag_spec_FC=
  12360. export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12361. hardcode_automatic_FC=no
  12362. hardcode_direct_FC=no
  12363. hardcode_direct_absolute_FC=no
  12364. hardcode_libdir_flag_spec_FC=
  12365. hardcode_libdir_flag_spec_ld_FC=
  12366. hardcode_libdir_separator_FC=
  12367. hardcode_minus_L_FC=no
  12368. hardcode_shlibpath_var_FC=unsupported
  12369. inherit_rpath_FC=no
  12370. link_all_deplibs_FC=unknown
  12371. module_cmds_FC=
  12372. module_expsym_cmds_FC=
  12373. old_archive_from_new_cmds_FC=
  12374. old_archive_from_expsyms_cmds_FC=
  12375. thread_safe_flag_spec_FC=
  12376. whole_archive_flag_spec_FC=
  12377. # include_expsyms should be a list of space-separated symbols to be *always*
  12378. # included in the symbol list
  12379. include_expsyms_FC=
  12380. # exclude_expsyms can be an extended regexp of symbols to exclude
  12381. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  12382. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  12383. # as well as any symbol that contains `d'.
  12384. exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12385. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  12386. # platforms (ab)use it in PIC code, but their linkers get confused if
  12387. # the symbol is explicitly referenced. Since portable code cannot
  12388. # rely on this symbol name, it's probably fine to never include it in
  12389. # preloaded symbol tables.
  12390. # Exclude shared library initialization/finalization symbols.
  12391. extract_expsyms_cmds=
  12392. case $host_os in
  12393. cygwin* | mingw* | pw32* | cegcc*)
  12394. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  12395. # When not using gcc, we currently assume that we are using
  12396. # Microsoft Visual C++.
  12397. if test "$GCC" != yes; then
  12398. with_gnu_ld=no
  12399. fi
  12400. ;;
  12401. interix*)
  12402. # we just hope/assume this is gcc and not c89 (= MSVC++)
  12403. with_gnu_ld=yes
  12404. ;;
  12405. openbsd*)
  12406. with_gnu_ld=no
  12407. ;;
  12408. esac
  12409. ld_shlibs_FC=yes
  12410. # On some targets, GNU ld is compatible enough with the native linker
  12411. # that we're better off using the native interface for both.
  12412. lt_use_gnu_ld_interface=no
  12413. if test "$with_gnu_ld" = yes; then
  12414. case $host_os in
  12415. aix*)
  12416. # The AIX port of GNU ld has always aspired to compatibility
  12417. # with the native linker. However, as the warning in the GNU ld
  12418. # block says, versions before 2.19.5* couldn't really create working
  12419. # shared libraries, regardless of the interface used.
  12420. case `$LD -v 2>&1` in
  12421. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  12422. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  12423. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  12424. *)
  12425. lt_use_gnu_ld_interface=yes
  12426. ;;
  12427. esac
  12428. ;;
  12429. *)
  12430. lt_use_gnu_ld_interface=yes
  12431. ;;
  12432. esac
  12433. fi
  12434. if test "$lt_use_gnu_ld_interface" = yes; then
  12435. # If archive_cmds runs LD, not CC, wlarc should be empty
  12436. wlarc='${wl}'
  12437. # Set some defaults for GNU ld with shared library support. These
  12438. # are reset later if shared libraries are not supported. Putting them
  12439. # here allows them to be overridden if necessary.
  12440. runpath_var=LD_RUN_PATH
  12441. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12442. export_dynamic_flag_spec_FC='${wl}--export-dynamic'
  12443. # ancient GNU ld didn't support --whole-archive et. al.
  12444. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  12445. whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  12446. else
  12447. whole_archive_flag_spec_FC=
  12448. fi
  12449. supports_anon_versioning=no
  12450. case `$LD -v 2>&1` in
  12451. *GNU\ gold*) supports_anon_versioning=yes ;;
  12452. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  12453. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  12454. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  12455. *\ 2.11.*) ;; # other 2.11 versions
  12456. *) supports_anon_versioning=yes ;;
  12457. esac
  12458. # See if GNU ld supports shared libraries.
  12459. case $host_os in
  12460. aix[3-9]*)
  12461. # On AIX/PPC, the GNU linker is very broken
  12462. if test "$host_cpu" != ia64; then
  12463. ld_shlibs_FC=no
  12464. cat <<_LT_EOF 1>&2
  12465. *** Warning: the GNU linker, at least up to release 2.19, is reported
  12466. *** to be unable to reliably create shared libraries on AIX.
  12467. *** Therefore, libtool is disabling shared libraries support. If you
  12468. *** really care for shared libraries, you may want to install binutils
  12469. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  12470. *** You will then need to restart the configuration process.
  12471. _LT_EOF
  12472. fi
  12473. ;;
  12474. amigaos*)
  12475. case $host_cpu in
  12476. powerpc)
  12477. # see comment about AmigaOS4 .so support
  12478. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12479. archive_expsym_cmds_FC=''
  12480. ;;
  12481. m68k)
  12482. archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  12483. hardcode_libdir_flag_spec_FC='-L$libdir'
  12484. hardcode_minus_L_FC=yes
  12485. ;;
  12486. esac
  12487. ;;
  12488. beos*)
  12489. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12490. allow_undefined_flag_FC=unsupported
  12491. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  12492. # support --undefined. This deserves some investigation. FIXME
  12493. archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12494. else
  12495. ld_shlibs_FC=no
  12496. fi
  12497. ;;
  12498. cygwin* | mingw* | pw32* | cegcc*)
  12499. # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
  12500. # as there is no search path for DLLs.
  12501. hardcode_libdir_flag_spec_FC='-L$libdir'
  12502. export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
  12503. allow_undefined_flag_FC=unsupported
  12504. always_export_symbols_FC=no
  12505. enable_shared_with_static_runtimes_FC=yes
  12506. export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  12507. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  12508. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12509. # If the export-symbols file already is a .def file (1st line
  12510. # is EXPORTS), use it as is; otherwise, prepend...
  12511. archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  12512. cp $export_symbols $output_objdir/$soname.def;
  12513. else
  12514. echo EXPORTS > $output_objdir/$soname.def;
  12515. cat $export_symbols >> $output_objdir/$soname.def;
  12516. fi~
  12517. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12518. else
  12519. ld_shlibs_FC=no
  12520. fi
  12521. ;;
  12522. haiku*)
  12523. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12524. link_all_deplibs_FC=yes
  12525. ;;
  12526. interix[3-9]*)
  12527. hardcode_direct_FC=no
  12528. hardcode_shlibpath_var_FC=no
  12529. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  12530. export_dynamic_flag_spec_FC='${wl}-E'
  12531. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  12532. # Instead, shared libraries are loaded at an image base (0x10000000 by
  12533. # default) and relocated if they conflict, which is a slow very memory
  12534. # consuming and fragmenting process. To avoid this, we pick a random,
  12535. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  12536. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  12537. archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  12538. archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  12539. ;;
  12540. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
  12541. tmp_diet=no
  12542. if test "$host_os" = linux-dietlibc; then
  12543. case $cc_basename in
  12544. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  12545. esac
  12546. fi
  12547. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  12548. && test "$tmp_diet" = no
  12549. then
  12550. tmp_addflag=' $pic_flag'
  12551. tmp_sharedflag='-shared'
  12552. case $cc_basename,$host_cpu in
  12553. pgcc*) # Portland Group C compiler
  12554. whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  12555. tmp_addflag=' $pic_flag'
  12556. ;;
  12557. pgf77* | pgf90* | pgf95* | pgfortran*)
  12558. # Portland Group f77 and f90 compilers
  12559. whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  12560. tmp_addflag=' $pic_flag -Mnomain' ;;
  12561. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  12562. tmp_addflag=' -i_dynamic' ;;
  12563. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  12564. tmp_addflag=' -i_dynamic -nofor_main' ;;
  12565. ifc* | ifort*) # Intel Fortran compiler
  12566. tmp_addflag=' -nofor_main' ;;
  12567. lf95*) # Lahey Fortran 8.1
  12568. whole_archive_flag_spec_FC=
  12569. tmp_sharedflag='--shared' ;;
  12570. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  12571. tmp_sharedflag='-qmkshrobj'
  12572. tmp_addflag= ;;
  12573. nvcc*) # Cuda Compiler Driver 2.2
  12574. whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  12575. compiler_needs_object_FC=yes
  12576. ;;
  12577. esac
  12578. case `$CC -V 2>&1 | sed 5q` in
  12579. *Sun\ C*) # Sun C 5.9
  12580. whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  12581. compiler_needs_object_FC=yes
  12582. tmp_sharedflag='-G' ;;
  12583. *Sun\ F*) # Sun Fortran 8.3
  12584. tmp_sharedflag='-G' ;;
  12585. esac
  12586. archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12587. if test "x$supports_anon_versioning" = xyes; then
  12588. archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
  12589. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12590. echo "local: *; };" >> $output_objdir/$libname.ver~
  12591. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  12592. fi
  12593. case $cc_basename in
  12594. xlf* | bgf* | bgxlf* | mpixlf*)
  12595. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  12596. whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
  12597. hardcode_libdir_flag_spec_FC=
  12598. hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
  12599. archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  12600. if test "x$supports_anon_versioning" = xyes; then
  12601. archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
  12602. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12603. echo "local: *; };" >> $output_objdir/$libname.ver~
  12604. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  12605. fi
  12606. ;;
  12607. esac
  12608. else
  12609. ld_shlibs_FC=no
  12610. fi
  12611. ;;
  12612. netbsd*)
  12613. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  12614. archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  12615. wlarc=
  12616. else
  12617. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12618. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12619. fi
  12620. ;;
  12621. solaris*)
  12622. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  12623. ld_shlibs_FC=no
  12624. cat <<_LT_EOF 1>&2
  12625. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  12626. *** create shared libraries on Solaris systems. Therefore, libtool
  12627. *** is disabling shared libraries support. We urge you to upgrade GNU
  12628. *** binutils to release 2.9.1 or newer. Another option is to modify
  12629. *** your PATH or compiler configuration so that the native linker is
  12630. *** used, and then restart.
  12631. _LT_EOF
  12632. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12633. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12634. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12635. else
  12636. ld_shlibs_FC=no
  12637. fi
  12638. ;;
  12639. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  12640. case `$LD -v 2>&1` in
  12641. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  12642. ld_shlibs_FC=no
  12643. cat <<_LT_EOF 1>&2
  12644. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  12645. *** reliably create shared libraries on SCO systems. Therefore, libtool
  12646. *** is disabling shared libraries support. We urge you to upgrade GNU
  12647. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  12648. *** your PATH or compiler configuration so that the native linker is
  12649. *** used, and then restart.
  12650. _LT_EOF
  12651. ;;
  12652. *)
  12653. # For security reasons, it is highly recommended that you always
  12654. # use absolute paths for naming shared libraries, and exclude the
  12655. # DT_RUNPATH tag from executables and libraries. But doing so
  12656. # requires that you compile everything twice, which is a pain.
  12657. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12658. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12659. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12660. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12661. else
  12662. ld_shlibs_FC=no
  12663. fi
  12664. ;;
  12665. esac
  12666. ;;
  12667. sunos4*)
  12668. archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12669. wlarc=
  12670. hardcode_direct_FC=yes
  12671. hardcode_shlibpath_var_FC=no
  12672. ;;
  12673. *)
  12674. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12675. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12676. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12677. else
  12678. ld_shlibs_FC=no
  12679. fi
  12680. ;;
  12681. esac
  12682. if test "$ld_shlibs_FC" = no; then
  12683. runpath_var=
  12684. hardcode_libdir_flag_spec_FC=
  12685. export_dynamic_flag_spec_FC=
  12686. whole_archive_flag_spec_FC=
  12687. fi
  12688. else
  12689. # PORTME fill in a description of your system's linker (not GNU ld)
  12690. case $host_os in
  12691. aix3*)
  12692. allow_undefined_flag_FC=unsupported
  12693. always_export_symbols_FC=yes
  12694. archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  12695. # Note: this linker hardcodes the directories in LIBPATH if there
  12696. # are no directories specified by -L.
  12697. hardcode_minus_L_FC=yes
  12698. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  12699. # Neither direct hardcoding nor static linking is supported with a
  12700. # broken collect2.
  12701. hardcode_direct_FC=unsupported
  12702. fi
  12703. ;;
  12704. aix[4-9]*)
  12705. if test "$host_cpu" = ia64; then
  12706. # On IA64, the linker does run time linking by default, so we don't
  12707. # have to do anything special.
  12708. aix_use_runtimelinking=no
  12709. exp_sym_flag='-Bexport'
  12710. no_entry_flag=""
  12711. else
  12712. # If we're using GNU nm, then we don't want the "-C" option.
  12713. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12714. # Also, AIX nm treats weak defined symbols like other global
  12715. # defined symbols, whereas GNU nm marks them as "W".
  12716. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12717. export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12718. else
  12719. export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12720. fi
  12721. aix_use_runtimelinking=no
  12722. # Test if we are trying to use run time linking or normal
  12723. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  12724. # need to do runtime linking.
  12725. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  12726. for ld_flag in $LDFLAGS; do
  12727. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  12728. aix_use_runtimelinking=yes
  12729. break
  12730. fi
  12731. done
  12732. ;;
  12733. esac
  12734. exp_sym_flag='-bexport'
  12735. no_entry_flag='-bnoentry'
  12736. fi
  12737. # When large executables or shared objects are built, AIX ld can
  12738. # have problems creating the table of contents. If linking a library
  12739. # or program results in "error TOC overflow" add -mminimal-toc to
  12740. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  12741. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  12742. archive_cmds_FC=''
  12743. hardcode_direct_FC=yes
  12744. hardcode_direct_absolute_FC=yes
  12745. hardcode_libdir_separator_FC=':'
  12746. link_all_deplibs_FC=yes
  12747. file_list_spec_FC='${wl}-f,'
  12748. if test "$GCC" = yes; then
  12749. case $host_os in aix4.[012]|aix4.[012].*)
  12750. # We only want to do this on AIX 4.2 and lower, the check
  12751. # below for broken collect2 doesn't work under 4.3+
  12752. collect2name=`${CC} -print-prog-name=collect2`
  12753. if test -f "$collect2name" &&
  12754. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  12755. then
  12756. # We have reworked collect2
  12757. :
  12758. else
  12759. # We have old collect2
  12760. hardcode_direct_FC=unsupported
  12761. # It fails to find uninstalled libraries when the uninstalled
  12762. # path is not listed in the libpath. Setting hardcode_minus_L
  12763. # to unsupported forces relinking
  12764. hardcode_minus_L_FC=yes
  12765. hardcode_libdir_flag_spec_FC='-L$libdir'
  12766. hardcode_libdir_separator_FC=
  12767. fi
  12768. ;;
  12769. esac
  12770. shared_flag='-shared'
  12771. if test "$aix_use_runtimelinking" = yes; then
  12772. shared_flag="$shared_flag "'${wl}-G'
  12773. fi
  12774. else
  12775. # not using gcc
  12776. if test "$host_cpu" = ia64; then
  12777. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  12778. # chokes on -Wl,-G. The following line is correct:
  12779. shared_flag='-G'
  12780. else
  12781. if test "$aix_use_runtimelinking" = yes; then
  12782. shared_flag='${wl}-G'
  12783. else
  12784. shared_flag='${wl}-bM:SRE'
  12785. fi
  12786. fi
  12787. fi
  12788. export_dynamic_flag_spec_FC='${wl}-bexpall'
  12789. # It seems that -bexpall does not export symbols beginning with
  12790. # underscore (_), so it is better to generate a list of symbols to export.
  12791. always_export_symbols_FC=yes
  12792. if test "$aix_use_runtimelinking" = yes; then
  12793. # Warning - without using the other runtime loading flags (-brtl),
  12794. # -berok will link without error, but may produce a broken library.
  12795. allow_undefined_flag_FC='-berok'
  12796. # Determine the default libpath from the value encoded in an
  12797. # empty executable.
  12798. if test x$gcc_no_link = xyes; then
  12799. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  12800. fi
  12801. cat > conftest.$ac_ext <<_ACEOF
  12802. program main
  12803. end
  12804. _ACEOF
  12805. if ac_fn_fc_try_link "$LINENO"; then :
  12806. lt_aix_libpath_sed='
  12807. /Import File Strings/,/^$/ {
  12808. /^0/ {
  12809. s/^0 *\(.*\)$/\1/
  12810. p
  12811. }
  12812. }'
  12813. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12814. # Check for a 64-bit object if we didn't find anything.
  12815. if test -z "$aix_libpath"; then
  12816. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12817. fi
  12818. fi
  12819. rm -f core conftest.err conftest.$ac_objext \
  12820. conftest$ac_exeext conftest.$ac_ext
  12821. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  12822. hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
  12823. archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  12824. else
  12825. if test "$host_cpu" = ia64; then
  12826. hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
  12827. allow_undefined_flag_FC="-z nodefs"
  12828. archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  12829. else
  12830. # Determine the default libpath from the value encoded in an
  12831. # empty executable.
  12832. if test x$gcc_no_link = xyes; then
  12833. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  12834. fi
  12835. cat > conftest.$ac_ext <<_ACEOF
  12836. program main
  12837. end
  12838. _ACEOF
  12839. if ac_fn_fc_try_link "$LINENO"; then :
  12840. lt_aix_libpath_sed='
  12841. /Import File Strings/,/^$/ {
  12842. /^0/ {
  12843. s/^0 *\(.*\)$/\1/
  12844. p
  12845. }
  12846. }'
  12847. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12848. # Check for a 64-bit object if we didn't find anything.
  12849. if test -z "$aix_libpath"; then
  12850. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12851. fi
  12852. fi
  12853. rm -f core conftest.err conftest.$ac_objext \
  12854. conftest$ac_exeext conftest.$ac_ext
  12855. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  12856. hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
  12857. # Warning - without using the other run time loading flags,
  12858. # -berok will link without error, but may produce a broken library.
  12859. no_undefined_flag_FC=' ${wl}-bernotok'
  12860. allow_undefined_flag_FC=' ${wl}-berok'
  12861. if test "$with_gnu_ld" = yes; then
  12862. # We only use this code for GNU lds that support --whole-archive.
  12863. whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  12864. else
  12865. # Exported symbols can be pulled into shared objects from archives
  12866. whole_archive_flag_spec_FC='$convenience'
  12867. fi
  12868. archive_cmds_need_lc_FC=yes
  12869. # This is similar to how AIX traditionally builds its shared libraries.
  12870. archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  12871. fi
  12872. fi
  12873. ;;
  12874. amigaos*)
  12875. case $host_cpu in
  12876. powerpc)
  12877. # see comment about AmigaOS4 .so support
  12878. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12879. archive_expsym_cmds_FC=''
  12880. ;;
  12881. m68k)
  12882. archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  12883. hardcode_libdir_flag_spec_FC='-L$libdir'
  12884. hardcode_minus_L_FC=yes
  12885. ;;
  12886. esac
  12887. ;;
  12888. bsdi[45]*)
  12889. export_dynamic_flag_spec_FC=-rdynamic
  12890. ;;
  12891. cygwin* | mingw* | pw32* | cegcc*)
  12892. # When not using gcc, we currently assume that we are using
  12893. # Microsoft Visual C++.
  12894. # hardcode_libdir_flag_spec is actually meaningless, as there is
  12895. # no search path for DLLs.
  12896. hardcode_libdir_flag_spec_FC=' '
  12897. allow_undefined_flag_FC=unsupported
  12898. # Tell ltmain to make .lib files, not .a files.
  12899. libext=lib
  12900. # Tell ltmain to make .dll files, not .so files.
  12901. shrext_cmds=".dll"
  12902. # FIXME: Setting linknames here is a bad hack.
  12903. archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  12904. # The linker will automatically build a .lib file if we build a DLL.
  12905. old_archive_from_new_cmds_FC='true'
  12906. # FIXME: Should let the user specify the lib program.
  12907. old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
  12908. fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
  12909. enable_shared_with_static_runtimes_FC=yes
  12910. ;;
  12911. darwin* | rhapsody*)
  12912. archive_cmds_need_lc_FC=no
  12913. hardcode_direct_FC=no
  12914. hardcode_automatic_FC=yes
  12915. hardcode_shlibpath_var_FC=unsupported
  12916. if test "$lt_cv_ld_force_load" = "yes"; then
  12917. whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  12918. else
  12919. whole_archive_flag_spec_FC=''
  12920. fi
  12921. link_all_deplibs_FC=yes
  12922. allow_undefined_flag_FC="$_lt_dar_allow_undefined"
  12923. case $cc_basename in
  12924. ifort*) _lt_dar_can_shared=yes ;;
  12925. *) _lt_dar_can_shared=$GCC ;;
  12926. esac
  12927. if test "$_lt_dar_can_shared" = "yes"; then
  12928. output_verbose_link_cmd=func_echo_all
  12929. archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  12930. module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  12931. archive_expsym_cmds_FC="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  12932. module_expsym_cmds_FC="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  12933. else
  12934. ld_shlibs_FC=no
  12935. fi
  12936. ;;
  12937. dgux*)
  12938. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12939. hardcode_libdir_flag_spec_FC='-L$libdir'
  12940. hardcode_shlibpath_var_FC=no
  12941. ;;
  12942. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  12943. # support. Future versions do this automatically, but an explicit c++rt0.o
  12944. # does not break anything, and helps significantly (at the cost of a little
  12945. # extra space).
  12946. freebsd2.2*)
  12947. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  12948. hardcode_libdir_flag_spec_FC='-R$libdir'
  12949. hardcode_direct_FC=yes
  12950. hardcode_shlibpath_var_FC=no
  12951. ;;
  12952. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  12953. freebsd2.*)
  12954. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12955. hardcode_direct_FC=yes
  12956. hardcode_minus_L_FC=yes
  12957. hardcode_shlibpath_var_FC=no
  12958. ;;
  12959. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  12960. freebsd* | dragonfly*)
  12961. archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  12962. hardcode_libdir_flag_spec_FC='-R$libdir'
  12963. hardcode_direct_FC=yes
  12964. hardcode_shlibpath_var_FC=no
  12965. ;;
  12966. hpux9*)
  12967. if test "$GCC" = yes; then
  12968. archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  12969. else
  12970. archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  12971. fi
  12972. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  12973. hardcode_libdir_separator_FC=:
  12974. hardcode_direct_FC=yes
  12975. # hardcode_minus_L: Not really in the search PATH,
  12976. # but as the default location of the library.
  12977. hardcode_minus_L_FC=yes
  12978. export_dynamic_flag_spec_FC='${wl}-E'
  12979. ;;
  12980. hpux10*)
  12981. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  12982. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  12983. else
  12984. archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  12985. fi
  12986. if test "$with_gnu_ld" = no; then
  12987. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  12988. hardcode_libdir_flag_spec_ld_FC='+b $libdir'
  12989. hardcode_libdir_separator_FC=:
  12990. hardcode_direct_FC=yes
  12991. hardcode_direct_absolute_FC=yes
  12992. export_dynamic_flag_spec_FC='${wl}-E'
  12993. # hardcode_minus_L: Not really in the search PATH,
  12994. # but as the default location of the library.
  12995. hardcode_minus_L_FC=yes
  12996. fi
  12997. ;;
  12998. hpux11*)
  12999. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  13000. case $host_cpu in
  13001. hppa*64*)
  13002. archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13003. ;;
  13004. ia64*)
  13005. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13006. ;;
  13007. *)
  13008. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  13009. ;;
  13010. esac
  13011. else
  13012. case $host_cpu in
  13013. hppa*64*)
  13014. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13015. ;;
  13016. ia64*)
  13017. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13018. ;;
  13019. *)
  13020. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  13021. ;;
  13022. esac
  13023. fi
  13024. if test "$with_gnu_ld" = no; then
  13025. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  13026. hardcode_libdir_separator_FC=:
  13027. case $host_cpu in
  13028. hppa*64*|ia64*)
  13029. hardcode_direct_FC=no
  13030. hardcode_shlibpath_var_FC=no
  13031. ;;
  13032. *)
  13033. hardcode_direct_FC=yes
  13034. hardcode_direct_absolute_FC=yes
  13035. export_dynamic_flag_spec_FC='${wl}-E'
  13036. # hardcode_minus_L: Not really in the search PATH,
  13037. # but as the default location of the library.
  13038. hardcode_minus_L_FC=yes
  13039. ;;
  13040. esac
  13041. fi
  13042. ;;
  13043. irix5* | irix6* | nonstopux*)
  13044. if test "$GCC" = yes; then
  13045. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  13046. # Try to use the -exported_symbol ld option, if it does not
  13047. # work, assume that -exports_file does not work either and
  13048. # implicitly export all symbols.
  13049. save_LDFLAGS="$LDFLAGS"
  13050. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  13051. if test x$gcc_no_link = xyes; then
  13052. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  13053. fi
  13054. cat > conftest.$ac_ext <<_ACEOF
  13055. int foo(void) {}
  13056. _ACEOF
  13057. if ac_fn_fc_try_link "$LINENO"; then :
  13058. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  13059. fi
  13060. rm -f core conftest.err conftest.$ac_objext \
  13061. conftest$ac_exeext conftest.$ac_ext
  13062. LDFLAGS="$save_LDFLAGS"
  13063. else
  13064. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  13065. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  13066. fi
  13067. archive_cmds_need_lc_FC='no'
  13068. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  13069. hardcode_libdir_separator_FC=:
  13070. inherit_rpath_FC=yes
  13071. link_all_deplibs_FC=yes
  13072. ;;
  13073. netbsd*)
  13074. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13075. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  13076. else
  13077. archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  13078. fi
  13079. hardcode_libdir_flag_spec_FC='-R$libdir'
  13080. hardcode_direct_FC=yes
  13081. hardcode_shlibpath_var_FC=no
  13082. ;;
  13083. newsos6)
  13084. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13085. hardcode_direct_FC=yes
  13086. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  13087. hardcode_libdir_separator_FC=:
  13088. hardcode_shlibpath_var_FC=no
  13089. ;;
  13090. *nto* | *qnx*)
  13091. ;;
  13092. openbsd*)
  13093. if test -f /usr/libexec/ld.so; then
  13094. hardcode_direct_FC=yes
  13095. hardcode_shlibpath_var_FC=no
  13096. hardcode_direct_absolute_FC=yes
  13097. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13098. archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13099. archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  13100. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  13101. export_dynamic_flag_spec_FC='${wl}-E'
  13102. else
  13103. case $host_os in
  13104. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  13105. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  13106. hardcode_libdir_flag_spec_FC='-R$libdir'
  13107. ;;
  13108. *)
  13109. archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13110. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  13111. ;;
  13112. esac
  13113. fi
  13114. else
  13115. ld_shlibs_FC=no
  13116. fi
  13117. ;;
  13118. os2*)
  13119. hardcode_libdir_flag_spec_FC='-L$libdir'
  13120. hardcode_minus_L_FC=yes
  13121. allow_undefined_flag_FC=unsupported
  13122. archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  13123. old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  13124. ;;
  13125. osf3*)
  13126. if test "$GCC" = yes; then
  13127. allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
  13128. archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  13129. else
  13130. allow_undefined_flag_FC=' -expect_unresolved \*'
  13131. archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  13132. fi
  13133. archive_cmds_need_lc_FC='no'
  13134. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  13135. hardcode_libdir_separator_FC=:
  13136. ;;
  13137. osf4* | osf5*) # as osf3* with the addition of -msym flag
  13138. if test "$GCC" = yes; then
  13139. allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
  13140. archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  13141. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  13142. else
  13143. allow_undefined_flag_FC=' -expect_unresolved \*'
  13144. archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  13145. archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  13146. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  13147. # Both c and cxx compiler support -rpath directly
  13148. hardcode_libdir_flag_spec_FC='-rpath $libdir'
  13149. fi
  13150. archive_cmds_need_lc_FC='no'
  13151. hardcode_libdir_separator_FC=:
  13152. ;;
  13153. solaris*)
  13154. no_undefined_flag_FC=' -z defs'
  13155. if test "$GCC" = yes; then
  13156. wlarc='${wl}'
  13157. archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  13158. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13159. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  13160. else
  13161. case `$CC -V 2>&1` in
  13162. *"Compilers 5.0"*)
  13163. wlarc=''
  13164. archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13165. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13166. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  13167. ;;
  13168. *)
  13169. wlarc='${wl}'
  13170. archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  13171. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13172. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  13173. ;;
  13174. esac
  13175. fi
  13176. hardcode_libdir_flag_spec_FC='-R$libdir'
  13177. hardcode_shlibpath_var_FC=no
  13178. case $host_os in
  13179. solaris2.[0-5] | solaris2.[0-5].*) ;;
  13180. *)
  13181. # The compiler driver will combine and reorder linker options,
  13182. # but understands `-z linker_flag'. GCC discards it without `$wl',
  13183. # but is careful enough not to reorder.
  13184. # Supported since Solaris 2.6 (maybe 2.5.1?)
  13185. if test "$GCC" = yes; then
  13186. whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  13187. else
  13188. whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
  13189. fi
  13190. ;;
  13191. esac
  13192. link_all_deplibs_FC=yes
  13193. ;;
  13194. sunos4*)
  13195. if test "x$host_vendor" = xsequent; then
  13196. # Use $CC to link under sequent, because it throws in some extra .o
  13197. # files that make .init and .fini sections work.
  13198. archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  13199. else
  13200. archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  13201. fi
  13202. hardcode_libdir_flag_spec_FC='-L$libdir'
  13203. hardcode_direct_FC=yes
  13204. hardcode_minus_L_FC=yes
  13205. hardcode_shlibpath_var_FC=no
  13206. ;;
  13207. sysv4)
  13208. case $host_vendor in
  13209. sni)
  13210. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13211. hardcode_direct_FC=yes # is this really true???
  13212. ;;
  13213. siemens)
  13214. ## LD is ld it makes a PLAMLIB
  13215. ## CC just makes a GrossModule.
  13216. archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  13217. reload_cmds_FC='$CC -r -o $output$reload_objs'
  13218. hardcode_direct_FC=no
  13219. ;;
  13220. motorola)
  13221. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13222. hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
  13223. ;;
  13224. esac
  13225. runpath_var='LD_RUN_PATH'
  13226. hardcode_shlibpath_var_FC=no
  13227. ;;
  13228. sysv4.3*)
  13229. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13230. hardcode_shlibpath_var_FC=no
  13231. export_dynamic_flag_spec_FC='-Bexport'
  13232. ;;
  13233. sysv4*MP*)
  13234. if test -d /usr/nec; then
  13235. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13236. hardcode_shlibpath_var_FC=no
  13237. runpath_var=LD_RUN_PATH
  13238. hardcode_runpath_var=yes
  13239. ld_shlibs_FC=yes
  13240. fi
  13241. ;;
  13242. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  13243. no_undefined_flag_FC='${wl}-z,text'
  13244. archive_cmds_need_lc_FC=no
  13245. hardcode_shlibpath_var_FC=no
  13246. runpath_var='LD_RUN_PATH'
  13247. if test "$GCC" = yes; then
  13248. archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13249. archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13250. else
  13251. archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13252. archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13253. fi
  13254. ;;
  13255. sysv5* | sco3.2v5* | sco5v6*)
  13256. # Note: We can NOT use -z defs as we might desire, because we do not
  13257. # link with -lc, and that would cause any symbols used from libc to
  13258. # always be unresolved, which means just about no library would
  13259. # ever link correctly. If we're not using GNU ld we use -z text
  13260. # though, which does catch some bad symbols but isn't as heavy-handed
  13261. # as -z defs.
  13262. no_undefined_flag_FC='${wl}-z,text'
  13263. allow_undefined_flag_FC='${wl}-z,nodefs'
  13264. archive_cmds_need_lc_FC=no
  13265. hardcode_shlibpath_var_FC=no
  13266. hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
  13267. hardcode_libdir_separator_FC=':'
  13268. link_all_deplibs_FC=yes
  13269. export_dynamic_flag_spec_FC='${wl}-Bexport'
  13270. runpath_var='LD_RUN_PATH'
  13271. if test "$GCC" = yes; then
  13272. archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13273. archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13274. else
  13275. archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13276. archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13277. fi
  13278. ;;
  13279. uts4*)
  13280. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13281. hardcode_libdir_flag_spec_FC='-L$libdir'
  13282. hardcode_shlibpath_var_FC=no
  13283. ;;
  13284. *)
  13285. ld_shlibs_FC=no
  13286. ;;
  13287. esac
  13288. if test x$host_vendor = xsni; then
  13289. case $host in
  13290. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  13291. export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
  13292. ;;
  13293. esac
  13294. fi
  13295. fi
  13296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
  13297. $as_echo "$ld_shlibs_FC" >&6; }
  13298. test "$ld_shlibs_FC" = no && can_build_shared=no
  13299. with_gnu_ld_FC=$with_gnu_ld
  13300. #
  13301. # Do we need to explicitly link libc?
  13302. #
  13303. case "x$archive_cmds_need_lc_FC" in
  13304. x|xyes)
  13305. # Assume -lc should be added
  13306. archive_cmds_need_lc_FC=yes
  13307. if test "$enable_shared" = yes && test "$GCC" = yes; then
  13308. case $archive_cmds_FC in
  13309. *'~'*)
  13310. # FIXME: we may have to deal with multi-command sequences.
  13311. ;;
  13312. '$CC '*)
  13313. # Test whether the compiler implicitly links with -lc since on some
  13314. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  13315. # to ld, don't add -lc before -lgcc.
  13316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  13317. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  13318. if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
  13319. $as_echo_n "(cached) " >&6
  13320. else
  13321. $RM conftest*
  13322. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  13323. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13324. (eval $ac_compile) 2>&5
  13325. ac_status=$?
  13326. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13327. test $ac_status = 0; } 2>conftest.err; then
  13328. soname=conftest
  13329. lib=conftest
  13330. libobjs=conftest.$ac_objext
  13331. deplibs=
  13332. wl=$lt_prog_compiler_wl_FC
  13333. pic_flag=$lt_prog_compiler_pic_FC
  13334. compiler_flags=-v
  13335. linker_flags=-v
  13336. verstring=
  13337. output_objdir=.
  13338. libname=conftest
  13339. lt_save_allow_undefined_flag=$allow_undefined_flag_FC
  13340. allow_undefined_flag_FC=
  13341. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  13342. (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  13343. ac_status=$?
  13344. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13345. test $ac_status = 0; }
  13346. then
  13347. lt_cv_archive_cmds_need_lc_FC=no
  13348. else
  13349. lt_cv_archive_cmds_need_lc_FC=yes
  13350. fi
  13351. allow_undefined_flag_FC=$lt_save_allow_undefined_flag
  13352. else
  13353. cat conftest.err 1>&5
  13354. fi
  13355. $RM conftest*
  13356. fi
  13357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
  13358. $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
  13359. archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
  13360. ;;
  13361. esac
  13362. fi
  13363. ;;
  13364. esac
  13365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  13366. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  13367. library_names_spec=
  13368. libname_spec='lib$name'
  13369. soname_spec=
  13370. shrext_cmds=".so"
  13371. postinstall_cmds=
  13372. postuninstall_cmds=
  13373. finish_cmds=
  13374. finish_eval=
  13375. shlibpath_var=
  13376. shlibpath_overrides_runpath=unknown
  13377. version_type=none
  13378. dynamic_linker="$host_os ld.so"
  13379. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  13380. need_lib_prefix=unknown
  13381. hardcode_into_libs=no
  13382. # when you set need_version to no, make sure it does not cause -set_version
  13383. # flags to be left without arguments
  13384. need_version=unknown
  13385. case $host_os in
  13386. aix3*)
  13387. version_type=linux
  13388. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  13389. shlibpath_var=LIBPATH
  13390. # AIX 3 has no versioning support, so we append a major version to the name.
  13391. soname_spec='${libname}${release}${shared_ext}$major'
  13392. ;;
  13393. aix[4-9]*)
  13394. version_type=linux
  13395. need_lib_prefix=no
  13396. need_version=no
  13397. hardcode_into_libs=yes
  13398. if test "$host_cpu" = ia64; then
  13399. # AIX 5 supports IA64
  13400. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  13401. shlibpath_var=LD_LIBRARY_PATH
  13402. else
  13403. # With GCC up to 2.95.x, collect2 would create an import file
  13404. # for dependence libraries. The import file would start with
  13405. # the line `#! .'. This would cause the generated library to
  13406. # depend on `.', always an invalid library. This was fixed in
  13407. # development snapshots of GCC prior to 3.0.
  13408. case $host_os in
  13409. aix4 | aix4.[01] | aix4.[01].*)
  13410. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  13411. echo ' yes '
  13412. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  13413. :
  13414. else
  13415. can_build_shared=no
  13416. fi
  13417. ;;
  13418. esac
  13419. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  13420. # soname into executable. Probably we can add versioning support to
  13421. # collect2, so additional links can be useful in future.
  13422. if test "$aix_use_runtimelinking" = yes; then
  13423. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  13424. # instead of lib<name>.a to let people know that these are not
  13425. # typical AIX shared libraries.
  13426. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13427. else
  13428. # We preserve .a as extension for shared libraries through AIX4.2
  13429. # and later when we are not doing run time linking.
  13430. library_names_spec='${libname}${release}.a $libname.a'
  13431. soname_spec='${libname}${release}${shared_ext}$major'
  13432. fi
  13433. shlibpath_var=LIBPATH
  13434. fi
  13435. ;;
  13436. amigaos*)
  13437. case $host_cpu in
  13438. powerpc)
  13439. # Since July 2007 AmigaOS4 officially supports .so libraries.
  13440. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  13441. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13442. ;;
  13443. m68k)
  13444. library_names_spec='$libname.ixlibrary $libname.a'
  13445. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  13446. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  13447. ;;
  13448. esac
  13449. ;;
  13450. beos*)
  13451. library_names_spec='${libname}${shared_ext}'
  13452. dynamic_linker="$host_os ld.so"
  13453. shlibpath_var=LIBRARY_PATH
  13454. ;;
  13455. bsdi[45]*)
  13456. version_type=linux
  13457. need_version=no
  13458. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13459. soname_spec='${libname}${release}${shared_ext}$major'
  13460. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  13461. shlibpath_var=LD_LIBRARY_PATH
  13462. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  13463. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  13464. # the default ld.so.conf also contains /usr/contrib/lib and
  13465. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  13466. # libtool to hard-code these into programs
  13467. ;;
  13468. cygwin* | mingw* | pw32* | cegcc*)
  13469. version_type=windows
  13470. shrext_cmds=".dll"
  13471. need_version=no
  13472. need_lib_prefix=no
  13473. case $GCC,$host_os in
  13474. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  13475. library_names_spec='$libname.dll.a'
  13476. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  13477. postinstall_cmds='base_file=`basename \${file}`~
  13478. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  13479. dldir=$destdir/`dirname \$dlpath`~
  13480. test -d \$dldir || mkdir -p \$dldir~
  13481. $install_prog $dir/$dlname \$dldir/$dlname~
  13482. chmod a+x \$dldir/$dlname~
  13483. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  13484. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  13485. fi'
  13486. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  13487. dlpath=$dir/\$dldll~
  13488. $RM \$dlpath'
  13489. shlibpath_overrides_runpath=yes
  13490. case $host_os in
  13491. cygwin*)
  13492. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  13493. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13494. ;;
  13495. mingw* | cegcc*)
  13496. # MinGW DLLs use traditional 'lib' prefix
  13497. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13498. ;;
  13499. pw32*)
  13500. # pw32 DLLs use 'pw' prefix rather than 'lib'
  13501. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13502. ;;
  13503. esac
  13504. ;;
  13505. *)
  13506. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  13507. ;;
  13508. esac
  13509. dynamic_linker='Win32 ld.exe'
  13510. # FIXME: first we should search . and the directory the executable is in
  13511. shlibpath_var=PATH
  13512. ;;
  13513. darwin* | rhapsody*)
  13514. dynamic_linker="$host_os dyld"
  13515. version_type=darwin
  13516. need_lib_prefix=no
  13517. need_version=no
  13518. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  13519. soname_spec='${libname}${release}${major}$shared_ext'
  13520. shlibpath_overrides_runpath=yes
  13521. shlibpath_var=DYLD_LIBRARY_PATH
  13522. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  13523. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  13524. ;;
  13525. dgux*)
  13526. version_type=linux
  13527. need_lib_prefix=no
  13528. need_version=no
  13529. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  13530. soname_spec='${libname}${release}${shared_ext}$major'
  13531. shlibpath_var=LD_LIBRARY_PATH
  13532. ;;
  13533. freebsd* | dragonfly*)
  13534. # DragonFly does not have aout. When/if they implement a new
  13535. # versioning mechanism, adjust this.
  13536. if test -x /usr/bin/objformat; then
  13537. objformat=`/usr/bin/objformat`
  13538. else
  13539. case $host_os in
  13540. freebsd[23].*) objformat=aout ;;
  13541. *) objformat=elf ;;
  13542. esac
  13543. fi
  13544. version_type=freebsd-$objformat
  13545. case $version_type in
  13546. freebsd-elf*)
  13547. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13548. need_version=no
  13549. need_lib_prefix=no
  13550. ;;
  13551. freebsd-*)
  13552. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  13553. need_version=yes
  13554. ;;
  13555. esac
  13556. shlibpath_var=LD_LIBRARY_PATH
  13557. case $host_os in
  13558. freebsd2.*)
  13559. shlibpath_overrides_runpath=yes
  13560. ;;
  13561. freebsd3.[01]* | freebsdelf3.[01]*)
  13562. shlibpath_overrides_runpath=yes
  13563. hardcode_into_libs=yes
  13564. ;;
  13565. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  13566. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  13567. shlibpath_overrides_runpath=no
  13568. hardcode_into_libs=yes
  13569. ;;
  13570. *) # from 4.6 on, and DragonFly
  13571. shlibpath_overrides_runpath=yes
  13572. hardcode_into_libs=yes
  13573. ;;
  13574. esac
  13575. ;;
  13576. haiku*)
  13577. version_type=linux
  13578. need_lib_prefix=no
  13579. need_version=no
  13580. dynamic_linker="$host_os runtime_loader"
  13581. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  13582. soname_spec='${libname}${release}${shared_ext}$major'
  13583. shlibpath_var=LIBRARY_PATH
  13584. shlibpath_overrides_runpath=yes
  13585. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  13586. hardcode_into_libs=yes
  13587. ;;
  13588. hpux9* | hpux10* | hpux11*)
  13589. # Give a soname corresponding to the major version so that dld.sl refuses to
  13590. # link against other versions.
  13591. version_type=sunos
  13592. need_lib_prefix=no
  13593. need_version=no
  13594. case $host_cpu in
  13595. ia64*)
  13596. shrext_cmds='.so'
  13597. hardcode_into_libs=yes
  13598. dynamic_linker="$host_os dld.so"
  13599. shlibpath_var=LD_LIBRARY_PATH
  13600. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13601. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13602. soname_spec='${libname}${release}${shared_ext}$major'
  13603. if test "X$HPUX_IA64_MODE" = X32; then
  13604. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  13605. else
  13606. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  13607. fi
  13608. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13609. ;;
  13610. hppa*64*)
  13611. shrext_cmds='.sl'
  13612. hardcode_into_libs=yes
  13613. dynamic_linker="$host_os dld.sl"
  13614. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  13615. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13616. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13617. soname_spec='${libname}${release}${shared_ext}$major'
  13618. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  13619. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13620. ;;
  13621. *)
  13622. shrext_cmds='.sl'
  13623. dynamic_linker="$host_os dld.sl"
  13624. shlibpath_var=SHLIB_PATH
  13625. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  13626. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13627. soname_spec='${libname}${release}${shared_ext}$major'
  13628. ;;
  13629. esac
  13630. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  13631. postinstall_cmds='chmod 555 $lib'
  13632. # or fails outright, so override atomically:
  13633. install_override_mode=555
  13634. ;;
  13635. interix[3-9]*)
  13636. version_type=linux
  13637. need_lib_prefix=no
  13638. need_version=no
  13639. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13640. soname_spec='${libname}${release}${shared_ext}$major'
  13641. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  13642. shlibpath_var=LD_LIBRARY_PATH
  13643. shlibpath_overrides_runpath=no
  13644. hardcode_into_libs=yes
  13645. ;;
  13646. irix5* | irix6* | nonstopux*)
  13647. case $host_os in
  13648. nonstopux*) version_type=nonstopux ;;
  13649. *)
  13650. if test "$lt_cv_prog_gnu_ld" = yes; then
  13651. version_type=linux
  13652. else
  13653. version_type=irix
  13654. fi ;;
  13655. esac
  13656. need_lib_prefix=no
  13657. need_version=no
  13658. soname_spec='${libname}${release}${shared_ext}$major'
  13659. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  13660. case $host_os in
  13661. irix5* | nonstopux*)
  13662. libsuff= shlibsuff=
  13663. ;;
  13664. *)
  13665. case $LD in # libtool.m4 will add one of these switches to LD
  13666. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  13667. libsuff= shlibsuff= libmagic=32-bit;;
  13668. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  13669. libsuff=32 shlibsuff=N32 libmagic=N32;;
  13670. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  13671. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  13672. *) libsuff= shlibsuff= libmagic=never-match;;
  13673. esac
  13674. ;;
  13675. esac
  13676. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  13677. shlibpath_overrides_runpath=no
  13678. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  13679. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  13680. hardcode_into_libs=yes
  13681. ;;
  13682. # No shared lib support for Linux oldld, aout, or coff.
  13683. linux*oldld* | linux*aout* | linux*coff*)
  13684. dynamic_linker=no
  13685. ;;
  13686. # This must be Linux ELF.
  13687. # uclinux* changes (here and below) have been submitted to the libtool
  13688. # project, but have not yet been accepted: they are GCC-local changes
  13689. # for the time being. (See
  13690. # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
  13691. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
  13692. version_type=linux
  13693. need_lib_prefix=no
  13694. need_version=no
  13695. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13696. soname_spec='${libname}${release}${shared_ext}$major'
  13697. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  13698. shlibpath_var=LD_LIBRARY_PATH
  13699. shlibpath_overrides_runpath=no
  13700. # Some binutils ld are patched to set DT_RUNPATH
  13701. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  13702. $as_echo_n "(cached) " >&6
  13703. else
  13704. lt_cv_shlibpath_overrides_runpath=no
  13705. save_LDFLAGS=$LDFLAGS
  13706. save_libdir=$libdir
  13707. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
  13708. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
  13709. if test x$gcc_no_link = xyes; then
  13710. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  13711. fi
  13712. cat > conftest.$ac_ext <<_ACEOF
  13713. program main
  13714. end
  13715. _ACEOF
  13716. if ac_fn_fc_try_link "$LINENO"; then :
  13717. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  13718. lt_cv_shlibpath_overrides_runpath=yes
  13719. fi
  13720. fi
  13721. rm -f core conftest.err conftest.$ac_objext \
  13722. conftest$ac_exeext conftest.$ac_ext
  13723. LDFLAGS=$save_LDFLAGS
  13724. libdir=$save_libdir
  13725. fi
  13726. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  13727. # This implies no fast_install, which is unacceptable.
  13728. # Some rework will be needed to allow for fast_install
  13729. # before this can be enabled.
  13730. hardcode_into_libs=yes
  13731. # Append ld.so.conf contents to the search path
  13732. if test -f /etc/ld.so.conf; then
  13733. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  13734. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  13735. fi
  13736. # We used to test for /lib/ld.so.1 and disable shared libraries on
  13737. # powerpc, because MkLinux only supported shared libraries with the
  13738. # GNU dynamic linker. Since this was broken with cross compilers,
  13739. # most powerpc-linux boxes support dynamic linking these days and
  13740. # people can always --disable-shared, the test was removed, and we
  13741. # assume the GNU/Linux dynamic linker is in use.
  13742. dynamic_linker='GNU/Linux ld.so'
  13743. ;;
  13744. netbsd*)
  13745. version_type=sunos
  13746. need_lib_prefix=no
  13747. need_version=no
  13748. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13749. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13750. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13751. dynamic_linker='NetBSD (a.out) ld.so'
  13752. else
  13753. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13754. soname_spec='${libname}${release}${shared_ext}$major'
  13755. dynamic_linker='NetBSD ld.elf_so'
  13756. fi
  13757. shlibpath_var=LD_LIBRARY_PATH
  13758. shlibpath_overrides_runpath=yes
  13759. hardcode_into_libs=yes
  13760. ;;
  13761. newsos6)
  13762. version_type=linux
  13763. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13764. shlibpath_var=LD_LIBRARY_PATH
  13765. shlibpath_overrides_runpath=yes
  13766. ;;
  13767. *nto* | *qnx*)
  13768. version_type=qnx
  13769. need_lib_prefix=no
  13770. need_version=no
  13771. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13772. soname_spec='${libname}${release}${shared_ext}$major'
  13773. shlibpath_var=LD_LIBRARY_PATH
  13774. shlibpath_overrides_runpath=no
  13775. hardcode_into_libs=yes
  13776. dynamic_linker='ldqnx.so'
  13777. ;;
  13778. openbsd*)
  13779. version_type=sunos
  13780. sys_lib_dlsearch_path_spec="/usr/lib"
  13781. need_lib_prefix=no
  13782. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  13783. case $host_os in
  13784. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  13785. *) need_version=no ;;
  13786. esac
  13787. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13788. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13789. shlibpath_var=LD_LIBRARY_PATH
  13790. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13791. case $host_os in
  13792. openbsd2.[89] | openbsd2.[89].*)
  13793. shlibpath_overrides_runpath=no
  13794. ;;
  13795. *)
  13796. shlibpath_overrides_runpath=yes
  13797. ;;
  13798. esac
  13799. else
  13800. shlibpath_overrides_runpath=yes
  13801. fi
  13802. ;;
  13803. os2*)
  13804. libname_spec='$name'
  13805. shrext_cmds=".dll"
  13806. need_lib_prefix=no
  13807. library_names_spec='$libname${shared_ext} $libname.a'
  13808. dynamic_linker='OS/2 ld.exe'
  13809. shlibpath_var=LIBPATH
  13810. ;;
  13811. osf3* | osf4* | osf5*)
  13812. version_type=osf
  13813. need_lib_prefix=no
  13814. need_version=no
  13815. soname_spec='${libname}${release}${shared_ext}$major'
  13816. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13817. shlibpath_var=LD_LIBRARY_PATH
  13818. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  13819. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  13820. ;;
  13821. rdos*)
  13822. dynamic_linker=no
  13823. ;;
  13824. solaris*)
  13825. version_type=linux
  13826. need_lib_prefix=no
  13827. need_version=no
  13828. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13829. soname_spec='${libname}${release}${shared_ext}$major'
  13830. shlibpath_var=LD_LIBRARY_PATH
  13831. shlibpath_overrides_runpath=yes
  13832. hardcode_into_libs=yes
  13833. # ldd complains unless libraries are executable
  13834. postinstall_cmds='chmod +x $lib'
  13835. ;;
  13836. sunos4*)
  13837. version_type=sunos
  13838. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13839. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  13840. shlibpath_var=LD_LIBRARY_PATH
  13841. shlibpath_overrides_runpath=yes
  13842. if test "$with_gnu_ld" = yes; then
  13843. need_lib_prefix=no
  13844. fi
  13845. need_version=yes
  13846. ;;
  13847. sysv4 | sysv4.3*)
  13848. version_type=linux
  13849. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13850. soname_spec='${libname}${release}${shared_ext}$major'
  13851. shlibpath_var=LD_LIBRARY_PATH
  13852. case $host_vendor in
  13853. sni)
  13854. shlibpath_overrides_runpath=no
  13855. need_lib_prefix=no
  13856. runpath_var=LD_RUN_PATH
  13857. ;;
  13858. siemens)
  13859. need_lib_prefix=no
  13860. ;;
  13861. motorola)
  13862. need_lib_prefix=no
  13863. need_version=no
  13864. shlibpath_overrides_runpath=no
  13865. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  13866. ;;
  13867. esac
  13868. ;;
  13869. sysv4*MP*)
  13870. if test -d /usr/nec ;then
  13871. version_type=linux
  13872. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  13873. soname_spec='$libname${shared_ext}.$major'
  13874. shlibpath_var=LD_LIBRARY_PATH
  13875. fi
  13876. ;;
  13877. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  13878. version_type=freebsd-elf
  13879. need_lib_prefix=no
  13880. need_version=no
  13881. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13882. soname_spec='${libname}${release}${shared_ext}$major'
  13883. shlibpath_var=LD_LIBRARY_PATH
  13884. shlibpath_overrides_runpath=yes
  13885. hardcode_into_libs=yes
  13886. if test "$with_gnu_ld" = yes; then
  13887. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  13888. else
  13889. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  13890. case $host_os in
  13891. sco3.2v5*)
  13892. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  13893. ;;
  13894. esac
  13895. fi
  13896. sys_lib_dlsearch_path_spec='/usr/lib'
  13897. ;;
  13898. tpf*)
  13899. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  13900. version_type=linux
  13901. need_lib_prefix=no
  13902. need_version=no
  13903. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13904. shlibpath_var=LD_LIBRARY_PATH
  13905. shlibpath_overrides_runpath=no
  13906. hardcode_into_libs=yes
  13907. ;;
  13908. uts4*)
  13909. version_type=linux
  13910. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13911. soname_spec='${libname}${release}${shared_ext}$major'
  13912. shlibpath_var=LD_LIBRARY_PATH
  13913. ;;
  13914. *)
  13915. dynamic_linker=no
  13916. ;;
  13917. esac
  13918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  13919. $as_echo "$dynamic_linker" >&6; }
  13920. test "$dynamic_linker" = no && can_build_shared=no
  13921. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  13922. if test "$GCC" = yes; then
  13923. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  13924. fi
  13925. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  13926. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13927. fi
  13928. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13929. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13930. fi
  13931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13932. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13933. hardcode_action_FC=
  13934. if test -n "$hardcode_libdir_flag_spec_FC" ||
  13935. test -n "$runpath_var_FC" ||
  13936. test "X$hardcode_automatic_FC" = "Xyes" ; then
  13937. # We can hardcode non-existent directories.
  13938. if test "$hardcode_direct_FC" != no &&
  13939. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13940. # have to relink, otherwise we might link with an installed library
  13941. # when we should be linking with a yet-to-be-installed one
  13942. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
  13943. test "$hardcode_minus_L_FC" != no; then
  13944. # Linking always hardcodes the temporary library directory.
  13945. hardcode_action_FC=relink
  13946. else
  13947. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13948. hardcode_action_FC=immediate
  13949. fi
  13950. else
  13951. # We cannot hardcode anything, or else we can only hardcode existing
  13952. # directories.
  13953. hardcode_action_FC=unsupported
  13954. fi
  13955. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
  13956. $as_echo "$hardcode_action_FC" >&6; }
  13957. if test "$hardcode_action_FC" = relink ||
  13958. test "$inherit_rpath_FC" = yes; then
  13959. # Fast installation is not supported
  13960. enable_fast_install=no
  13961. elif test "$shlibpath_overrides_runpath" = yes ||
  13962. test "$enable_shared" = no; then
  13963. # Fast installation is not necessary
  13964. enable_fast_install=needless
  13965. fi
  13966. fi # test -n "$compiler"
  13967. GCC=$lt_save_GCC
  13968. CC="$lt_save_CC"
  13969. fi # test "$_lt_disable_FC" != yes
  13970. ac_ext=c
  13971. ac_cpp='$CPP $CPPFLAGS'
  13972. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13973. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13974. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13975. # extra LD Flags which are required for targets
  13976. case "${host}" in
  13977. *-darwin*)
  13978. # Darwin needs -single_module when linking libgfortran
  13979. extra_ldflags_libgfortran=-Wl,-single_module
  13980. ;;
  13981. esac
  13982. # We need a working compiler at that point, otherwise give a clear
  13983. # error message and bail out.
  13984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
  13985. $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
  13986. ac_ext=${ac_fc_srcext-f}
  13987. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  13988. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  13989. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  13990. cat > conftest.$ac_ext <<_ACEOF
  13991. program foo
  13992. real, parameter :: bar = sin (12.34 / 2.5)
  13993. end program foo
  13994. _ACEOF
  13995. if ac_fn_fc_try_compile "$LINENO"; then :
  13996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13997. $as_echo "yes" >&6; }
  13998. else
  13999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14000. $as_echo "no" >&6; }
  14001. as_fn_error $? "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
  14002. fi
  14003. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14004. ac_ext=c
  14005. ac_cpp='$CPP $CPPFLAGS'
  14006. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14007. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14008. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14009. # Check whether --enable-largefile was given.
  14010. if test "${enable_largefile+set}" = set; then :
  14011. enableval=$enable_largefile;
  14012. fi
  14013. if test "$enable_largefile" != no; then
  14014. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  14015. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  14016. if ${ac_cv_sys_largefile_CC+:} false; then :
  14017. $as_echo_n "(cached) " >&6
  14018. else
  14019. ac_cv_sys_largefile_CC=no
  14020. if test "$GCC" != yes; then
  14021. ac_save_CC=$CC
  14022. while :; do
  14023. # IRIX 6.2 and later do not support large files by default,
  14024. # so use the C compiler's -n32 option if that helps.
  14025. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14026. /* end confdefs.h. */
  14027. #include <sys/types.h>
  14028. /* Check that off_t can represent 2**63 - 1 correctly.
  14029. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14030. since some C++ compilers masquerading as C compilers
  14031. incorrectly reject 9223372036854775807. */
  14032. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14033. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14034. && LARGE_OFF_T % 2147483647 == 1)
  14035. ? 1 : -1];
  14036. int
  14037. main ()
  14038. {
  14039. ;
  14040. return 0;
  14041. }
  14042. _ACEOF
  14043. if ac_fn_c_try_compile "$LINENO"; then :
  14044. break
  14045. fi
  14046. rm -f core conftest.err conftest.$ac_objext
  14047. CC="$CC -n32"
  14048. if ac_fn_c_try_compile "$LINENO"; then :
  14049. ac_cv_sys_largefile_CC=' -n32'; break
  14050. fi
  14051. rm -f core conftest.err conftest.$ac_objext
  14052. break
  14053. done
  14054. CC=$ac_save_CC
  14055. rm -f conftest.$ac_ext
  14056. fi
  14057. fi
  14058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  14059. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  14060. if test "$ac_cv_sys_largefile_CC" != no; then
  14061. CC=$CC$ac_cv_sys_largefile_CC
  14062. fi
  14063. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  14064. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  14065. if ${ac_cv_sys_file_offset_bits+:} false; then :
  14066. $as_echo_n "(cached) " >&6
  14067. else
  14068. while :; do
  14069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14070. /* end confdefs.h. */
  14071. #include <sys/types.h>
  14072. /* Check that off_t can represent 2**63 - 1 correctly.
  14073. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14074. since some C++ compilers masquerading as C compilers
  14075. incorrectly reject 9223372036854775807. */
  14076. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14077. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14078. && LARGE_OFF_T % 2147483647 == 1)
  14079. ? 1 : -1];
  14080. int
  14081. main ()
  14082. {
  14083. ;
  14084. return 0;
  14085. }
  14086. _ACEOF
  14087. if ac_fn_c_try_compile "$LINENO"; then :
  14088. ac_cv_sys_file_offset_bits=no; break
  14089. fi
  14090. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14091. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14092. /* end confdefs.h. */
  14093. #define _FILE_OFFSET_BITS 64
  14094. #include <sys/types.h>
  14095. /* Check that off_t can represent 2**63 - 1 correctly.
  14096. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14097. since some C++ compilers masquerading as C compilers
  14098. incorrectly reject 9223372036854775807. */
  14099. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14100. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14101. && LARGE_OFF_T % 2147483647 == 1)
  14102. ? 1 : -1];
  14103. int
  14104. main ()
  14105. {
  14106. ;
  14107. return 0;
  14108. }
  14109. _ACEOF
  14110. if ac_fn_c_try_compile "$LINENO"; then :
  14111. ac_cv_sys_file_offset_bits=64; break
  14112. fi
  14113. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14114. ac_cv_sys_file_offset_bits=unknown
  14115. break
  14116. done
  14117. fi
  14118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  14119. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  14120. case $ac_cv_sys_file_offset_bits in #(
  14121. no | unknown) ;;
  14122. *)
  14123. cat >>confdefs.h <<_ACEOF
  14124. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  14125. _ACEOF
  14126. ;;
  14127. esac
  14128. rm -rf conftest*
  14129. if test $ac_cv_sys_file_offset_bits = unknown; then
  14130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  14131. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  14132. if ${ac_cv_sys_large_files+:} false; then :
  14133. $as_echo_n "(cached) " >&6
  14134. else
  14135. while :; do
  14136. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14137. /* end confdefs.h. */
  14138. #include <sys/types.h>
  14139. /* Check that off_t can represent 2**63 - 1 correctly.
  14140. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14141. since some C++ compilers masquerading as C compilers
  14142. incorrectly reject 9223372036854775807. */
  14143. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14144. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14145. && LARGE_OFF_T % 2147483647 == 1)
  14146. ? 1 : -1];
  14147. int
  14148. main ()
  14149. {
  14150. ;
  14151. return 0;
  14152. }
  14153. _ACEOF
  14154. if ac_fn_c_try_compile "$LINENO"; then :
  14155. ac_cv_sys_large_files=no; break
  14156. fi
  14157. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14158. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14159. /* end confdefs.h. */
  14160. #define _LARGE_FILES 1
  14161. #include <sys/types.h>
  14162. /* Check that off_t can represent 2**63 - 1 correctly.
  14163. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14164. since some C++ compilers masquerading as C compilers
  14165. incorrectly reject 9223372036854775807. */
  14166. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14167. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14168. && LARGE_OFF_T % 2147483647 == 1)
  14169. ? 1 : -1];
  14170. int
  14171. main ()
  14172. {
  14173. ;
  14174. return 0;
  14175. }
  14176. _ACEOF
  14177. if ac_fn_c_try_compile "$LINENO"; then :
  14178. ac_cv_sys_large_files=1; break
  14179. fi
  14180. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14181. ac_cv_sys_large_files=unknown
  14182. break
  14183. done
  14184. fi
  14185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  14186. $as_echo "$ac_cv_sys_large_files" >&6; }
  14187. case $ac_cv_sys_large_files in #(
  14188. no | unknown) ;;
  14189. *)
  14190. cat >>confdefs.h <<_ACEOF
  14191. #define _LARGE_FILES $ac_cv_sys_large_files
  14192. _ACEOF
  14193. ;;
  14194. esac
  14195. rm -rf conftest*
  14196. fi
  14197. fi
  14198. # Types
  14199. ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  14200. if test "x$ac_cv_type_off_t" = xyes; then :
  14201. else
  14202. cat >>confdefs.h <<_ACEOF
  14203. #define off_t long int
  14204. _ACEOF
  14205. fi
  14206. ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
  14207. if test "x$ac_cv_type_intptr_t" = xyes; then :
  14208. $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
  14209. else
  14210. for ac_type in 'int' 'long int' 'long long int'; do
  14211. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14212. /* end confdefs.h. */
  14213. $ac_includes_default
  14214. int
  14215. main ()
  14216. {
  14217. static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
  14218. test_array [0] = 0;
  14219. return test_array [0];
  14220. ;
  14221. return 0;
  14222. }
  14223. _ACEOF
  14224. if ac_fn_c_try_compile "$LINENO"; then :
  14225. cat >>confdefs.h <<_ACEOF
  14226. #define intptr_t $ac_type
  14227. _ACEOF
  14228. ac_type=
  14229. fi
  14230. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14231. test -z "$ac_type" && break
  14232. done
  14233. fi
  14234. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
  14235. if test "x$ac_cv_type_uintptr_t" = xyes; then :
  14236. $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
  14237. else
  14238. for ac_type in 'unsigned int' 'unsigned long int' \
  14239. 'unsigned long long int'; do
  14240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14241. /* end confdefs.h. */
  14242. $ac_includes_default
  14243. int
  14244. main ()
  14245. {
  14246. static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
  14247. test_array [0] = 0;
  14248. return test_array [0];
  14249. ;
  14250. return 0;
  14251. }
  14252. _ACEOF
  14253. if ac_fn_c_try_compile "$LINENO"; then :
  14254. cat >>confdefs.h <<_ACEOF
  14255. #define uintptr_t $ac_type
  14256. _ACEOF
  14257. ac_type=
  14258. fi
  14259. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14260. test -z "$ac_type" && break
  14261. done
  14262. fi
  14263. ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  14264. if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  14265. cat >>confdefs.h <<_ACEOF
  14266. #define HAVE_PTRDIFF_T 1
  14267. _ACEOF
  14268. fi
  14269. # check header files (we assume C89 is available, so don't check for that)
  14270. for ac_header in $ac_header_list
  14271. do :
  14272. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14273. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  14274. "
  14275. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14276. cat >>confdefs.h <<_ACEOF
  14277. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14278. _ACEOF
  14279. fi
  14280. done
  14281. inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
  14282. acx_cv_header_stdint=stddef.h
  14283. acx_cv_header_stdint_kind="(already complete)"
  14284. for i in stdint.h $inttype_headers; do
  14285. unset ac_cv_type_uintptr_t
  14286. unset ac_cv_type_uintmax_t
  14287. unset ac_cv_type_int_least32_t
  14288. unset ac_cv_type_int_fast32_t
  14289. unset ac_cv_type_uint64_t
  14290. $as_echo_n "looking for a compliant stdint.h in $i, " >&6
  14291. ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
  14292. #include <$i>
  14293. "
  14294. if test "x$ac_cv_type_uintmax_t" = xyes; then :
  14295. acx_cv_header_stdint=$i
  14296. else
  14297. continue
  14298. fi
  14299. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
  14300. #include <$i>
  14301. "
  14302. if test "x$ac_cv_type_uintptr_t" = xyes; then :
  14303. else
  14304. acx_cv_header_stdint_kind="(mostly complete)"
  14305. fi
  14306. ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
  14307. #include <$i>
  14308. "
  14309. if test "x$ac_cv_type_int_least32_t" = xyes; then :
  14310. else
  14311. acx_cv_header_stdint_kind="(mostly complete)"
  14312. fi
  14313. ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
  14314. #include <$i>
  14315. "
  14316. if test "x$ac_cv_type_int_fast32_t" = xyes; then :
  14317. else
  14318. acx_cv_header_stdint_kind="(mostly complete)"
  14319. fi
  14320. ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
  14321. #include <$i>
  14322. "
  14323. if test "x$ac_cv_type_uint64_t" = xyes; then :
  14324. else
  14325. acx_cv_header_stdint_kind="(lacks uint64_t)"
  14326. fi
  14327. break
  14328. done
  14329. if test "$acx_cv_header_stdint" = stddef.h; then
  14330. acx_cv_header_stdint_kind="(lacks uintmax_t)"
  14331. for i in stdint.h $inttype_headers; do
  14332. unset ac_cv_type_uintptr_t
  14333. unset ac_cv_type_uint32_t
  14334. unset ac_cv_type_uint64_t
  14335. $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
  14336. ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
  14337. #include <$i>
  14338. "
  14339. if test "x$ac_cv_type_uint32_t" = xyes; then :
  14340. acx_cv_header_stdint=$i
  14341. else
  14342. continue
  14343. fi
  14344. ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
  14345. #include <$i>
  14346. "
  14347. if test "x$ac_cv_type_uint64_t" = xyes; then :
  14348. fi
  14349. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
  14350. #include <$i>
  14351. "
  14352. if test "x$ac_cv_type_uintptr_t" = xyes; then :
  14353. fi
  14354. break
  14355. done
  14356. fi
  14357. if test "$acx_cv_header_stdint" = stddef.h; then
  14358. acx_cv_header_stdint_kind="(u_intXX_t style)"
  14359. for i in sys/types.h $inttype_headers; do
  14360. unset ac_cv_type_u_int32_t
  14361. unset ac_cv_type_u_int64_t
  14362. $as_echo_n "looking for u_intXX_t types in $i, " >&6
  14363. ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
  14364. #include <$i>
  14365. "
  14366. if test "x$ac_cv_type_u_int32_t" = xyes; then :
  14367. acx_cv_header_stdint=$i
  14368. else
  14369. continue
  14370. fi
  14371. ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
  14372. #include <$i>
  14373. "
  14374. if test "x$ac_cv_type_u_int64_t" = xyes; then :
  14375. fi
  14376. break
  14377. done
  14378. fi
  14379. if test "$acx_cv_header_stdint" = stddef.h; then
  14380. acx_cv_header_stdint_kind="(using manual detection)"
  14381. fi
  14382. test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
  14383. test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
  14384. test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
  14385. test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
  14386. test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
  14387. # ----------------- Summarize what we found so far
  14388. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
  14389. $as_echo_n "checking what to include in gstdint.h... " >&6; }
  14390. case `$as_basename -- gstdint.h ||
  14391. $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
  14392. Xgstdint.h : 'X\(//\)$' \| \
  14393. Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
  14394. $as_echo X/gstdint.h |
  14395. sed '/^.*\/\([^/][^/]*\)\/*$/{
  14396. s//\1/
  14397. q
  14398. }
  14399. /^X\/\(\/\/\)$/{
  14400. s//\1/
  14401. q
  14402. }
  14403. /^X\/\(\/\).*/{
  14404. s//\1/
  14405. q
  14406. }
  14407. s/.*/./; q'` in
  14408. stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
  14409. $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
  14410. inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
  14411. $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
  14412. *) ;;
  14413. esac
  14414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
  14415. $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
  14416. # ----------------- done included file, check C basic types --------
  14417. # Lacking an uintptr_t? Test size of void *
  14418. case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
  14419. stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
  14420. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14421. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14422. # This bug is HP SR number 8606223364.
  14423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  14424. $as_echo_n "checking size of void *... " >&6; }
  14425. if ${ac_cv_sizeof_void_p+:} false; then :
  14426. $as_echo_n "(cached) " >&6
  14427. else
  14428. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  14429. else
  14430. if test "$ac_cv_type_void_p" = yes; then
  14431. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14432. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14433. as_fn_error 77 "cannot compute sizeof (void *)
  14434. See \`config.log' for more details" "$LINENO" 5; }
  14435. else
  14436. ac_cv_sizeof_void_p=0
  14437. fi
  14438. fi
  14439. fi
  14440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  14441. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  14442. cat >>confdefs.h <<_ACEOF
  14443. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  14444. _ACEOF
  14445. ;;
  14446. esac
  14447. # Lacking an uint64_t? Test size of long
  14448. case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
  14449. stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
  14450. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14451. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14452. # This bug is HP SR number 8606223364.
  14453. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  14454. $as_echo_n "checking size of long... " >&6; }
  14455. if ${ac_cv_sizeof_long+:} false; then :
  14456. $as_echo_n "(cached) " >&6
  14457. else
  14458. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  14459. else
  14460. if test "$ac_cv_type_long" = yes; then
  14461. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14462. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14463. as_fn_error 77 "cannot compute sizeof (long)
  14464. See \`config.log' for more details" "$LINENO" 5; }
  14465. else
  14466. ac_cv_sizeof_long=0
  14467. fi
  14468. fi
  14469. fi
  14470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  14471. $as_echo "$ac_cv_sizeof_long" >&6; }
  14472. cat >>confdefs.h <<_ACEOF
  14473. #define SIZEOF_LONG $ac_cv_sizeof_long
  14474. _ACEOF
  14475. ;;
  14476. esac
  14477. if test $acx_cv_header_stdint = stddef.h; then
  14478. # Lacking a good header? Test size of everything and deduce all types.
  14479. # The cast to long int works around a bug in the HP C Compiler
  14480. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14481. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14482. # This bug is HP SR number 8606223364.
  14483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  14484. $as_echo_n "checking size of int... " >&6; }
  14485. if ${ac_cv_sizeof_int+:} false; then :
  14486. $as_echo_n "(cached) " >&6
  14487. else
  14488. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  14489. else
  14490. if test "$ac_cv_type_int" = yes; then
  14491. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14492. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14493. as_fn_error 77 "cannot compute sizeof (int)
  14494. See \`config.log' for more details" "$LINENO" 5; }
  14495. else
  14496. ac_cv_sizeof_int=0
  14497. fi
  14498. fi
  14499. fi
  14500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  14501. $as_echo "$ac_cv_sizeof_int" >&6; }
  14502. cat >>confdefs.h <<_ACEOF
  14503. #define SIZEOF_INT $ac_cv_sizeof_int
  14504. _ACEOF
  14505. # The cast to long int works around a bug in the HP C Compiler
  14506. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14507. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14508. # This bug is HP SR number 8606223364.
  14509. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  14510. $as_echo_n "checking size of short... " >&6; }
  14511. if ${ac_cv_sizeof_short+:} false; then :
  14512. $as_echo_n "(cached) " >&6
  14513. else
  14514. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  14515. else
  14516. if test "$ac_cv_type_short" = yes; then
  14517. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14518. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14519. as_fn_error 77 "cannot compute sizeof (short)
  14520. See \`config.log' for more details" "$LINENO" 5; }
  14521. else
  14522. ac_cv_sizeof_short=0
  14523. fi
  14524. fi
  14525. fi
  14526. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  14527. $as_echo "$ac_cv_sizeof_short" >&6; }
  14528. cat >>confdefs.h <<_ACEOF
  14529. #define SIZEOF_SHORT $ac_cv_sizeof_short
  14530. _ACEOF
  14531. # The cast to long int works around a bug in the HP C Compiler
  14532. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14533. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14534. # This bug is HP SR number 8606223364.
  14535. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  14536. $as_echo_n "checking size of char... " >&6; }
  14537. if ${ac_cv_sizeof_char+:} false; then :
  14538. $as_echo_n "(cached) " >&6
  14539. else
  14540. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  14541. else
  14542. if test "$ac_cv_type_char" = yes; then
  14543. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14544. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14545. as_fn_error 77 "cannot compute sizeof (char)
  14546. See \`config.log' for more details" "$LINENO" 5; }
  14547. else
  14548. ac_cv_sizeof_char=0
  14549. fi
  14550. fi
  14551. fi
  14552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  14553. $as_echo "$ac_cv_sizeof_char" >&6; }
  14554. cat >>confdefs.h <<_ACEOF
  14555. #define SIZEOF_CHAR $ac_cv_sizeof_char
  14556. _ACEOF
  14557. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
  14558. $as_echo_n "checking for type equivalent to int8_t... " >&6; }
  14559. case "$ac_cv_sizeof_char" in
  14560. 1) acx_cv_type_int8_t=char ;;
  14561. *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
  14562. esac
  14563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
  14564. $as_echo "$acx_cv_type_int8_t" >&6; }
  14565. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
  14566. $as_echo_n "checking for type equivalent to int16_t... " >&6; }
  14567. case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
  14568. 2:*) acx_cv_type_int16_t=int ;;
  14569. *:2) acx_cv_type_int16_t=short ;;
  14570. *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
  14571. esac
  14572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
  14573. $as_echo "$acx_cv_type_int16_t" >&6; }
  14574. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
  14575. $as_echo_n "checking for type equivalent to int32_t... " >&6; }
  14576. case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
  14577. 4:*) acx_cv_type_int32_t=int ;;
  14578. *:4) acx_cv_type_int32_t=long ;;
  14579. *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
  14580. esac
  14581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
  14582. $as_echo "$acx_cv_type_int32_t" >&6; }
  14583. fi
  14584. # These tests are here to make the output prettier
  14585. if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
  14586. case "$ac_cv_sizeof_long" in
  14587. 8) acx_cv_type_int64_t=long ;;
  14588. esac
  14589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
  14590. $as_echo_n "checking for type equivalent to int64_t... " >&6; }
  14591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
  14592. $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
  14593. fi
  14594. # Now we can use the above types
  14595. if test "$ac_cv_type_uintptr_t" != yes; then
  14596. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
  14597. $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
  14598. case $ac_cv_sizeof_void_p in
  14599. 2) acx_cv_type_intptr_t=int16_t ;;
  14600. 4) acx_cv_type_intptr_t=int32_t ;;
  14601. 8) acx_cv_type_intptr_t=int64_t ;;
  14602. *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
  14603. esac
  14604. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
  14605. $as_echo "$acx_cv_type_intptr_t" >&6; }
  14606. fi
  14607. # ----------------- done all checks, emit header -------------
  14608. ac_config_commands="$ac_config_commands gstdint.h"
  14609. ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
  14610. if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
  14611. cat >>confdefs.h <<_ACEOF
  14612. #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14613. _ACEOF
  14614. fi
  14615. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  14616. if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
  14617. cat >>confdefs.h <<_ACEOF
  14618. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14619. _ACEOF
  14620. fi
  14621. ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
  14622. if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
  14623. cat >>confdefs.h <<_ACEOF
  14624. #define HAVE_STRUCT_STAT_ST_RDEV 1
  14625. _ACEOF
  14626. fi
  14627. case "${host}--x${with_newlib}" in
  14628. mips*--xyes)
  14629. hardwire_newlib=1;;
  14630. nvptx*--xyes)
  14631. hardwire_newlib=1;;
  14632. esac
  14633. # Check for library functions.
  14634. if test "${hardwire_newlib:-0}" -eq 1; then
  14635. # We are being configured with a cross compiler. AC_REPLACE_FUNCS
  14636. # may not work correctly, because the compiler may not be able to
  14637. # link executables.
  14638. $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
  14639. $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
  14640. $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
  14641. $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
  14642. $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
  14643. $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
  14644. $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
  14645. $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
  14646. # At some point, we should differentiate between architectures
  14647. # like x86, which have long double versions, and alpha/powerpc/etc.,
  14648. # which don't. For the time being, punt.
  14649. if test x"long_double_math_on_this_cpu" = x"yes"; then
  14650. $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
  14651. fi
  14652. else
  14653. for ac_func in $ac_func_list
  14654. do :
  14655. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14656. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14657. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  14658. cat >>confdefs.h <<_ACEOF
  14659. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14660. _ACEOF
  14661. fi
  14662. done
  14663. fi
  14664. # Check strerror_r, cannot be above as versions with two and three arguments exist
  14665. ac_save_CFLAGS="$CFLAGS"
  14666. CFLAGS="-Wimplicit-function-declaration -Werror"
  14667. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14668. /* end confdefs.h. */
  14669. #define _GNU_SOURCE 1
  14670. #include <string.h>
  14671. #include <locale.h>
  14672. int
  14673. main ()
  14674. {
  14675. char s[128]; strerror_r(5, s, 128);
  14676. ;
  14677. return 0;
  14678. }
  14679. _ACEOF
  14680. if ac_fn_c_try_compile "$LINENO"; then :
  14681. $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
  14682. fi
  14683. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14684. CFLAGS="$ac_save_CFLAGS"
  14685. ac_save_CFLAGS="$CFLAGS"
  14686. CFLAGS="-Wimplicit-function-declaration -Werror"
  14687. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14688. /* end confdefs.h. */
  14689. #define _GNU_SOURCE 1
  14690. #include <string.h>
  14691. #include <locale.h>
  14692. int
  14693. main ()
  14694. {
  14695. char s[128]; strerror_r(5, s);
  14696. ;
  14697. return 0;
  14698. }
  14699. _ACEOF
  14700. if ac_fn_c_try_compile "$LINENO"; then :
  14701. $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
  14702. fi
  14703. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14704. CFLAGS="$ac_save_CFLAGS"
  14705. # Check for C99 (and other IEEE) math functions
  14706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
  14707. $as_echo_n "checking for sin in -lm... " >&6; }
  14708. if ${ac_cv_lib_m_sin+:} false; then :
  14709. $as_echo_n "(cached) " >&6
  14710. else
  14711. ac_check_lib_save_LIBS=$LIBS
  14712. LIBS="-lm $LIBS"
  14713. if test x$gcc_no_link = xyes; then
  14714. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14715. fi
  14716. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14717. /* end confdefs.h. */
  14718. /* Override any GCC internal prototype to avoid an error.
  14719. Use char because int might match the return type of a GCC
  14720. builtin and then its argument prototype would still apply. */
  14721. #ifdef __cplusplus
  14722. extern "C"
  14723. #endif
  14724. char sin ();
  14725. int
  14726. main ()
  14727. {
  14728. return sin ();
  14729. ;
  14730. return 0;
  14731. }
  14732. _ACEOF
  14733. if ac_fn_c_try_link "$LINENO"; then :
  14734. ac_cv_lib_m_sin=yes
  14735. else
  14736. ac_cv_lib_m_sin=no
  14737. fi
  14738. rm -f core conftest.err conftest.$ac_objext \
  14739. conftest$ac_exeext conftest.$ac_ext
  14740. LIBS=$ac_check_lib_save_LIBS
  14741. fi
  14742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
  14743. $as_echo "$ac_cv_lib_m_sin" >&6; }
  14744. if test "x$ac_cv_lib_m_sin" = xyes; then :
  14745. cat >>confdefs.h <<_ACEOF
  14746. #define HAVE_LIBM 1
  14747. _ACEOF
  14748. LIBS="-lm $LIBS"
  14749. fi
  14750. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
  14751. $as_echo_n "checking for acosf... " >&6; }
  14752. if ${gcc_cv_math_func_acosf+:} false; then :
  14753. $as_echo_n "(cached) " >&6
  14754. else
  14755. if test x$gcc_no_link = xyes; then
  14756. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14757. fi
  14758. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14759. /* end confdefs.h. */
  14760. #ifdef HAVE_COMPLEX_H
  14761. #include <complex.h>
  14762. #endif
  14763. #ifdef HAVE_MATH_H
  14764. #include <math.h>
  14765. #endif
  14766. int (*ptr)() = (int (*)())acosf;
  14767. int
  14768. main ()
  14769. {
  14770. return 0;
  14771. }
  14772. _ACEOF
  14773. if ac_fn_c_try_link "$LINENO"; then :
  14774. gcc_cv_math_func_acosf=yes
  14775. else
  14776. gcc_cv_math_func_acosf=no
  14777. fi
  14778. rm -f core conftest.err conftest.$ac_objext \
  14779. conftest$ac_exeext conftest.$ac_ext
  14780. fi
  14781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
  14782. $as_echo "$gcc_cv_math_func_acosf" >&6; }
  14783. if test $gcc_cv_math_func_acosf = yes; then
  14784. cat >>confdefs.h <<_ACEOF
  14785. #define HAVE_ACOSF 1
  14786. _ACEOF
  14787. fi
  14788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
  14789. $as_echo_n "checking for acos... " >&6; }
  14790. if ${gcc_cv_math_func_acos+:} false; then :
  14791. $as_echo_n "(cached) " >&6
  14792. else
  14793. if test x$gcc_no_link = xyes; then
  14794. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14795. fi
  14796. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14797. /* end confdefs.h. */
  14798. #ifdef HAVE_COMPLEX_H
  14799. #include <complex.h>
  14800. #endif
  14801. #ifdef HAVE_MATH_H
  14802. #include <math.h>
  14803. #endif
  14804. int (*ptr)() = (int (*)())acos;
  14805. int
  14806. main ()
  14807. {
  14808. return 0;
  14809. }
  14810. _ACEOF
  14811. if ac_fn_c_try_link "$LINENO"; then :
  14812. gcc_cv_math_func_acos=yes
  14813. else
  14814. gcc_cv_math_func_acos=no
  14815. fi
  14816. rm -f core conftest.err conftest.$ac_objext \
  14817. conftest$ac_exeext conftest.$ac_ext
  14818. fi
  14819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
  14820. $as_echo "$gcc_cv_math_func_acos" >&6; }
  14821. if test $gcc_cv_math_func_acos = yes; then
  14822. cat >>confdefs.h <<_ACEOF
  14823. #define HAVE_ACOS 1
  14824. _ACEOF
  14825. fi
  14826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
  14827. $as_echo_n "checking for acosl... " >&6; }
  14828. if ${gcc_cv_math_func_acosl+:} false; then :
  14829. $as_echo_n "(cached) " >&6
  14830. else
  14831. if test x$gcc_no_link = xyes; then
  14832. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14833. fi
  14834. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14835. /* end confdefs.h. */
  14836. #ifdef HAVE_COMPLEX_H
  14837. #include <complex.h>
  14838. #endif
  14839. #ifdef HAVE_MATH_H
  14840. #include <math.h>
  14841. #endif
  14842. int (*ptr)() = (int (*)())acosl;
  14843. int
  14844. main ()
  14845. {
  14846. return 0;
  14847. }
  14848. _ACEOF
  14849. if ac_fn_c_try_link "$LINENO"; then :
  14850. gcc_cv_math_func_acosl=yes
  14851. else
  14852. gcc_cv_math_func_acosl=no
  14853. fi
  14854. rm -f core conftest.err conftest.$ac_objext \
  14855. conftest$ac_exeext conftest.$ac_ext
  14856. fi
  14857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
  14858. $as_echo "$gcc_cv_math_func_acosl" >&6; }
  14859. if test $gcc_cv_math_func_acosl = yes; then
  14860. cat >>confdefs.h <<_ACEOF
  14861. #define HAVE_ACOSL 1
  14862. _ACEOF
  14863. fi
  14864. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
  14865. $as_echo_n "checking for acoshf... " >&6; }
  14866. if ${gcc_cv_math_func_acoshf+:} false; then :
  14867. $as_echo_n "(cached) " >&6
  14868. else
  14869. if test x$gcc_no_link = xyes; then
  14870. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14871. fi
  14872. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14873. /* end confdefs.h. */
  14874. #ifdef HAVE_COMPLEX_H
  14875. #include <complex.h>
  14876. #endif
  14877. #ifdef HAVE_MATH_H
  14878. #include <math.h>
  14879. #endif
  14880. int (*ptr)() = (int (*)())acoshf;
  14881. int
  14882. main ()
  14883. {
  14884. return 0;
  14885. }
  14886. _ACEOF
  14887. if ac_fn_c_try_link "$LINENO"; then :
  14888. gcc_cv_math_func_acoshf=yes
  14889. else
  14890. gcc_cv_math_func_acoshf=no
  14891. fi
  14892. rm -f core conftest.err conftest.$ac_objext \
  14893. conftest$ac_exeext conftest.$ac_ext
  14894. fi
  14895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
  14896. $as_echo "$gcc_cv_math_func_acoshf" >&6; }
  14897. if test $gcc_cv_math_func_acoshf = yes; then
  14898. cat >>confdefs.h <<_ACEOF
  14899. #define HAVE_ACOSHF 1
  14900. _ACEOF
  14901. fi
  14902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
  14903. $as_echo_n "checking for acosh... " >&6; }
  14904. if ${gcc_cv_math_func_acosh+:} false; then :
  14905. $as_echo_n "(cached) " >&6
  14906. else
  14907. if test x$gcc_no_link = xyes; then
  14908. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14909. fi
  14910. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14911. /* end confdefs.h. */
  14912. #ifdef HAVE_COMPLEX_H
  14913. #include <complex.h>
  14914. #endif
  14915. #ifdef HAVE_MATH_H
  14916. #include <math.h>
  14917. #endif
  14918. int (*ptr)() = (int (*)())acosh;
  14919. int
  14920. main ()
  14921. {
  14922. return 0;
  14923. }
  14924. _ACEOF
  14925. if ac_fn_c_try_link "$LINENO"; then :
  14926. gcc_cv_math_func_acosh=yes
  14927. else
  14928. gcc_cv_math_func_acosh=no
  14929. fi
  14930. rm -f core conftest.err conftest.$ac_objext \
  14931. conftest$ac_exeext conftest.$ac_ext
  14932. fi
  14933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
  14934. $as_echo "$gcc_cv_math_func_acosh" >&6; }
  14935. if test $gcc_cv_math_func_acosh = yes; then
  14936. cat >>confdefs.h <<_ACEOF
  14937. #define HAVE_ACOSH 1
  14938. _ACEOF
  14939. fi
  14940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
  14941. $as_echo_n "checking for acoshl... " >&6; }
  14942. if ${gcc_cv_math_func_acoshl+:} false; then :
  14943. $as_echo_n "(cached) " >&6
  14944. else
  14945. if test x$gcc_no_link = xyes; then
  14946. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14947. fi
  14948. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14949. /* end confdefs.h. */
  14950. #ifdef HAVE_COMPLEX_H
  14951. #include <complex.h>
  14952. #endif
  14953. #ifdef HAVE_MATH_H
  14954. #include <math.h>
  14955. #endif
  14956. int (*ptr)() = (int (*)())acoshl;
  14957. int
  14958. main ()
  14959. {
  14960. return 0;
  14961. }
  14962. _ACEOF
  14963. if ac_fn_c_try_link "$LINENO"; then :
  14964. gcc_cv_math_func_acoshl=yes
  14965. else
  14966. gcc_cv_math_func_acoshl=no
  14967. fi
  14968. rm -f core conftest.err conftest.$ac_objext \
  14969. conftest$ac_exeext conftest.$ac_ext
  14970. fi
  14971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
  14972. $as_echo "$gcc_cv_math_func_acoshl" >&6; }
  14973. if test $gcc_cv_math_func_acoshl = yes; then
  14974. cat >>confdefs.h <<_ACEOF
  14975. #define HAVE_ACOSHL 1
  14976. _ACEOF
  14977. fi
  14978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
  14979. $as_echo_n "checking for asinf... " >&6; }
  14980. if ${gcc_cv_math_func_asinf+:} false; then :
  14981. $as_echo_n "(cached) " >&6
  14982. else
  14983. if test x$gcc_no_link = xyes; then
  14984. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14985. fi
  14986. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14987. /* end confdefs.h. */
  14988. #ifdef HAVE_COMPLEX_H
  14989. #include <complex.h>
  14990. #endif
  14991. #ifdef HAVE_MATH_H
  14992. #include <math.h>
  14993. #endif
  14994. int (*ptr)() = (int (*)())asinf;
  14995. int
  14996. main ()
  14997. {
  14998. return 0;
  14999. }
  15000. _ACEOF
  15001. if ac_fn_c_try_link "$LINENO"; then :
  15002. gcc_cv_math_func_asinf=yes
  15003. else
  15004. gcc_cv_math_func_asinf=no
  15005. fi
  15006. rm -f core conftest.err conftest.$ac_objext \
  15007. conftest$ac_exeext conftest.$ac_ext
  15008. fi
  15009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
  15010. $as_echo "$gcc_cv_math_func_asinf" >&6; }
  15011. if test $gcc_cv_math_func_asinf = yes; then
  15012. cat >>confdefs.h <<_ACEOF
  15013. #define HAVE_ASINF 1
  15014. _ACEOF
  15015. fi
  15016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
  15017. $as_echo_n "checking for asin... " >&6; }
  15018. if ${gcc_cv_math_func_asin+:} false; then :
  15019. $as_echo_n "(cached) " >&6
  15020. else
  15021. if test x$gcc_no_link = xyes; then
  15022. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15023. fi
  15024. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15025. /* end confdefs.h. */
  15026. #ifdef HAVE_COMPLEX_H
  15027. #include <complex.h>
  15028. #endif
  15029. #ifdef HAVE_MATH_H
  15030. #include <math.h>
  15031. #endif
  15032. int (*ptr)() = (int (*)())asin;
  15033. int
  15034. main ()
  15035. {
  15036. return 0;
  15037. }
  15038. _ACEOF
  15039. if ac_fn_c_try_link "$LINENO"; then :
  15040. gcc_cv_math_func_asin=yes
  15041. else
  15042. gcc_cv_math_func_asin=no
  15043. fi
  15044. rm -f core conftest.err conftest.$ac_objext \
  15045. conftest$ac_exeext conftest.$ac_ext
  15046. fi
  15047. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
  15048. $as_echo "$gcc_cv_math_func_asin" >&6; }
  15049. if test $gcc_cv_math_func_asin = yes; then
  15050. cat >>confdefs.h <<_ACEOF
  15051. #define HAVE_ASIN 1
  15052. _ACEOF
  15053. fi
  15054. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
  15055. $as_echo_n "checking for asinl... " >&6; }
  15056. if ${gcc_cv_math_func_asinl+:} false; then :
  15057. $as_echo_n "(cached) " >&6
  15058. else
  15059. if test x$gcc_no_link = xyes; then
  15060. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15061. fi
  15062. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15063. /* end confdefs.h. */
  15064. #ifdef HAVE_COMPLEX_H
  15065. #include <complex.h>
  15066. #endif
  15067. #ifdef HAVE_MATH_H
  15068. #include <math.h>
  15069. #endif
  15070. int (*ptr)() = (int (*)())asinl;
  15071. int
  15072. main ()
  15073. {
  15074. return 0;
  15075. }
  15076. _ACEOF
  15077. if ac_fn_c_try_link "$LINENO"; then :
  15078. gcc_cv_math_func_asinl=yes
  15079. else
  15080. gcc_cv_math_func_asinl=no
  15081. fi
  15082. rm -f core conftest.err conftest.$ac_objext \
  15083. conftest$ac_exeext conftest.$ac_ext
  15084. fi
  15085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
  15086. $as_echo "$gcc_cv_math_func_asinl" >&6; }
  15087. if test $gcc_cv_math_func_asinl = yes; then
  15088. cat >>confdefs.h <<_ACEOF
  15089. #define HAVE_ASINL 1
  15090. _ACEOF
  15091. fi
  15092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
  15093. $as_echo_n "checking for asinhf... " >&6; }
  15094. if ${gcc_cv_math_func_asinhf+:} false; then :
  15095. $as_echo_n "(cached) " >&6
  15096. else
  15097. if test x$gcc_no_link = xyes; then
  15098. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15099. fi
  15100. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15101. /* end confdefs.h. */
  15102. #ifdef HAVE_COMPLEX_H
  15103. #include <complex.h>
  15104. #endif
  15105. #ifdef HAVE_MATH_H
  15106. #include <math.h>
  15107. #endif
  15108. int (*ptr)() = (int (*)())asinhf;
  15109. int
  15110. main ()
  15111. {
  15112. return 0;
  15113. }
  15114. _ACEOF
  15115. if ac_fn_c_try_link "$LINENO"; then :
  15116. gcc_cv_math_func_asinhf=yes
  15117. else
  15118. gcc_cv_math_func_asinhf=no
  15119. fi
  15120. rm -f core conftest.err conftest.$ac_objext \
  15121. conftest$ac_exeext conftest.$ac_ext
  15122. fi
  15123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
  15124. $as_echo "$gcc_cv_math_func_asinhf" >&6; }
  15125. if test $gcc_cv_math_func_asinhf = yes; then
  15126. cat >>confdefs.h <<_ACEOF
  15127. #define HAVE_ASINHF 1
  15128. _ACEOF
  15129. fi
  15130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
  15131. $as_echo_n "checking for asinh... " >&6; }
  15132. if ${gcc_cv_math_func_asinh+:} false; then :
  15133. $as_echo_n "(cached) " >&6
  15134. else
  15135. if test x$gcc_no_link = xyes; then
  15136. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15137. fi
  15138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15139. /* end confdefs.h. */
  15140. #ifdef HAVE_COMPLEX_H
  15141. #include <complex.h>
  15142. #endif
  15143. #ifdef HAVE_MATH_H
  15144. #include <math.h>
  15145. #endif
  15146. int (*ptr)() = (int (*)())asinh;
  15147. int
  15148. main ()
  15149. {
  15150. return 0;
  15151. }
  15152. _ACEOF
  15153. if ac_fn_c_try_link "$LINENO"; then :
  15154. gcc_cv_math_func_asinh=yes
  15155. else
  15156. gcc_cv_math_func_asinh=no
  15157. fi
  15158. rm -f core conftest.err conftest.$ac_objext \
  15159. conftest$ac_exeext conftest.$ac_ext
  15160. fi
  15161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
  15162. $as_echo "$gcc_cv_math_func_asinh" >&6; }
  15163. if test $gcc_cv_math_func_asinh = yes; then
  15164. cat >>confdefs.h <<_ACEOF
  15165. #define HAVE_ASINH 1
  15166. _ACEOF
  15167. fi
  15168. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
  15169. $as_echo_n "checking for asinhl... " >&6; }
  15170. if ${gcc_cv_math_func_asinhl+:} false; then :
  15171. $as_echo_n "(cached) " >&6
  15172. else
  15173. if test x$gcc_no_link = xyes; then
  15174. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15175. fi
  15176. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15177. /* end confdefs.h. */
  15178. #ifdef HAVE_COMPLEX_H
  15179. #include <complex.h>
  15180. #endif
  15181. #ifdef HAVE_MATH_H
  15182. #include <math.h>
  15183. #endif
  15184. int (*ptr)() = (int (*)())asinhl;
  15185. int
  15186. main ()
  15187. {
  15188. return 0;
  15189. }
  15190. _ACEOF
  15191. if ac_fn_c_try_link "$LINENO"; then :
  15192. gcc_cv_math_func_asinhl=yes
  15193. else
  15194. gcc_cv_math_func_asinhl=no
  15195. fi
  15196. rm -f core conftest.err conftest.$ac_objext \
  15197. conftest$ac_exeext conftest.$ac_ext
  15198. fi
  15199. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
  15200. $as_echo "$gcc_cv_math_func_asinhl" >&6; }
  15201. if test $gcc_cv_math_func_asinhl = yes; then
  15202. cat >>confdefs.h <<_ACEOF
  15203. #define HAVE_ASINHL 1
  15204. _ACEOF
  15205. fi
  15206. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
  15207. $as_echo_n "checking for atan2f... " >&6; }
  15208. if ${gcc_cv_math_func_atan2f+:} false; then :
  15209. $as_echo_n "(cached) " >&6
  15210. else
  15211. if test x$gcc_no_link = xyes; then
  15212. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15213. fi
  15214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15215. /* end confdefs.h. */
  15216. #ifdef HAVE_COMPLEX_H
  15217. #include <complex.h>
  15218. #endif
  15219. #ifdef HAVE_MATH_H
  15220. #include <math.h>
  15221. #endif
  15222. int (*ptr)() = (int (*)())atan2f;
  15223. int
  15224. main ()
  15225. {
  15226. return 0;
  15227. }
  15228. _ACEOF
  15229. if ac_fn_c_try_link "$LINENO"; then :
  15230. gcc_cv_math_func_atan2f=yes
  15231. else
  15232. gcc_cv_math_func_atan2f=no
  15233. fi
  15234. rm -f core conftest.err conftest.$ac_objext \
  15235. conftest$ac_exeext conftest.$ac_ext
  15236. fi
  15237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
  15238. $as_echo "$gcc_cv_math_func_atan2f" >&6; }
  15239. if test $gcc_cv_math_func_atan2f = yes; then
  15240. cat >>confdefs.h <<_ACEOF
  15241. #define HAVE_ATAN2F 1
  15242. _ACEOF
  15243. fi
  15244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
  15245. $as_echo_n "checking for atan2... " >&6; }
  15246. if ${gcc_cv_math_func_atan2+:} false; then :
  15247. $as_echo_n "(cached) " >&6
  15248. else
  15249. if test x$gcc_no_link = xyes; then
  15250. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15251. fi
  15252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15253. /* end confdefs.h. */
  15254. #ifdef HAVE_COMPLEX_H
  15255. #include <complex.h>
  15256. #endif
  15257. #ifdef HAVE_MATH_H
  15258. #include <math.h>
  15259. #endif
  15260. int (*ptr)() = (int (*)())atan2;
  15261. int
  15262. main ()
  15263. {
  15264. return 0;
  15265. }
  15266. _ACEOF
  15267. if ac_fn_c_try_link "$LINENO"; then :
  15268. gcc_cv_math_func_atan2=yes
  15269. else
  15270. gcc_cv_math_func_atan2=no
  15271. fi
  15272. rm -f core conftest.err conftest.$ac_objext \
  15273. conftest$ac_exeext conftest.$ac_ext
  15274. fi
  15275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
  15276. $as_echo "$gcc_cv_math_func_atan2" >&6; }
  15277. if test $gcc_cv_math_func_atan2 = yes; then
  15278. cat >>confdefs.h <<_ACEOF
  15279. #define HAVE_ATAN2 1
  15280. _ACEOF
  15281. fi
  15282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
  15283. $as_echo_n "checking for atan2l... " >&6; }
  15284. if ${gcc_cv_math_func_atan2l+:} false; then :
  15285. $as_echo_n "(cached) " >&6
  15286. else
  15287. if test x$gcc_no_link = xyes; then
  15288. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15289. fi
  15290. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15291. /* end confdefs.h. */
  15292. #ifdef HAVE_COMPLEX_H
  15293. #include <complex.h>
  15294. #endif
  15295. #ifdef HAVE_MATH_H
  15296. #include <math.h>
  15297. #endif
  15298. int (*ptr)() = (int (*)())atan2l;
  15299. int
  15300. main ()
  15301. {
  15302. return 0;
  15303. }
  15304. _ACEOF
  15305. if ac_fn_c_try_link "$LINENO"; then :
  15306. gcc_cv_math_func_atan2l=yes
  15307. else
  15308. gcc_cv_math_func_atan2l=no
  15309. fi
  15310. rm -f core conftest.err conftest.$ac_objext \
  15311. conftest$ac_exeext conftest.$ac_ext
  15312. fi
  15313. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
  15314. $as_echo "$gcc_cv_math_func_atan2l" >&6; }
  15315. if test $gcc_cv_math_func_atan2l = yes; then
  15316. cat >>confdefs.h <<_ACEOF
  15317. #define HAVE_ATAN2L 1
  15318. _ACEOF
  15319. fi
  15320. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
  15321. $as_echo_n "checking for atanf... " >&6; }
  15322. if ${gcc_cv_math_func_atanf+:} false; then :
  15323. $as_echo_n "(cached) " >&6
  15324. else
  15325. if test x$gcc_no_link = xyes; then
  15326. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15327. fi
  15328. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15329. /* end confdefs.h. */
  15330. #ifdef HAVE_COMPLEX_H
  15331. #include <complex.h>
  15332. #endif
  15333. #ifdef HAVE_MATH_H
  15334. #include <math.h>
  15335. #endif
  15336. int (*ptr)() = (int (*)())atanf;
  15337. int
  15338. main ()
  15339. {
  15340. return 0;
  15341. }
  15342. _ACEOF
  15343. if ac_fn_c_try_link "$LINENO"; then :
  15344. gcc_cv_math_func_atanf=yes
  15345. else
  15346. gcc_cv_math_func_atanf=no
  15347. fi
  15348. rm -f core conftest.err conftest.$ac_objext \
  15349. conftest$ac_exeext conftest.$ac_ext
  15350. fi
  15351. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
  15352. $as_echo "$gcc_cv_math_func_atanf" >&6; }
  15353. if test $gcc_cv_math_func_atanf = yes; then
  15354. cat >>confdefs.h <<_ACEOF
  15355. #define HAVE_ATANF 1
  15356. _ACEOF
  15357. fi
  15358. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
  15359. $as_echo_n "checking for atan... " >&6; }
  15360. if ${gcc_cv_math_func_atan+:} false; then :
  15361. $as_echo_n "(cached) " >&6
  15362. else
  15363. if test x$gcc_no_link = xyes; then
  15364. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15365. fi
  15366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15367. /* end confdefs.h. */
  15368. #ifdef HAVE_COMPLEX_H
  15369. #include <complex.h>
  15370. #endif
  15371. #ifdef HAVE_MATH_H
  15372. #include <math.h>
  15373. #endif
  15374. int (*ptr)() = (int (*)())atan;
  15375. int
  15376. main ()
  15377. {
  15378. return 0;
  15379. }
  15380. _ACEOF
  15381. if ac_fn_c_try_link "$LINENO"; then :
  15382. gcc_cv_math_func_atan=yes
  15383. else
  15384. gcc_cv_math_func_atan=no
  15385. fi
  15386. rm -f core conftest.err conftest.$ac_objext \
  15387. conftest$ac_exeext conftest.$ac_ext
  15388. fi
  15389. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
  15390. $as_echo "$gcc_cv_math_func_atan" >&6; }
  15391. if test $gcc_cv_math_func_atan = yes; then
  15392. cat >>confdefs.h <<_ACEOF
  15393. #define HAVE_ATAN 1
  15394. _ACEOF
  15395. fi
  15396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
  15397. $as_echo_n "checking for atanl... " >&6; }
  15398. if ${gcc_cv_math_func_atanl+:} false; then :
  15399. $as_echo_n "(cached) " >&6
  15400. else
  15401. if test x$gcc_no_link = xyes; then
  15402. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15403. fi
  15404. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15405. /* end confdefs.h. */
  15406. #ifdef HAVE_COMPLEX_H
  15407. #include <complex.h>
  15408. #endif
  15409. #ifdef HAVE_MATH_H
  15410. #include <math.h>
  15411. #endif
  15412. int (*ptr)() = (int (*)())atanl;
  15413. int
  15414. main ()
  15415. {
  15416. return 0;
  15417. }
  15418. _ACEOF
  15419. if ac_fn_c_try_link "$LINENO"; then :
  15420. gcc_cv_math_func_atanl=yes
  15421. else
  15422. gcc_cv_math_func_atanl=no
  15423. fi
  15424. rm -f core conftest.err conftest.$ac_objext \
  15425. conftest$ac_exeext conftest.$ac_ext
  15426. fi
  15427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
  15428. $as_echo "$gcc_cv_math_func_atanl" >&6; }
  15429. if test $gcc_cv_math_func_atanl = yes; then
  15430. cat >>confdefs.h <<_ACEOF
  15431. #define HAVE_ATANL 1
  15432. _ACEOF
  15433. fi
  15434. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
  15435. $as_echo_n "checking for atanhf... " >&6; }
  15436. if ${gcc_cv_math_func_atanhf+:} false; then :
  15437. $as_echo_n "(cached) " >&6
  15438. else
  15439. if test x$gcc_no_link = xyes; then
  15440. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15441. fi
  15442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15443. /* end confdefs.h. */
  15444. #ifdef HAVE_COMPLEX_H
  15445. #include <complex.h>
  15446. #endif
  15447. #ifdef HAVE_MATH_H
  15448. #include <math.h>
  15449. #endif
  15450. int (*ptr)() = (int (*)())atanhf;
  15451. int
  15452. main ()
  15453. {
  15454. return 0;
  15455. }
  15456. _ACEOF
  15457. if ac_fn_c_try_link "$LINENO"; then :
  15458. gcc_cv_math_func_atanhf=yes
  15459. else
  15460. gcc_cv_math_func_atanhf=no
  15461. fi
  15462. rm -f core conftest.err conftest.$ac_objext \
  15463. conftest$ac_exeext conftest.$ac_ext
  15464. fi
  15465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
  15466. $as_echo "$gcc_cv_math_func_atanhf" >&6; }
  15467. if test $gcc_cv_math_func_atanhf = yes; then
  15468. cat >>confdefs.h <<_ACEOF
  15469. #define HAVE_ATANHF 1
  15470. _ACEOF
  15471. fi
  15472. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
  15473. $as_echo_n "checking for atanh... " >&6; }
  15474. if ${gcc_cv_math_func_atanh+:} false; then :
  15475. $as_echo_n "(cached) " >&6
  15476. else
  15477. if test x$gcc_no_link = xyes; then
  15478. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15479. fi
  15480. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15481. /* end confdefs.h. */
  15482. #ifdef HAVE_COMPLEX_H
  15483. #include <complex.h>
  15484. #endif
  15485. #ifdef HAVE_MATH_H
  15486. #include <math.h>
  15487. #endif
  15488. int (*ptr)() = (int (*)())atanh;
  15489. int
  15490. main ()
  15491. {
  15492. return 0;
  15493. }
  15494. _ACEOF
  15495. if ac_fn_c_try_link "$LINENO"; then :
  15496. gcc_cv_math_func_atanh=yes
  15497. else
  15498. gcc_cv_math_func_atanh=no
  15499. fi
  15500. rm -f core conftest.err conftest.$ac_objext \
  15501. conftest$ac_exeext conftest.$ac_ext
  15502. fi
  15503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
  15504. $as_echo "$gcc_cv_math_func_atanh" >&6; }
  15505. if test $gcc_cv_math_func_atanh = yes; then
  15506. cat >>confdefs.h <<_ACEOF
  15507. #define HAVE_ATANH 1
  15508. _ACEOF
  15509. fi
  15510. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
  15511. $as_echo_n "checking for atanhl... " >&6; }
  15512. if ${gcc_cv_math_func_atanhl+:} false; then :
  15513. $as_echo_n "(cached) " >&6
  15514. else
  15515. if test x$gcc_no_link = xyes; then
  15516. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15517. fi
  15518. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15519. /* end confdefs.h. */
  15520. #ifdef HAVE_COMPLEX_H
  15521. #include <complex.h>
  15522. #endif
  15523. #ifdef HAVE_MATH_H
  15524. #include <math.h>
  15525. #endif
  15526. int (*ptr)() = (int (*)())atanhl;
  15527. int
  15528. main ()
  15529. {
  15530. return 0;
  15531. }
  15532. _ACEOF
  15533. if ac_fn_c_try_link "$LINENO"; then :
  15534. gcc_cv_math_func_atanhl=yes
  15535. else
  15536. gcc_cv_math_func_atanhl=no
  15537. fi
  15538. rm -f core conftest.err conftest.$ac_objext \
  15539. conftest$ac_exeext conftest.$ac_ext
  15540. fi
  15541. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
  15542. $as_echo "$gcc_cv_math_func_atanhl" >&6; }
  15543. if test $gcc_cv_math_func_atanhl = yes; then
  15544. cat >>confdefs.h <<_ACEOF
  15545. #define HAVE_ATANHL 1
  15546. _ACEOF
  15547. fi
  15548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
  15549. $as_echo_n "checking for cargf... " >&6; }
  15550. if ${gcc_cv_math_func_cargf+:} false; then :
  15551. $as_echo_n "(cached) " >&6
  15552. else
  15553. if test x$gcc_no_link = xyes; then
  15554. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15555. fi
  15556. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15557. /* end confdefs.h. */
  15558. #ifdef HAVE_COMPLEX_H
  15559. #include <complex.h>
  15560. #endif
  15561. #ifdef HAVE_MATH_H
  15562. #include <math.h>
  15563. #endif
  15564. int (*ptr)() = (int (*)())cargf;
  15565. int
  15566. main ()
  15567. {
  15568. return 0;
  15569. }
  15570. _ACEOF
  15571. if ac_fn_c_try_link "$LINENO"; then :
  15572. gcc_cv_math_func_cargf=yes
  15573. else
  15574. gcc_cv_math_func_cargf=no
  15575. fi
  15576. rm -f core conftest.err conftest.$ac_objext \
  15577. conftest$ac_exeext conftest.$ac_ext
  15578. fi
  15579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
  15580. $as_echo "$gcc_cv_math_func_cargf" >&6; }
  15581. if test $gcc_cv_math_func_cargf = yes; then
  15582. cat >>confdefs.h <<_ACEOF
  15583. #define HAVE_CARGF 1
  15584. _ACEOF
  15585. fi
  15586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
  15587. $as_echo_n "checking for carg... " >&6; }
  15588. if ${gcc_cv_math_func_carg+:} false; then :
  15589. $as_echo_n "(cached) " >&6
  15590. else
  15591. if test x$gcc_no_link = xyes; then
  15592. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15593. fi
  15594. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15595. /* end confdefs.h. */
  15596. #ifdef HAVE_COMPLEX_H
  15597. #include <complex.h>
  15598. #endif
  15599. #ifdef HAVE_MATH_H
  15600. #include <math.h>
  15601. #endif
  15602. int (*ptr)() = (int (*)())carg;
  15603. int
  15604. main ()
  15605. {
  15606. return 0;
  15607. }
  15608. _ACEOF
  15609. if ac_fn_c_try_link "$LINENO"; then :
  15610. gcc_cv_math_func_carg=yes
  15611. else
  15612. gcc_cv_math_func_carg=no
  15613. fi
  15614. rm -f core conftest.err conftest.$ac_objext \
  15615. conftest$ac_exeext conftest.$ac_ext
  15616. fi
  15617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
  15618. $as_echo "$gcc_cv_math_func_carg" >&6; }
  15619. if test $gcc_cv_math_func_carg = yes; then
  15620. cat >>confdefs.h <<_ACEOF
  15621. #define HAVE_CARG 1
  15622. _ACEOF
  15623. fi
  15624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
  15625. $as_echo_n "checking for cargl... " >&6; }
  15626. if ${gcc_cv_math_func_cargl+:} false; then :
  15627. $as_echo_n "(cached) " >&6
  15628. else
  15629. if test x$gcc_no_link = xyes; then
  15630. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15631. fi
  15632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15633. /* end confdefs.h. */
  15634. #ifdef HAVE_COMPLEX_H
  15635. #include <complex.h>
  15636. #endif
  15637. #ifdef HAVE_MATH_H
  15638. #include <math.h>
  15639. #endif
  15640. int (*ptr)() = (int (*)())cargl;
  15641. int
  15642. main ()
  15643. {
  15644. return 0;
  15645. }
  15646. _ACEOF
  15647. if ac_fn_c_try_link "$LINENO"; then :
  15648. gcc_cv_math_func_cargl=yes
  15649. else
  15650. gcc_cv_math_func_cargl=no
  15651. fi
  15652. rm -f core conftest.err conftest.$ac_objext \
  15653. conftest$ac_exeext conftest.$ac_ext
  15654. fi
  15655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
  15656. $as_echo "$gcc_cv_math_func_cargl" >&6; }
  15657. if test $gcc_cv_math_func_cargl = yes; then
  15658. cat >>confdefs.h <<_ACEOF
  15659. #define HAVE_CARGL 1
  15660. _ACEOF
  15661. fi
  15662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
  15663. $as_echo_n "checking for ceilf... " >&6; }
  15664. if ${gcc_cv_math_func_ceilf+:} false; then :
  15665. $as_echo_n "(cached) " >&6
  15666. else
  15667. if test x$gcc_no_link = xyes; then
  15668. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15669. fi
  15670. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15671. /* end confdefs.h. */
  15672. #ifdef HAVE_COMPLEX_H
  15673. #include <complex.h>
  15674. #endif
  15675. #ifdef HAVE_MATH_H
  15676. #include <math.h>
  15677. #endif
  15678. int (*ptr)() = (int (*)())ceilf;
  15679. int
  15680. main ()
  15681. {
  15682. return 0;
  15683. }
  15684. _ACEOF
  15685. if ac_fn_c_try_link "$LINENO"; then :
  15686. gcc_cv_math_func_ceilf=yes
  15687. else
  15688. gcc_cv_math_func_ceilf=no
  15689. fi
  15690. rm -f core conftest.err conftest.$ac_objext \
  15691. conftest$ac_exeext conftest.$ac_ext
  15692. fi
  15693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
  15694. $as_echo "$gcc_cv_math_func_ceilf" >&6; }
  15695. if test $gcc_cv_math_func_ceilf = yes; then
  15696. cat >>confdefs.h <<_ACEOF
  15697. #define HAVE_CEILF 1
  15698. _ACEOF
  15699. fi
  15700. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
  15701. $as_echo_n "checking for ceil... " >&6; }
  15702. if ${gcc_cv_math_func_ceil+:} false; then :
  15703. $as_echo_n "(cached) " >&6
  15704. else
  15705. if test x$gcc_no_link = xyes; then
  15706. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15707. fi
  15708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15709. /* end confdefs.h. */
  15710. #ifdef HAVE_COMPLEX_H
  15711. #include <complex.h>
  15712. #endif
  15713. #ifdef HAVE_MATH_H
  15714. #include <math.h>
  15715. #endif
  15716. int (*ptr)() = (int (*)())ceil;
  15717. int
  15718. main ()
  15719. {
  15720. return 0;
  15721. }
  15722. _ACEOF
  15723. if ac_fn_c_try_link "$LINENO"; then :
  15724. gcc_cv_math_func_ceil=yes
  15725. else
  15726. gcc_cv_math_func_ceil=no
  15727. fi
  15728. rm -f core conftest.err conftest.$ac_objext \
  15729. conftest$ac_exeext conftest.$ac_ext
  15730. fi
  15731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
  15732. $as_echo "$gcc_cv_math_func_ceil" >&6; }
  15733. if test $gcc_cv_math_func_ceil = yes; then
  15734. cat >>confdefs.h <<_ACEOF
  15735. #define HAVE_CEIL 1
  15736. _ACEOF
  15737. fi
  15738. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
  15739. $as_echo_n "checking for ceill... " >&6; }
  15740. if ${gcc_cv_math_func_ceill+:} false; then :
  15741. $as_echo_n "(cached) " >&6
  15742. else
  15743. if test x$gcc_no_link = xyes; then
  15744. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15745. fi
  15746. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15747. /* end confdefs.h. */
  15748. #ifdef HAVE_COMPLEX_H
  15749. #include <complex.h>
  15750. #endif
  15751. #ifdef HAVE_MATH_H
  15752. #include <math.h>
  15753. #endif
  15754. int (*ptr)() = (int (*)())ceill;
  15755. int
  15756. main ()
  15757. {
  15758. return 0;
  15759. }
  15760. _ACEOF
  15761. if ac_fn_c_try_link "$LINENO"; then :
  15762. gcc_cv_math_func_ceill=yes
  15763. else
  15764. gcc_cv_math_func_ceill=no
  15765. fi
  15766. rm -f core conftest.err conftest.$ac_objext \
  15767. conftest$ac_exeext conftest.$ac_ext
  15768. fi
  15769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
  15770. $as_echo "$gcc_cv_math_func_ceill" >&6; }
  15771. if test $gcc_cv_math_func_ceill = yes; then
  15772. cat >>confdefs.h <<_ACEOF
  15773. #define HAVE_CEILL 1
  15774. _ACEOF
  15775. fi
  15776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
  15777. $as_echo_n "checking for copysignf... " >&6; }
  15778. if ${gcc_cv_math_func_copysignf+:} false; then :
  15779. $as_echo_n "(cached) " >&6
  15780. else
  15781. if test x$gcc_no_link = xyes; then
  15782. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15783. fi
  15784. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15785. /* end confdefs.h. */
  15786. #ifdef HAVE_COMPLEX_H
  15787. #include <complex.h>
  15788. #endif
  15789. #ifdef HAVE_MATH_H
  15790. #include <math.h>
  15791. #endif
  15792. int (*ptr)() = (int (*)())copysignf;
  15793. int
  15794. main ()
  15795. {
  15796. return 0;
  15797. }
  15798. _ACEOF
  15799. if ac_fn_c_try_link "$LINENO"; then :
  15800. gcc_cv_math_func_copysignf=yes
  15801. else
  15802. gcc_cv_math_func_copysignf=no
  15803. fi
  15804. rm -f core conftest.err conftest.$ac_objext \
  15805. conftest$ac_exeext conftest.$ac_ext
  15806. fi
  15807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
  15808. $as_echo "$gcc_cv_math_func_copysignf" >&6; }
  15809. if test $gcc_cv_math_func_copysignf = yes; then
  15810. cat >>confdefs.h <<_ACEOF
  15811. #define HAVE_COPYSIGNF 1
  15812. _ACEOF
  15813. fi
  15814. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
  15815. $as_echo_n "checking for copysign... " >&6; }
  15816. if ${gcc_cv_math_func_copysign+:} false; then :
  15817. $as_echo_n "(cached) " >&6
  15818. else
  15819. if test x$gcc_no_link = xyes; then
  15820. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15821. fi
  15822. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15823. /* end confdefs.h. */
  15824. #ifdef HAVE_COMPLEX_H
  15825. #include <complex.h>
  15826. #endif
  15827. #ifdef HAVE_MATH_H
  15828. #include <math.h>
  15829. #endif
  15830. int (*ptr)() = (int (*)())copysign;
  15831. int
  15832. main ()
  15833. {
  15834. return 0;
  15835. }
  15836. _ACEOF
  15837. if ac_fn_c_try_link "$LINENO"; then :
  15838. gcc_cv_math_func_copysign=yes
  15839. else
  15840. gcc_cv_math_func_copysign=no
  15841. fi
  15842. rm -f core conftest.err conftest.$ac_objext \
  15843. conftest$ac_exeext conftest.$ac_ext
  15844. fi
  15845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
  15846. $as_echo "$gcc_cv_math_func_copysign" >&6; }
  15847. if test $gcc_cv_math_func_copysign = yes; then
  15848. cat >>confdefs.h <<_ACEOF
  15849. #define HAVE_COPYSIGN 1
  15850. _ACEOF
  15851. fi
  15852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
  15853. $as_echo_n "checking for copysignl... " >&6; }
  15854. if ${gcc_cv_math_func_copysignl+:} false; then :
  15855. $as_echo_n "(cached) " >&6
  15856. else
  15857. if test x$gcc_no_link = xyes; then
  15858. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15859. fi
  15860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15861. /* end confdefs.h. */
  15862. #ifdef HAVE_COMPLEX_H
  15863. #include <complex.h>
  15864. #endif
  15865. #ifdef HAVE_MATH_H
  15866. #include <math.h>
  15867. #endif
  15868. int (*ptr)() = (int (*)())copysignl;
  15869. int
  15870. main ()
  15871. {
  15872. return 0;
  15873. }
  15874. _ACEOF
  15875. if ac_fn_c_try_link "$LINENO"; then :
  15876. gcc_cv_math_func_copysignl=yes
  15877. else
  15878. gcc_cv_math_func_copysignl=no
  15879. fi
  15880. rm -f core conftest.err conftest.$ac_objext \
  15881. conftest$ac_exeext conftest.$ac_ext
  15882. fi
  15883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
  15884. $as_echo "$gcc_cv_math_func_copysignl" >&6; }
  15885. if test $gcc_cv_math_func_copysignl = yes; then
  15886. cat >>confdefs.h <<_ACEOF
  15887. #define HAVE_COPYSIGNL 1
  15888. _ACEOF
  15889. fi
  15890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
  15891. $as_echo_n "checking for cosf... " >&6; }
  15892. if ${gcc_cv_math_func_cosf+:} false; then :
  15893. $as_echo_n "(cached) " >&6
  15894. else
  15895. if test x$gcc_no_link = xyes; then
  15896. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15897. fi
  15898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15899. /* end confdefs.h. */
  15900. #ifdef HAVE_COMPLEX_H
  15901. #include <complex.h>
  15902. #endif
  15903. #ifdef HAVE_MATH_H
  15904. #include <math.h>
  15905. #endif
  15906. int (*ptr)() = (int (*)())cosf;
  15907. int
  15908. main ()
  15909. {
  15910. return 0;
  15911. }
  15912. _ACEOF
  15913. if ac_fn_c_try_link "$LINENO"; then :
  15914. gcc_cv_math_func_cosf=yes
  15915. else
  15916. gcc_cv_math_func_cosf=no
  15917. fi
  15918. rm -f core conftest.err conftest.$ac_objext \
  15919. conftest$ac_exeext conftest.$ac_ext
  15920. fi
  15921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
  15922. $as_echo "$gcc_cv_math_func_cosf" >&6; }
  15923. if test $gcc_cv_math_func_cosf = yes; then
  15924. cat >>confdefs.h <<_ACEOF
  15925. #define HAVE_COSF 1
  15926. _ACEOF
  15927. fi
  15928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
  15929. $as_echo_n "checking for cos... " >&6; }
  15930. if ${gcc_cv_math_func_cos+:} false; then :
  15931. $as_echo_n "(cached) " >&6
  15932. else
  15933. if test x$gcc_no_link = xyes; then
  15934. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15935. fi
  15936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15937. /* end confdefs.h. */
  15938. #ifdef HAVE_COMPLEX_H
  15939. #include <complex.h>
  15940. #endif
  15941. #ifdef HAVE_MATH_H
  15942. #include <math.h>
  15943. #endif
  15944. int (*ptr)() = (int (*)())cos;
  15945. int
  15946. main ()
  15947. {
  15948. return 0;
  15949. }
  15950. _ACEOF
  15951. if ac_fn_c_try_link "$LINENO"; then :
  15952. gcc_cv_math_func_cos=yes
  15953. else
  15954. gcc_cv_math_func_cos=no
  15955. fi
  15956. rm -f core conftest.err conftest.$ac_objext \
  15957. conftest$ac_exeext conftest.$ac_ext
  15958. fi
  15959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
  15960. $as_echo "$gcc_cv_math_func_cos" >&6; }
  15961. if test $gcc_cv_math_func_cos = yes; then
  15962. cat >>confdefs.h <<_ACEOF
  15963. #define HAVE_COS 1
  15964. _ACEOF
  15965. fi
  15966. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
  15967. $as_echo_n "checking for cosl... " >&6; }
  15968. if ${gcc_cv_math_func_cosl+:} false; then :
  15969. $as_echo_n "(cached) " >&6
  15970. else
  15971. if test x$gcc_no_link = xyes; then
  15972. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15973. fi
  15974. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15975. /* end confdefs.h. */
  15976. #ifdef HAVE_COMPLEX_H
  15977. #include <complex.h>
  15978. #endif
  15979. #ifdef HAVE_MATH_H
  15980. #include <math.h>
  15981. #endif
  15982. int (*ptr)() = (int (*)())cosl;
  15983. int
  15984. main ()
  15985. {
  15986. return 0;
  15987. }
  15988. _ACEOF
  15989. if ac_fn_c_try_link "$LINENO"; then :
  15990. gcc_cv_math_func_cosl=yes
  15991. else
  15992. gcc_cv_math_func_cosl=no
  15993. fi
  15994. rm -f core conftest.err conftest.$ac_objext \
  15995. conftest$ac_exeext conftest.$ac_ext
  15996. fi
  15997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
  15998. $as_echo "$gcc_cv_math_func_cosl" >&6; }
  15999. if test $gcc_cv_math_func_cosl = yes; then
  16000. cat >>confdefs.h <<_ACEOF
  16001. #define HAVE_COSL 1
  16002. _ACEOF
  16003. fi
  16004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
  16005. $as_echo_n "checking for ccosf... " >&6; }
  16006. if ${gcc_cv_math_func_ccosf+:} false; then :
  16007. $as_echo_n "(cached) " >&6
  16008. else
  16009. if test x$gcc_no_link = xyes; then
  16010. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16011. fi
  16012. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16013. /* end confdefs.h. */
  16014. #ifdef HAVE_COMPLEX_H
  16015. #include <complex.h>
  16016. #endif
  16017. #ifdef HAVE_MATH_H
  16018. #include <math.h>
  16019. #endif
  16020. int (*ptr)() = (int (*)())ccosf;
  16021. int
  16022. main ()
  16023. {
  16024. return 0;
  16025. }
  16026. _ACEOF
  16027. if ac_fn_c_try_link "$LINENO"; then :
  16028. gcc_cv_math_func_ccosf=yes
  16029. else
  16030. gcc_cv_math_func_ccosf=no
  16031. fi
  16032. rm -f core conftest.err conftest.$ac_objext \
  16033. conftest$ac_exeext conftest.$ac_ext
  16034. fi
  16035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
  16036. $as_echo "$gcc_cv_math_func_ccosf" >&6; }
  16037. if test $gcc_cv_math_func_ccosf = yes; then
  16038. cat >>confdefs.h <<_ACEOF
  16039. #define HAVE_CCOSF 1
  16040. _ACEOF
  16041. fi
  16042. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
  16043. $as_echo_n "checking for ccos... " >&6; }
  16044. if ${gcc_cv_math_func_ccos+:} false; then :
  16045. $as_echo_n "(cached) " >&6
  16046. else
  16047. if test x$gcc_no_link = xyes; then
  16048. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16049. fi
  16050. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16051. /* end confdefs.h. */
  16052. #ifdef HAVE_COMPLEX_H
  16053. #include <complex.h>
  16054. #endif
  16055. #ifdef HAVE_MATH_H
  16056. #include <math.h>
  16057. #endif
  16058. int (*ptr)() = (int (*)())ccos;
  16059. int
  16060. main ()
  16061. {
  16062. return 0;
  16063. }
  16064. _ACEOF
  16065. if ac_fn_c_try_link "$LINENO"; then :
  16066. gcc_cv_math_func_ccos=yes
  16067. else
  16068. gcc_cv_math_func_ccos=no
  16069. fi
  16070. rm -f core conftest.err conftest.$ac_objext \
  16071. conftest$ac_exeext conftest.$ac_ext
  16072. fi
  16073. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
  16074. $as_echo "$gcc_cv_math_func_ccos" >&6; }
  16075. if test $gcc_cv_math_func_ccos = yes; then
  16076. cat >>confdefs.h <<_ACEOF
  16077. #define HAVE_CCOS 1
  16078. _ACEOF
  16079. fi
  16080. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
  16081. $as_echo_n "checking for ccosl... " >&6; }
  16082. if ${gcc_cv_math_func_ccosl+:} false; then :
  16083. $as_echo_n "(cached) " >&6
  16084. else
  16085. if test x$gcc_no_link = xyes; then
  16086. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16087. fi
  16088. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16089. /* end confdefs.h. */
  16090. #ifdef HAVE_COMPLEX_H
  16091. #include <complex.h>
  16092. #endif
  16093. #ifdef HAVE_MATH_H
  16094. #include <math.h>
  16095. #endif
  16096. int (*ptr)() = (int (*)())ccosl;
  16097. int
  16098. main ()
  16099. {
  16100. return 0;
  16101. }
  16102. _ACEOF
  16103. if ac_fn_c_try_link "$LINENO"; then :
  16104. gcc_cv_math_func_ccosl=yes
  16105. else
  16106. gcc_cv_math_func_ccosl=no
  16107. fi
  16108. rm -f core conftest.err conftest.$ac_objext \
  16109. conftest$ac_exeext conftest.$ac_ext
  16110. fi
  16111. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
  16112. $as_echo "$gcc_cv_math_func_ccosl" >&6; }
  16113. if test $gcc_cv_math_func_ccosl = yes; then
  16114. cat >>confdefs.h <<_ACEOF
  16115. #define HAVE_CCOSL 1
  16116. _ACEOF
  16117. fi
  16118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
  16119. $as_echo_n "checking for coshf... " >&6; }
  16120. if ${gcc_cv_math_func_coshf+:} false; then :
  16121. $as_echo_n "(cached) " >&6
  16122. else
  16123. if test x$gcc_no_link = xyes; then
  16124. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16125. fi
  16126. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16127. /* end confdefs.h. */
  16128. #ifdef HAVE_COMPLEX_H
  16129. #include <complex.h>
  16130. #endif
  16131. #ifdef HAVE_MATH_H
  16132. #include <math.h>
  16133. #endif
  16134. int (*ptr)() = (int (*)())coshf;
  16135. int
  16136. main ()
  16137. {
  16138. return 0;
  16139. }
  16140. _ACEOF
  16141. if ac_fn_c_try_link "$LINENO"; then :
  16142. gcc_cv_math_func_coshf=yes
  16143. else
  16144. gcc_cv_math_func_coshf=no
  16145. fi
  16146. rm -f core conftest.err conftest.$ac_objext \
  16147. conftest$ac_exeext conftest.$ac_ext
  16148. fi
  16149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
  16150. $as_echo "$gcc_cv_math_func_coshf" >&6; }
  16151. if test $gcc_cv_math_func_coshf = yes; then
  16152. cat >>confdefs.h <<_ACEOF
  16153. #define HAVE_COSHF 1
  16154. _ACEOF
  16155. fi
  16156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
  16157. $as_echo_n "checking for cosh... " >&6; }
  16158. if ${gcc_cv_math_func_cosh+:} false; then :
  16159. $as_echo_n "(cached) " >&6
  16160. else
  16161. if test x$gcc_no_link = xyes; then
  16162. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16163. fi
  16164. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16165. /* end confdefs.h. */
  16166. #ifdef HAVE_COMPLEX_H
  16167. #include <complex.h>
  16168. #endif
  16169. #ifdef HAVE_MATH_H
  16170. #include <math.h>
  16171. #endif
  16172. int (*ptr)() = (int (*)())cosh;
  16173. int
  16174. main ()
  16175. {
  16176. return 0;
  16177. }
  16178. _ACEOF
  16179. if ac_fn_c_try_link "$LINENO"; then :
  16180. gcc_cv_math_func_cosh=yes
  16181. else
  16182. gcc_cv_math_func_cosh=no
  16183. fi
  16184. rm -f core conftest.err conftest.$ac_objext \
  16185. conftest$ac_exeext conftest.$ac_ext
  16186. fi
  16187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
  16188. $as_echo "$gcc_cv_math_func_cosh" >&6; }
  16189. if test $gcc_cv_math_func_cosh = yes; then
  16190. cat >>confdefs.h <<_ACEOF
  16191. #define HAVE_COSH 1
  16192. _ACEOF
  16193. fi
  16194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
  16195. $as_echo_n "checking for coshl... " >&6; }
  16196. if ${gcc_cv_math_func_coshl+:} false; then :
  16197. $as_echo_n "(cached) " >&6
  16198. else
  16199. if test x$gcc_no_link = xyes; then
  16200. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16201. fi
  16202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16203. /* end confdefs.h. */
  16204. #ifdef HAVE_COMPLEX_H
  16205. #include <complex.h>
  16206. #endif
  16207. #ifdef HAVE_MATH_H
  16208. #include <math.h>
  16209. #endif
  16210. int (*ptr)() = (int (*)())coshl;
  16211. int
  16212. main ()
  16213. {
  16214. return 0;
  16215. }
  16216. _ACEOF
  16217. if ac_fn_c_try_link "$LINENO"; then :
  16218. gcc_cv_math_func_coshl=yes
  16219. else
  16220. gcc_cv_math_func_coshl=no
  16221. fi
  16222. rm -f core conftest.err conftest.$ac_objext \
  16223. conftest$ac_exeext conftest.$ac_ext
  16224. fi
  16225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
  16226. $as_echo "$gcc_cv_math_func_coshl" >&6; }
  16227. if test $gcc_cv_math_func_coshl = yes; then
  16228. cat >>confdefs.h <<_ACEOF
  16229. #define HAVE_COSHL 1
  16230. _ACEOF
  16231. fi
  16232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
  16233. $as_echo_n "checking for ccoshf... " >&6; }
  16234. if ${gcc_cv_math_func_ccoshf+:} false; then :
  16235. $as_echo_n "(cached) " >&6
  16236. else
  16237. if test x$gcc_no_link = xyes; then
  16238. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16239. fi
  16240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16241. /* end confdefs.h. */
  16242. #ifdef HAVE_COMPLEX_H
  16243. #include <complex.h>
  16244. #endif
  16245. #ifdef HAVE_MATH_H
  16246. #include <math.h>
  16247. #endif
  16248. int (*ptr)() = (int (*)())ccoshf;
  16249. int
  16250. main ()
  16251. {
  16252. return 0;
  16253. }
  16254. _ACEOF
  16255. if ac_fn_c_try_link "$LINENO"; then :
  16256. gcc_cv_math_func_ccoshf=yes
  16257. else
  16258. gcc_cv_math_func_ccoshf=no
  16259. fi
  16260. rm -f core conftest.err conftest.$ac_objext \
  16261. conftest$ac_exeext conftest.$ac_ext
  16262. fi
  16263. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
  16264. $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
  16265. if test $gcc_cv_math_func_ccoshf = yes; then
  16266. cat >>confdefs.h <<_ACEOF
  16267. #define HAVE_CCOSHF 1
  16268. _ACEOF
  16269. fi
  16270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
  16271. $as_echo_n "checking for ccosh... " >&6; }
  16272. if ${gcc_cv_math_func_ccosh+:} false; then :
  16273. $as_echo_n "(cached) " >&6
  16274. else
  16275. if test x$gcc_no_link = xyes; then
  16276. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16277. fi
  16278. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16279. /* end confdefs.h. */
  16280. #ifdef HAVE_COMPLEX_H
  16281. #include <complex.h>
  16282. #endif
  16283. #ifdef HAVE_MATH_H
  16284. #include <math.h>
  16285. #endif
  16286. int (*ptr)() = (int (*)())ccosh;
  16287. int
  16288. main ()
  16289. {
  16290. return 0;
  16291. }
  16292. _ACEOF
  16293. if ac_fn_c_try_link "$LINENO"; then :
  16294. gcc_cv_math_func_ccosh=yes
  16295. else
  16296. gcc_cv_math_func_ccosh=no
  16297. fi
  16298. rm -f core conftest.err conftest.$ac_objext \
  16299. conftest$ac_exeext conftest.$ac_ext
  16300. fi
  16301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
  16302. $as_echo "$gcc_cv_math_func_ccosh" >&6; }
  16303. if test $gcc_cv_math_func_ccosh = yes; then
  16304. cat >>confdefs.h <<_ACEOF
  16305. #define HAVE_CCOSH 1
  16306. _ACEOF
  16307. fi
  16308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
  16309. $as_echo_n "checking for ccoshl... " >&6; }
  16310. if ${gcc_cv_math_func_ccoshl+:} false; then :
  16311. $as_echo_n "(cached) " >&6
  16312. else
  16313. if test x$gcc_no_link = xyes; then
  16314. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16315. fi
  16316. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16317. /* end confdefs.h. */
  16318. #ifdef HAVE_COMPLEX_H
  16319. #include <complex.h>
  16320. #endif
  16321. #ifdef HAVE_MATH_H
  16322. #include <math.h>
  16323. #endif
  16324. int (*ptr)() = (int (*)())ccoshl;
  16325. int
  16326. main ()
  16327. {
  16328. return 0;
  16329. }
  16330. _ACEOF
  16331. if ac_fn_c_try_link "$LINENO"; then :
  16332. gcc_cv_math_func_ccoshl=yes
  16333. else
  16334. gcc_cv_math_func_ccoshl=no
  16335. fi
  16336. rm -f core conftest.err conftest.$ac_objext \
  16337. conftest$ac_exeext conftest.$ac_ext
  16338. fi
  16339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
  16340. $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
  16341. if test $gcc_cv_math_func_ccoshl = yes; then
  16342. cat >>confdefs.h <<_ACEOF
  16343. #define HAVE_CCOSHL 1
  16344. _ACEOF
  16345. fi
  16346. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
  16347. $as_echo_n "checking for expf... " >&6; }
  16348. if ${gcc_cv_math_func_expf+:} false; then :
  16349. $as_echo_n "(cached) " >&6
  16350. else
  16351. if test x$gcc_no_link = xyes; then
  16352. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16353. fi
  16354. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16355. /* end confdefs.h. */
  16356. #ifdef HAVE_COMPLEX_H
  16357. #include <complex.h>
  16358. #endif
  16359. #ifdef HAVE_MATH_H
  16360. #include <math.h>
  16361. #endif
  16362. int (*ptr)() = (int (*)())expf;
  16363. int
  16364. main ()
  16365. {
  16366. return 0;
  16367. }
  16368. _ACEOF
  16369. if ac_fn_c_try_link "$LINENO"; then :
  16370. gcc_cv_math_func_expf=yes
  16371. else
  16372. gcc_cv_math_func_expf=no
  16373. fi
  16374. rm -f core conftest.err conftest.$ac_objext \
  16375. conftest$ac_exeext conftest.$ac_ext
  16376. fi
  16377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
  16378. $as_echo "$gcc_cv_math_func_expf" >&6; }
  16379. if test $gcc_cv_math_func_expf = yes; then
  16380. cat >>confdefs.h <<_ACEOF
  16381. #define HAVE_EXPF 1
  16382. _ACEOF
  16383. fi
  16384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
  16385. $as_echo_n "checking for exp... " >&6; }
  16386. if ${gcc_cv_math_func_exp+:} false; then :
  16387. $as_echo_n "(cached) " >&6
  16388. else
  16389. if test x$gcc_no_link = xyes; then
  16390. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16391. fi
  16392. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16393. /* end confdefs.h. */
  16394. #ifdef HAVE_COMPLEX_H
  16395. #include <complex.h>
  16396. #endif
  16397. #ifdef HAVE_MATH_H
  16398. #include <math.h>
  16399. #endif
  16400. int (*ptr)() = (int (*)())exp;
  16401. int
  16402. main ()
  16403. {
  16404. return 0;
  16405. }
  16406. _ACEOF
  16407. if ac_fn_c_try_link "$LINENO"; then :
  16408. gcc_cv_math_func_exp=yes
  16409. else
  16410. gcc_cv_math_func_exp=no
  16411. fi
  16412. rm -f core conftest.err conftest.$ac_objext \
  16413. conftest$ac_exeext conftest.$ac_ext
  16414. fi
  16415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
  16416. $as_echo "$gcc_cv_math_func_exp" >&6; }
  16417. if test $gcc_cv_math_func_exp = yes; then
  16418. cat >>confdefs.h <<_ACEOF
  16419. #define HAVE_EXP 1
  16420. _ACEOF
  16421. fi
  16422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
  16423. $as_echo_n "checking for expl... " >&6; }
  16424. if ${gcc_cv_math_func_expl+:} false; then :
  16425. $as_echo_n "(cached) " >&6
  16426. else
  16427. if test x$gcc_no_link = xyes; then
  16428. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16429. fi
  16430. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16431. /* end confdefs.h. */
  16432. #ifdef HAVE_COMPLEX_H
  16433. #include <complex.h>
  16434. #endif
  16435. #ifdef HAVE_MATH_H
  16436. #include <math.h>
  16437. #endif
  16438. int (*ptr)() = (int (*)())expl;
  16439. int
  16440. main ()
  16441. {
  16442. return 0;
  16443. }
  16444. _ACEOF
  16445. if ac_fn_c_try_link "$LINENO"; then :
  16446. gcc_cv_math_func_expl=yes
  16447. else
  16448. gcc_cv_math_func_expl=no
  16449. fi
  16450. rm -f core conftest.err conftest.$ac_objext \
  16451. conftest$ac_exeext conftest.$ac_ext
  16452. fi
  16453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
  16454. $as_echo "$gcc_cv_math_func_expl" >&6; }
  16455. if test $gcc_cv_math_func_expl = yes; then
  16456. cat >>confdefs.h <<_ACEOF
  16457. #define HAVE_EXPL 1
  16458. _ACEOF
  16459. fi
  16460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
  16461. $as_echo_n "checking for cexpf... " >&6; }
  16462. if ${gcc_cv_math_func_cexpf+:} false; then :
  16463. $as_echo_n "(cached) " >&6
  16464. else
  16465. if test x$gcc_no_link = xyes; then
  16466. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16467. fi
  16468. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16469. /* end confdefs.h. */
  16470. #ifdef HAVE_COMPLEX_H
  16471. #include <complex.h>
  16472. #endif
  16473. #ifdef HAVE_MATH_H
  16474. #include <math.h>
  16475. #endif
  16476. int (*ptr)() = (int (*)())cexpf;
  16477. int
  16478. main ()
  16479. {
  16480. return 0;
  16481. }
  16482. _ACEOF
  16483. if ac_fn_c_try_link "$LINENO"; then :
  16484. gcc_cv_math_func_cexpf=yes
  16485. else
  16486. gcc_cv_math_func_cexpf=no
  16487. fi
  16488. rm -f core conftest.err conftest.$ac_objext \
  16489. conftest$ac_exeext conftest.$ac_ext
  16490. fi
  16491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
  16492. $as_echo "$gcc_cv_math_func_cexpf" >&6; }
  16493. if test $gcc_cv_math_func_cexpf = yes; then
  16494. cat >>confdefs.h <<_ACEOF
  16495. #define HAVE_CEXPF 1
  16496. _ACEOF
  16497. fi
  16498. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
  16499. $as_echo_n "checking for cexp... " >&6; }
  16500. if ${gcc_cv_math_func_cexp+:} false; then :
  16501. $as_echo_n "(cached) " >&6
  16502. else
  16503. if test x$gcc_no_link = xyes; then
  16504. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16505. fi
  16506. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16507. /* end confdefs.h. */
  16508. #ifdef HAVE_COMPLEX_H
  16509. #include <complex.h>
  16510. #endif
  16511. #ifdef HAVE_MATH_H
  16512. #include <math.h>
  16513. #endif
  16514. int (*ptr)() = (int (*)())cexp;
  16515. int
  16516. main ()
  16517. {
  16518. return 0;
  16519. }
  16520. _ACEOF
  16521. if ac_fn_c_try_link "$LINENO"; then :
  16522. gcc_cv_math_func_cexp=yes
  16523. else
  16524. gcc_cv_math_func_cexp=no
  16525. fi
  16526. rm -f core conftest.err conftest.$ac_objext \
  16527. conftest$ac_exeext conftest.$ac_ext
  16528. fi
  16529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
  16530. $as_echo "$gcc_cv_math_func_cexp" >&6; }
  16531. if test $gcc_cv_math_func_cexp = yes; then
  16532. cat >>confdefs.h <<_ACEOF
  16533. #define HAVE_CEXP 1
  16534. _ACEOF
  16535. fi
  16536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
  16537. $as_echo_n "checking for cexpl... " >&6; }
  16538. if ${gcc_cv_math_func_cexpl+:} false; then :
  16539. $as_echo_n "(cached) " >&6
  16540. else
  16541. if test x$gcc_no_link = xyes; then
  16542. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16543. fi
  16544. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16545. /* end confdefs.h. */
  16546. #ifdef HAVE_COMPLEX_H
  16547. #include <complex.h>
  16548. #endif
  16549. #ifdef HAVE_MATH_H
  16550. #include <math.h>
  16551. #endif
  16552. int (*ptr)() = (int (*)())cexpl;
  16553. int
  16554. main ()
  16555. {
  16556. return 0;
  16557. }
  16558. _ACEOF
  16559. if ac_fn_c_try_link "$LINENO"; then :
  16560. gcc_cv_math_func_cexpl=yes
  16561. else
  16562. gcc_cv_math_func_cexpl=no
  16563. fi
  16564. rm -f core conftest.err conftest.$ac_objext \
  16565. conftest$ac_exeext conftest.$ac_ext
  16566. fi
  16567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
  16568. $as_echo "$gcc_cv_math_func_cexpl" >&6; }
  16569. if test $gcc_cv_math_func_cexpl = yes; then
  16570. cat >>confdefs.h <<_ACEOF
  16571. #define HAVE_CEXPL 1
  16572. _ACEOF
  16573. fi
  16574. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
  16575. $as_echo_n "checking for fabsf... " >&6; }
  16576. if ${gcc_cv_math_func_fabsf+:} false; then :
  16577. $as_echo_n "(cached) " >&6
  16578. else
  16579. if test x$gcc_no_link = xyes; then
  16580. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16581. fi
  16582. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16583. /* end confdefs.h. */
  16584. #ifdef HAVE_COMPLEX_H
  16585. #include <complex.h>
  16586. #endif
  16587. #ifdef HAVE_MATH_H
  16588. #include <math.h>
  16589. #endif
  16590. int (*ptr)() = (int (*)())fabsf;
  16591. int
  16592. main ()
  16593. {
  16594. return 0;
  16595. }
  16596. _ACEOF
  16597. if ac_fn_c_try_link "$LINENO"; then :
  16598. gcc_cv_math_func_fabsf=yes
  16599. else
  16600. gcc_cv_math_func_fabsf=no
  16601. fi
  16602. rm -f core conftest.err conftest.$ac_objext \
  16603. conftest$ac_exeext conftest.$ac_ext
  16604. fi
  16605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
  16606. $as_echo "$gcc_cv_math_func_fabsf" >&6; }
  16607. if test $gcc_cv_math_func_fabsf = yes; then
  16608. cat >>confdefs.h <<_ACEOF
  16609. #define HAVE_FABSF 1
  16610. _ACEOF
  16611. fi
  16612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
  16613. $as_echo_n "checking for fabs... " >&6; }
  16614. if ${gcc_cv_math_func_fabs+:} false; then :
  16615. $as_echo_n "(cached) " >&6
  16616. else
  16617. if test x$gcc_no_link = xyes; then
  16618. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16619. fi
  16620. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16621. /* end confdefs.h. */
  16622. #ifdef HAVE_COMPLEX_H
  16623. #include <complex.h>
  16624. #endif
  16625. #ifdef HAVE_MATH_H
  16626. #include <math.h>
  16627. #endif
  16628. int (*ptr)() = (int (*)())fabs;
  16629. int
  16630. main ()
  16631. {
  16632. return 0;
  16633. }
  16634. _ACEOF
  16635. if ac_fn_c_try_link "$LINENO"; then :
  16636. gcc_cv_math_func_fabs=yes
  16637. else
  16638. gcc_cv_math_func_fabs=no
  16639. fi
  16640. rm -f core conftest.err conftest.$ac_objext \
  16641. conftest$ac_exeext conftest.$ac_ext
  16642. fi
  16643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
  16644. $as_echo "$gcc_cv_math_func_fabs" >&6; }
  16645. if test $gcc_cv_math_func_fabs = yes; then
  16646. cat >>confdefs.h <<_ACEOF
  16647. #define HAVE_FABS 1
  16648. _ACEOF
  16649. fi
  16650. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
  16651. $as_echo_n "checking for fabsl... " >&6; }
  16652. if ${gcc_cv_math_func_fabsl+:} false; then :
  16653. $as_echo_n "(cached) " >&6
  16654. else
  16655. if test x$gcc_no_link = xyes; then
  16656. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16657. fi
  16658. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16659. /* end confdefs.h. */
  16660. #ifdef HAVE_COMPLEX_H
  16661. #include <complex.h>
  16662. #endif
  16663. #ifdef HAVE_MATH_H
  16664. #include <math.h>
  16665. #endif
  16666. int (*ptr)() = (int (*)())fabsl;
  16667. int
  16668. main ()
  16669. {
  16670. return 0;
  16671. }
  16672. _ACEOF
  16673. if ac_fn_c_try_link "$LINENO"; then :
  16674. gcc_cv_math_func_fabsl=yes
  16675. else
  16676. gcc_cv_math_func_fabsl=no
  16677. fi
  16678. rm -f core conftest.err conftest.$ac_objext \
  16679. conftest$ac_exeext conftest.$ac_ext
  16680. fi
  16681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
  16682. $as_echo "$gcc_cv_math_func_fabsl" >&6; }
  16683. if test $gcc_cv_math_func_fabsl = yes; then
  16684. cat >>confdefs.h <<_ACEOF
  16685. #define HAVE_FABSL 1
  16686. _ACEOF
  16687. fi
  16688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
  16689. $as_echo_n "checking for cabsf... " >&6; }
  16690. if ${gcc_cv_math_func_cabsf+:} false; then :
  16691. $as_echo_n "(cached) " >&6
  16692. else
  16693. if test x$gcc_no_link = xyes; then
  16694. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16695. fi
  16696. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16697. /* end confdefs.h. */
  16698. #ifdef HAVE_COMPLEX_H
  16699. #include <complex.h>
  16700. #endif
  16701. #ifdef HAVE_MATH_H
  16702. #include <math.h>
  16703. #endif
  16704. int (*ptr)() = (int (*)())cabsf;
  16705. int
  16706. main ()
  16707. {
  16708. return 0;
  16709. }
  16710. _ACEOF
  16711. if ac_fn_c_try_link "$LINENO"; then :
  16712. gcc_cv_math_func_cabsf=yes
  16713. else
  16714. gcc_cv_math_func_cabsf=no
  16715. fi
  16716. rm -f core conftest.err conftest.$ac_objext \
  16717. conftest$ac_exeext conftest.$ac_ext
  16718. fi
  16719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
  16720. $as_echo "$gcc_cv_math_func_cabsf" >&6; }
  16721. if test $gcc_cv_math_func_cabsf = yes; then
  16722. cat >>confdefs.h <<_ACEOF
  16723. #define HAVE_CABSF 1
  16724. _ACEOF
  16725. fi
  16726. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
  16727. $as_echo_n "checking for cabs... " >&6; }
  16728. if ${gcc_cv_math_func_cabs+:} false; then :
  16729. $as_echo_n "(cached) " >&6
  16730. else
  16731. if test x$gcc_no_link = xyes; then
  16732. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16733. fi
  16734. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16735. /* end confdefs.h. */
  16736. #ifdef HAVE_COMPLEX_H
  16737. #include <complex.h>
  16738. #endif
  16739. #ifdef HAVE_MATH_H
  16740. #include <math.h>
  16741. #endif
  16742. int (*ptr)() = (int (*)())cabs;
  16743. int
  16744. main ()
  16745. {
  16746. return 0;
  16747. }
  16748. _ACEOF
  16749. if ac_fn_c_try_link "$LINENO"; then :
  16750. gcc_cv_math_func_cabs=yes
  16751. else
  16752. gcc_cv_math_func_cabs=no
  16753. fi
  16754. rm -f core conftest.err conftest.$ac_objext \
  16755. conftest$ac_exeext conftest.$ac_ext
  16756. fi
  16757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
  16758. $as_echo "$gcc_cv_math_func_cabs" >&6; }
  16759. if test $gcc_cv_math_func_cabs = yes; then
  16760. cat >>confdefs.h <<_ACEOF
  16761. #define HAVE_CABS 1
  16762. _ACEOF
  16763. fi
  16764. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
  16765. $as_echo_n "checking for cabsl... " >&6; }
  16766. if ${gcc_cv_math_func_cabsl+:} false; then :
  16767. $as_echo_n "(cached) " >&6
  16768. else
  16769. if test x$gcc_no_link = xyes; then
  16770. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16771. fi
  16772. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16773. /* end confdefs.h. */
  16774. #ifdef HAVE_COMPLEX_H
  16775. #include <complex.h>
  16776. #endif
  16777. #ifdef HAVE_MATH_H
  16778. #include <math.h>
  16779. #endif
  16780. int (*ptr)() = (int (*)())cabsl;
  16781. int
  16782. main ()
  16783. {
  16784. return 0;
  16785. }
  16786. _ACEOF
  16787. if ac_fn_c_try_link "$LINENO"; then :
  16788. gcc_cv_math_func_cabsl=yes
  16789. else
  16790. gcc_cv_math_func_cabsl=no
  16791. fi
  16792. rm -f core conftest.err conftest.$ac_objext \
  16793. conftest$ac_exeext conftest.$ac_ext
  16794. fi
  16795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
  16796. $as_echo "$gcc_cv_math_func_cabsl" >&6; }
  16797. if test $gcc_cv_math_func_cabsl = yes; then
  16798. cat >>confdefs.h <<_ACEOF
  16799. #define HAVE_CABSL 1
  16800. _ACEOF
  16801. fi
  16802. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
  16803. $as_echo_n "checking for floorf... " >&6; }
  16804. if ${gcc_cv_math_func_floorf+:} false; then :
  16805. $as_echo_n "(cached) " >&6
  16806. else
  16807. if test x$gcc_no_link = xyes; then
  16808. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16809. fi
  16810. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16811. /* end confdefs.h. */
  16812. #ifdef HAVE_COMPLEX_H
  16813. #include <complex.h>
  16814. #endif
  16815. #ifdef HAVE_MATH_H
  16816. #include <math.h>
  16817. #endif
  16818. int (*ptr)() = (int (*)())floorf;
  16819. int
  16820. main ()
  16821. {
  16822. return 0;
  16823. }
  16824. _ACEOF
  16825. if ac_fn_c_try_link "$LINENO"; then :
  16826. gcc_cv_math_func_floorf=yes
  16827. else
  16828. gcc_cv_math_func_floorf=no
  16829. fi
  16830. rm -f core conftest.err conftest.$ac_objext \
  16831. conftest$ac_exeext conftest.$ac_ext
  16832. fi
  16833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
  16834. $as_echo "$gcc_cv_math_func_floorf" >&6; }
  16835. if test $gcc_cv_math_func_floorf = yes; then
  16836. cat >>confdefs.h <<_ACEOF
  16837. #define HAVE_FLOORF 1
  16838. _ACEOF
  16839. fi
  16840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
  16841. $as_echo_n "checking for floor... " >&6; }
  16842. if ${gcc_cv_math_func_floor+:} false; then :
  16843. $as_echo_n "(cached) " >&6
  16844. else
  16845. if test x$gcc_no_link = xyes; then
  16846. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16847. fi
  16848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16849. /* end confdefs.h. */
  16850. #ifdef HAVE_COMPLEX_H
  16851. #include <complex.h>
  16852. #endif
  16853. #ifdef HAVE_MATH_H
  16854. #include <math.h>
  16855. #endif
  16856. int (*ptr)() = (int (*)())floor;
  16857. int
  16858. main ()
  16859. {
  16860. return 0;
  16861. }
  16862. _ACEOF
  16863. if ac_fn_c_try_link "$LINENO"; then :
  16864. gcc_cv_math_func_floor=yes
  16865. else
  16866. gcc_cv_math_func_floor=no
  16867. fi
  16868. rm -f core conftest.err conftest.$ac_objext \
  16869. conftest$ac_exeext conftest.$ac_ext
  16870. fi
  16871. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
  16872. $as_echo "$gcc_cv_math_func_floor" >&6; }
  16873. if test $gcc_cv_math_func_floor = yes; then
  16874. cat >>confdefs.h <<_ACEOF
  16875. #define HAVE_FLOOR 1
  16876. _ACEOF
  16877. fi
  16878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
  16879. $as_echo_n "checking for floorl... " >&6; }
  16880. if ${gcc_cv_math_func_floorl+:} false; then :
  16881. $as_echo_n "(cached) " >&6
  16882. else
  16883. if test x$gcc_no_link = xyes; then
  16884. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16885. fi
  16886. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16887. /* end confdefs.h. */
  16888. #ifdef HAVE_COMPLEX_H
  16889. #include <complex.h>
  16890. #endif
  16891. #ifdef HAVE_MATH_H
  16892. #include <math.h>
  16893. #endif
  16894. int (*ptr)() = (int (*)())floorl;
  16895. int
  16896. main ()
  16897. {
  16898. return 0;
  16899. }
  16900. _ACEOF
  16901. if ac_fn_c_try_link "$LINENO"; then :
  16902. gcc_cv_math_func_floorl=yes
  16903. else
  16904. gcc_cv_math_func_floorl=no
  16905. fi
  16906. rm -f core conftest.err conftest.$ac_objext \
  16907. conftest$ac_exeext conftest.$ac_ext
  16908. fi
  16909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
  16910. $as_echo "$gcc_cv_math_func_floorl" >&6; }
  16911. if test $gcc_cv_math_func_floorl = yes; then
  16912. cat >>confdefs.h <<_ACEOF
  16913. #define HAVE_FLOORL 1
  16914. _ACEOF
  16915. fi
  16916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
  16917. $as_echo_n "checking for fmaf... " >&6; }
  16918. if ${gcc_cv_math_func_fmaf+:} false; then :
  16919. $as_echo_n "(cached) " >&6
  16920. else
  16921. if test x$gcc_no_link = xyes; then
  16922. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16923. fi
  16924. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16925. /* end confdefs.h. */
  16926. #ifdef HAVE_COMPLEX_H
  16927. #include <complex.h>
  16928. #endif
  16929. #ifdef HAVE_MATH_H
  16930. #include <math.h>
  16931. #endif
  16932. int (*ptr)() = (int (*)())fmaf;
  16933. int
  16934. main ()
  16935. {
  16936. return 0;
  16937. }
  16938. _ACEOF
  16939. if ac_fn_c_try_link "$LINENO"; then :
  16940. gcc_cv_math_func_fmaf=yes
  16941. else
  16942. gcc_cv_math_func_fmaf=no
  16943. fi
  16944. rm -f core conftest.err conftest.$ac_objext \
  16945. conftest$ac_exeext conftest.$ac_ext
  16946. fi
  16947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
  16948. $as_echo "$gcc_cv_math_func_fmaf" >&6; }
  16949. if test $gcc_cv_math_func_fmaf = yes; then
  16950. cat >>confdefs.h <<_ACEOF
  16951. #define HAVE_FMAF 1
  16952. _ACEOF
  16953. fi
  16954. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
  16955. $as_echo_n "checking for fma... " >&6; }
  16956. if ${gcc_cv_math_func_fma+:} false; then :
  16957. $as_echo_n "(cached) " >&6
  16958. else
  16959. if test x$gcc_no_link = xyes; then
  16960. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16961. fi
  16962. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16963. /* end confdefs.h. */
  16964. #ifdef HAVE_COMPLEX_H
  16965. #include <complex.h>
  16966. #endif
  16967. #ifdef HAVE_MATH_H
  16968. #include <math.h>
  16969. #endif
  16970. int (*ptr)() = (int (*)())fma;
  16971. int
  16972. main ()
  16973. {
  16974. return 0;
  16975. }
  16976. _ACEOF
  16977. if ac_fn_c_try_link "$LINENO"; then :
  16978. gcc_cv_math_func_fma=yes
  16979. else
  16980. gcc_cv_math_func_fma=no
  16981. fi
  16982. rm -f core conftest.err conftest.$ac_objext \
  16983. conftest$ac_exeext conftest.$ac_ext
  16984. fi
  16985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
  16986. $as_echo "$gcc_cv_math_func_fma" >&6; }
  16987. if test $gcc_cv_math_func_fma = yes; then
  16988. cat >>confdefs.h <<_ACEOF
  16989. #define HAVE_FMA 1
  16990. _ACEOF
  16991. fi
  16992. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
  16993. $as_echo_n "checking for fmal... " >&6; }
  16994. if ${gcc_cv_math_func_fmal+:} false; then :
  16995. $as_echo_n "(cached) " >&6
  16996. else
  16997. if test x$gcc_no_link = xyes; then
  16998. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16999. fi
  17000. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17001. /* end confdefs.h. */
  17002. #ifdef HAVE_COMPLEX_H
  17003. #include <complex.h>
  17004. #endif
  17005. #ifdef HAVE_MATH_H
  17006. #include <math.h>
  17007. #endif
  17008. int (*ptr)() = (int (*)())fmal;
  17009. int
  17010. main ()
  17011. {
  17012. return 0;
  17013. }
  17014. _ACEOF
  17015. if ac_fn_c_try_link "$LINENO"; then :
  17016. gcc_cv_math_func_fmal=yes
  17017. else
  17018. gcc_cv_math_func_fmal=no
  17019. fi
  17020. rm -f core conftest.err conftest.$ac_objext \
  17021. conftest$ac_exeext conftest.$ac_ext
  17022. fi
  17023. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
  17024. $as_echo "$gcc_cv_math_func_fmal" >&6; }
  17025. if test $gcc_cv_math_func_fmal = yes; then
  17026. cat >>confdefs.h <<_ACEOF
  17027. #define HAVE_FMAL 1
  17028. _ACEOF
  17029. fi
  17030. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
  17031. $as_echo_n "checking for fmodf... " >&6; }
  17032. if ${gcc_cv_math_func_fmodf+:} false; then :
  17033. $as_echo_n "(cached) " >&6
  17034. else
  17035. if test x$gcc_no_link = xyes; then
  17036. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17037. fi
  17038. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17039. /* end confdefs.h. */
  17040. #ifdef HAVE_COMPLEX_H
  17041. #include <complex.h>
  17042. #endif
  17043. #ifdef HAVE_MATH_H
  17044. #include <math.h>
  17045. #endif
  17046. int (*ptr)() = (int (*)())fmodf;
  17047. int
  17048. main ()
  17049. {
  17050. return 0;
  17051. }
  17052. _ACEOF
  17053. if ac_fn_c_try_link "$LINENO"; then :
  17054. gcc_cv_math_func_fmodf=yes
  17055. else
  17056. gcc_cv_math_func_fmodf=no
  17057. fi
  17058. rm -f core conftest.err conftest.$ac_objext \
  17059. conftest$ac_exeext conftest.$ac_ext
  17060. fi
  17061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
  17062. $as_echo "$gcc_cv_math_func_fmodf" >&6; }
  17063. if test $gcc_cv_math_func_fmodf = yes; then
  17064. cat >>confdefs.h <<_ACEOF
  17065. #define HAVE_FMODF 1
  17066. _ACEOF
  17067. fi
  17068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
  17069. $as_echo_n "checking for fmod... " >&6; }
  17070. if ${gcc_cv_math_func_fmod+:} false; then :
  17071. $as_echo_n "(cached) " >&6
  17072. else
  17073. if test x$gcc_no_link = xyes; then
  17074. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17075. fi
  17076. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17077. /* end confdefs.h. */
  17078. #ifdef HAVE_COMPLEX_H
  17079. #include <complex.h>
  17080. #endif
  17081. #ifdef HAVE_MATH_H
  17082. #include <math.h>
  17083. #endif
  17084. int (*ptr)() = (int (*)())fmod;
  17085. int
  17086. main ()
  17087. {
  17088. return 0;
  17089. }
  17090. _ACEOF
  17091. if ac_fn_c_try_link "$LINENO"; then :
  17092. gcc_cv_math_func_fmod=yes
  17093. else
  17094. gcc_cv_math_func_fmod=no
  17095. fi
  17096. rm -f core conftest.err conftest.$ac_objext \
  17097. conftest$ac_exeext conftest.$ac_ext
  17098. fi
  17099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
  17100. $as_echo "$gcc_cv_math_func_fmod" >&6; }
  17101. if test $gcc_cv_math_func_fmod = yes; then
  17102. cat >>confdefs.h <<_ACEOF
  17103. #define HAVE_FMOD 1
  17104. _ACEOF
  17105. fi
  17106. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
  17107. $as_echo_n "checking for fmodl... " >&6; }
  17108. if ${gcc_cv_math_func_fmodl+:} false; then :
  17109. $as_echo_n "(cached) " >&6
  17110. else
  17111. if test x$gcc_no_link = xyes; then
  17112. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17113. fi
  17114. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17115. /* end confdefs.h. */
  17116. #ifdef HAVE_COMPLEX_H
  17117. #include <complex.h>
  17118. #endif
  17119. #ifdef HAVE_MATH_H
  17120. #include <math.h>
  17121. #endif
  17122. int (*ptr)() = (int (*)())fmodl;
  17123. int
  17124. main ()
  17125. {
  17126. return 0;
  17127. }
  17128. _ACEOF
  17129. if ac_fn_c_try_link "$LINENO"; then :
  17130. gcc_cv_math_func_fmodl=yes
  17131. else
  17132. gcc_cv_math_func_fmodl=no
  17133. fi
  17134. rm -f core conftest.err conftest.$ac_objext \
  17135. conftest$ac_exeext conftest.$ac_ext
  17136. fi
  17137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
  17138. $as_echo "$gcc_cv_math_func_fmodl" >&6; }
  17139. if test $gcc_cv_math_func_fmodl = yes; then
  17140. cat >>confdefs.h <<_ACEOF
  17141. #define HAVE_FMODL 1
  17142. _ACEOF
  17143. fi
  17144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
  17145. $as_echo_n "checking for frexpf... " >&6; }
  17146. if ${gcc_cv_math_func_frexpf+:} false; then :
  17147. $as_echo_n "(cached) " >&6
  17148. else
  17149. if test x$gcc_no_link = xyes; then
  17150. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17151. fi
  17152. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17153. /* end confdefs.h. */
  17154. #ifdef HAVE_COMPLEX_H
  17155. #include <complex.h>
  17156. #endif
  17157. #ifdef HAVE_MATH_H
  17158. #include <math.h>
  17159. #endif
  17160. int (*ptr)() = (int (*)())frexpf;
  17161. int
  17162. main ()
  17163. {
  17164. return 0;
  17165. }
  17166. _ACEOF
  17167. if ac_fn_c_try_link "$LINENO"; then :
  17168. gcc_cv_math_func_frexpf=yes
  17169. else
  17170. gcc_cv_math_func_frexpf=no
  17171. fi
  17172. rm -f core conftest.err conftest.$ac_objext \
  17173. conftest$ac_exeext conftest.$ac_ext
  17174. fi
  17175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
  17176. $as_echo "$gcc_cv_math_func_frexpf" >&6; }
  17177. if test $gcc_cv_math_func_frexpf = yes; then
  17178. cat >>confdefs.h <<_ACEOF
  17179. #define HAVE_FREXPF 1
  17180. _ACEOF
  17181. fi
  17182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
  17183. $as_echo_n "checking for frexp... " >&6; }
  17184. if ${gcc_cv_math_func_frexp+:} false; then :
  17185. $as_echo_n "(cached) " >&6
  17186. else
  17187. if test x$gcc_no_link = xyes; then
  17188. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17189. fi
  17190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17191. /* end confdefs.h. */
  17192. #ifdef HAVE_COMPLEX_H
  17193. #include <complex.h>
  17194. #endif
  17195. #ifdef HAVE_MATH_H
  17196. #include <math.h>
  17197. #endif
  17198. int (*ptr)() = (int (*)())frexp;
  17199. int
  17200. main ()
  17201. {
  17202. return 0;
  17203. }
  17204. _ACEOF
  17205. if ac_fn_c_try_link "$LINENO"; then :
  17206. gcc_cv_math_func_frexp=yes
  17207. else
  17208. gcc_cv_math_func_frexp=no
  17209. fi
  17210. rm -f core conftest.err conftest.$ac_objext \
  17211. conftest$ac_exeext conftest.$ac_ext
  17212. fi
  17213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
  17214. $as_echo "$gcc_cv_math_func_frexp" >&6; }
  17215. if test $gcc_cv_math_func_frexp = yes; then
  17216. cat >>confdefs.h <<_ACEOF
  17217. #define HAVE_FREXP 1
  17218. _ACEOF
  17219. fi
  17220. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
  17221. $as_echo_n "checking for frexpl... " >&6; }
  17222. if ${gcc_cv_math_func_frexpl+:} false; then :
  17223. $as_echo_n "(cached) " >&6
  17224. else
  17225. if test x$gcc_no_link = xyes; then
  17226. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17227. fi
  17228. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17229. /* end confdefs.h. */
  17230. #ifdef HAVE_COMPLEX_H
  17231. #include <complex.h>
  17232. #endif
  17233. #ifdef HAVE_MATH_H
  17234. #include <math.h>
  17235. #endif
  17236. int (*ptr)() = (int (*)())frexpl;
  17237. int
  17238. main ()
  17239. {
  17240. return 0;
  17241. }
  17242. _ACEOF
  17243. if ac_fn_c_try_link "$LINENO"; then :
  17244. gcc_cv_math_func_frexpl=yes
  17245. else
  17246. gcc_cv_math_func_frexpl=no
  17247. fi
  17248. rm -f core conftest.err conftest.$ac_objext \
  17249. conftest$ac_exeext conftest.$ac_ext
  17250. fi
  17251. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
  17252. $as_echo "$gcc_cv_math_func_frexpl" >&6; }
  17253. if test $gcc_cv_math_func_frexpl = yes; then
  17254. cat >>confdefs.h <<_ACEOF
  17255. #define HAVE_FREXPL 1
  17256. _ACEOF
  17257. fi
  17258. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
  17259. $as_echo_n "checking for hypotf... " >&6; }
  17260. if ${gcc_cv_math_func_hypotf+:} false; then :
  17261. $as_echo_n "(cached) " >&6
  17262. else
  17263. if test x$gcc_no_link = xyes; then
  17264. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17265. fi
  17266. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17267. /* end confdefs.h. */
  17268. #ifdef HAVE_COMPLEX_H
  17269. #include <complex.h>
  17270. #endif
  17271. #ifdef HAVE_MATH_H
  17272. #include <math.h>
  17273. #endif
  17274. int (*ptr)() = (int (*)())hypotf;
  17275. int
  17276. main ()
  17277. {
  17278. return 0;
  17279. }
  17280. _ACEOF
  17281. if ac_fn_c_try_link "$LINENO"; then :
  17282. gcc_cv_math_func_hypotf=yes
  17283. else
  17284. gcc_cv_math_func_hypotf=no
  17285. fi
  17286. rm -f core conftest.err conftest.$ac_objext \
  17287. conftest$ac_exeext conftest.$ac_ext
  17288. fi
  17289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
  17290. $as_echo "$gcc_cv_math_func_hypotf" >&6; }
  17291. if test $gcc_cv_math_func_hypotf = yes; then
  17292. cat >>confdefs.h <<_ACEOF
  17293. #define HAVE_HYPOTF 1
  17294. _ACEOF
  17295. fi
  17296. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
  17297. $as_echo_n "checking for hypot... " >&6; }
  17298. if ${gcc_cv_math_func_hypot+:} false; then :
  17299. $as_echo_n "(cached) " >&6
  17300. else
  17301. if test x$gcc_no_link = xyes; then
  17302. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17303. fi
  17304. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17305. /* end confdefs.h. */
  17306. #ifdef HAVE_COMPLEX_H
  17307. #include <complex.h>
  17308. #endif
  17309. #ifdef HAVE_MATH_H
  17310. #include <math.h>
  17311. #endif
  17312. int (*ptr)() = (int (*)())hypot;
  17313. int
  17314. main ()
  17315. {
  17316. return 0;
  17317. }
  17318. _ACEOF
  17319. if ac_fn_c_try_link "$LINENO"; then :
  17320. gcc_cv_math_func_hypot=yes
  17321. else
  17322. gcc_cv_math_func_hypot=no
  17323. fi
  17324. rm -f core conftest.err conftest.$ac_objext \
  17325. conftest$ac_exeext conftest.$ac_ext
  17326. fi
  17327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
  17328. $as_echo "$gcc_cv_math_func_hypot" >&6; }
  17329. if test $gcc_cv_math_func_hypot = yes; then
  17330. cat >>confdefs.h <<_ACEOF
  17331. #define HAVE_HYPOT 1
  17332. _ACEOF
  17333. fi
  17334. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
  17335. $as_echo_n "checking for hypotl... " >&6; }
  17336. if ${gcc_cv_math_func_hypotl+:} false; then :
  17337. $as_echo_n "(cached) " >&6
  17338. else
  17339. if test x$gcc_no_link = xyes; then
  17340. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17341. fi
  17342. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17343. /* end confdefs.h. */
  17344. #ifdef HAVE_COMPLEX_H
  17345. #include <complex.h>
  17346. #endif
  17347. #ifdef HAVE_MATH_H
  17348. #include <math.h>
  17349. #endif
  17350. int (*ptr)() = (int (*)())hypotl;
  17351. int
  17352. main ()
  17353. {
  17354. return 0;
  17355. }
  17356. _ACEOF
  17357. if ac_fn_c_try_link "$LINENO"; then :
  17358. gcc_cv_math_func_hypotl=yes
  17359. else
  17360. gcc_cv_math_func_hypotl=no
  17361. fi
  17362. rm -f core conftest.err conftest.$ac_objext \
  17363. conftest$ac_exeext conftest.$ac_ext
  17364. fi
  17365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
  17366. $as_echo "$gcc_cv_math_func_hypotl" >&6; }
  17367. if test $gcc_cv_math_func_hypotl = yes; then
  17368. cat >>confdefs.h <<_ACEOF
  17369. #define HAVE_HYPOTL 1
  17370. _ACEOF
  17371. fi
  17372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
  17373. $as_echo_n "checking for ldexpf... " >&6; }
  17374. if ${gcc_cv_math_func_ldexpf+:} false; then :
  17375. $as_echo_n "(cached) " >&6
  17376. else
  17377. if test x$gcc_no_link = xyes; then
  17378. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17379. fi
  17380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17381. /* end confdefs.h. */
  17382. #ifdef HAVE_COMPLEX_H
  17383. #include <complex.h>
  17384. #endif
  17385. #ifdef HAVE_MATH_H
  17386. #include <math.h>
  17387. #endif
  17388. int (*ptr)() = (int (*)())ldexpf;
  17389. int
  17390. main ()
  17391. {
  17392. return 0;
  17393. }
  17394. _ACEOF
  17395. if ac_fn_c_try_link "$LINENO"; then :
  17396. gcc_cv_math_func_ldexpf=yes
  17397. else
  17398. gcc_cv_math_func_ldexpf=no
  17399. fi
  17400. rm -f core conftest.err conftest.$ac_objext \
  17401. conftest$ac_exeext conftest.$ac_ext
  17402. fi
  17403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
  17404. $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
  17405. if test $gcc_cv_math_func_ldexpf = yes; then
  17406. cat >>confdefs.h <<_ACEOF
  17407. #define HAVE_LDEXPF 1
  17408. _ACEOF
  17409. fi
  17410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
  17411. $as_echo_n "checking for ldexp... " >&6; }
  17412. if ${gcc_cv_math_func_ldexp+:} false; then :
  17413. $as_echo_n "(cached) " >&6
  17414. else
  17415. if test x$gcc_no_link = xyes; then
  17416. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17417. fi
  17418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17419. /* end confdefs.h. */
  17420. #ifdef HAVE_COMPLEX_H
  17421. #include <complex.h>
  17422. #endif
  17423. #ifdef HAVE_MATH_H
  17424. #include <math.h>
  17425. #endif
  17426. int (*ptr)() = (int (*)())ldexp;
  17427. int
  17428. main ()
  17429. {
  17430. return 0;
  17431. }
  17432. _ACEOF
  17433. if ac_fn_c_try_link "$LINENO"; then :
  17434. gcc_cv_math_func_ldexp=yes
  17435. else
  17436. gcc_cv_math_func_ldexp=no
  17437. fi
  17438. rm -f core conftest.err conftest.$ac_objext \
  17439. conftest$ac_exeext conftest.$ac_ext
  17440. fi
  17441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
  17442. $as_echo "$gcc_cv_math_func_ldexp" >&6; }
  17443. if test $gcc_cv_math_func_ldexp = yes; then
  17444. cat >>confdefs.h <<_ACEOF
  17445. #define HAVE_LDEXP 1
  17446. _ACEOF
  17447. fi
  17448. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
  17449. $as_echo_n "checking for ldexpl... " >&6; }
  17450. if ${gcc_cv_math_func_ldexpl+:} false; then :
  17451. $as_echo_n "(cached) " >&6
  17452. else
  17453. if test x$gcc_no_link = xyes; then
  17454. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17455. fi
  17456. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17457. /* end confdefs.h. */
  17458. #ifdef HAVE_COMPLEX_H
  17459. #include <complex.h>
  17460. #endif
  17461. #ifdef HAVE_MATH_H
  17462. #include <math.h>
  17463. #endif
  17464. int (*ptr)() = (int (*)())ldexpl;
  17465. int
  17466. main ()
  17467. {
  17468. return 0;
  17469. }
  17470. _ACEOF
  17471. if ac_fn_c_try_link "$LINENO"; then :
  17472. gcc_cv_math_func_ldexpl=yes
  17473. else
  17474. gcc_cv_math_func_ldexpl=no
  17475. fi
  17476. rm -f core conftest.err conftest.$ac_objext \
  17477. conftest$ac_exeext conftest.$ac_ext
  17478. fi
  17479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
  17480. $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
  17481. if test $gcc_cv_math_func_ldexpl = yes; then
  17482. cat >>confdefs.h <<_ACEOF
  17483. #define HAVE_LDEXPL 1
  17484. _ACEOF
  17485. fi
  17486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
  17487. $as_echo_n "checking for logf... " >&6; }
  17488. if ${gcc_cv_math_func_logf+:} false; then :
  17489. $as_echo_n "(cached) " >&6
  17490. else
  17491. if test x$gcc_no_link = xyes; then
  17492. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17493. fi
  17494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17495. /* end confdefs.h. */
  17496. #ifdef HAVE_COMPLEX_H
  17497. #include <complex.h>
  17498. #endif
  17499. #ifdef HAVE_MATH_H
  17500. #include <math.h>
  17501. #endif
  17502. int (*ptr)() = (int (*)())logf;
  17503. int
  17504. main ()
  17505. {
  17506. return 0;
  17507. }
  17508. _ACEOF
  17509. if ac_fn_c_try_link "$LINENO"; then :
  17510. gcc_cv_math_func_logf=yes
  17511. else
  17512. gcc_cv_math_func_logf=no
  17513. fi
  17514. rm -f core conftest.err conftest.$ac_objext \
  17515. conftest$ac_exeext conftest.$ac_ext
  17516. fi
  17517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
  17518. $as_echo "$gcc_cv_math_func_logf" >&6; }
  17519. if test $gcc_cv_math_func_logf = yes; then
  17520. cat >>confdefs.h <<_ACEOF
  17521. #define HAVE_LOGF 1
  17522. _ACEOF
  17523. fi
  17524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
  17525. $as_echo_n "checking for log... " >&6; }
  17526. if ${gcc_cv_math_func_log+:} false; then :
  17527. $as_echo_n "(cached) " >&6
  17528. else
  17529. if test x$gcc_no_link = xyes; then
  17530. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17531. fi
  17532. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17533. /* end confdefs.h. */
  17534. #ifdef HAVE_COMPLEX_H
  17535. #include <complex.h>
  17536. #endif
  17537. #ifdef HAVE_MATH_H
  17538. #include <math.h>
  17539. #endif
  17540. int (*ptr)() = (int (*)())log;
  17541. int
  17542. main ()
  17543. {
  17544. return 0;
  17545. }
  17546. _ACEOF
  17547. if ac_fn_c_try_link "$LINENO"; then :
  17548. gcc_cv_math_func_log=yes
  17549. else
  17550. gcc_cv_math_func_log=no
  17551. fi
  17552. rm -f core conftest.err conftest.$ac_objext \
  17553. conftest$ac_exeext conftest.$ac_ext
  17554. fi
  17555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
  17556. $as_echo "$gcc_cv_math_func_log" >&6; }
  17557. if test $gcc_cv_math_func_log = yes; then
  17558. cat >>confdefs.h <<_ACEOF
  17559. #define HAVE_LOG 1
  17560. _ACEOF
  17561. fi
  17562. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
  17563. $as_echo_n "checking for logl... " >&6; }
  17564. if ${gcc_cv_math_func_logl+:} false; then :
  17565. $as_echo_n "(cached) " >&6
  17566. else
  17567. if test x$gcc_no_link = xyes; then
  17568. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17569. fi
  17570. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17571. /* end confdefs.h. */
  17572. #ifdef HAVE_COMPLEX_H
  17573. #include <complex.h>
  17574. #endif
  17575. #ifdef HAVE_MATH_H
  17576. #include <math.h>
  17577. #endif
  17578. int (*ptr)() = (int (*)())logl;
  17579. int
  17580. main ()
  17581. {
  17582. return 0;
  17583. }
  17584. _ACEOF
  17585. if ac_fn_c_try_link "$LINENO"; then :
  17586. gcc_cv_math_func_logl=yes
  17587. else
  17588. gcc_cv_math_func_logl=no
  17589. fi
  17590. rm -f core conftest.err conftest.$ac_objext \
  17591. conftest$ac_exeext conftest.$ac_ext
  17592. fi
  17593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
  17594. $as_echo "$gcc_cv_math_func_logl" >&6; }
  17595. if test $gcc_cv_math_func_logl = yes; then
  17596. cat >>confdefs.h <<_ACEOF
  17597. #define HAVE_LOGL 1
  17598. _ACEOF
  17599. fi
  17600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
  17601. $as_echo_n "checking for clogf... " >&6; }
  17602. if ${gcc_cv_math_func_clogf+:} false; then :
  17603. $as_echo_n "(cached) " >&6
  17604. else
  17605. if test x$gcc_no_link = xyes; then
  17606. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17607. fi
  17608. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17609. /* end confdefs.h. */
  17610. #ifdef HAVE_COMPLEX_H
  17611. #include <complex.h>
  17612. #endif
  17613. #ifdef HAVE_MATH_H
  17614. #include <math.h>
  17615. #endif
  17616. int (*ptr)() = (int (*)())clogf;
  17617. int
  17618. main ()
  17619. {
  17620. return 0;
  17621. }
  17622. _ACEOF
  17623. if ac_fn_c_try_link "$LINENO"; then :
  17624. gcc_cv_math_func_clogf=yes
  17625. else
  17626. gcc_cv_math_func_clogf=no
  17627. fi
  17628. rm -f core conftest.err conftest.$ac_objext \
  17629. conftest$ac_exeext conftest.$ac_ext
  17630. fi
  17631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
  17632. $as_echo "$gcc_cv_math_func_clogf" >&6; }
  17633. if test $gcc_cv_math_func_clogf = yes; then
  17634. cat >>confdefs.h <<_ACEOF
  17635. #define HAVE_CLOGF 1
  17636. _ACEOF
  17637. fi
  17638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
  17639. $as_echo_n "checking for clog... " >&6; }
  17640. if ${gcc_cv_math_func_clog+:} false; then :
  17641. $as_echo_n "(cached) " >&6
  17642. else
  17643. if test x$gcc_no_link = xyes; then
  17644. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17645. fi
  17646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17647. /* end confdefs.h. */
  17648. #ifdef HAVE_COMPLEX_H
  17649. #include <complex.h>
  17650. #endif
  17651. #ifdef HAVE_MATH_H
  17652. #include <math.h>
  17653. #endif
  17654. int (*ptr)() = (int (*)())clog;
  17655. int
  17656. main ()
  17657. {
  17658. return 0;
  17659. }
  17660. _ACEOF
  17661. if ac_fn_c_try_link "$LINENO"; then :
  17662. gcc_cv_math_func_clog=yes
  17663. else
  17664. gcc_cv_math_func_clog=no
  17665. fi
  17666. rm -f core conftest.err conftest.$ac_objext \
  17667. conftest$ac_exeext conftest.$ac_ext
  17668. fi
  17669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
  17670. $as_echo "$gcc_cv_math_func_clog" >&6; }
  17671. if test $gcc_cv_math_func_clog = yes; then
  17672. cat >>confdefs.h <<_ACEOF
  17673. #define HAVE_CLOG 1
  17674. _ACEOF
  17675. fi
  17676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
  17677. $as_echo_n "checking for clogl... " >&6; }
  17678. if ${gcc_cv_math_func_clogl+:} false; then :
  17679. $as_echo_n "(cached) " >&6
  17680. else
  17681. if test x$gcc_no_link = xyes; then
  17682. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17683. fi
  17684. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17685. /* end confdefs.h. */
  17686. #ifdef HAVE_COMPLEX_H
  17687. #include <complex.h>
  17688. #endif
  17689. #ifdef HAVE_MATH_H
  17690. #include <math.h>
  17691. #endif
  17692. int (*ptr)() = (int (*)())clogl;
  17693. int
  17694. main ()
  17695. {
  17696. return 0;
  17697. }
  17698. _ACEOF
  17699. if ac_fn_c_try_link "$LINENO"; then :
  17700. gcc_cv_math_func_clogl=yes
  17701. else
  17702. gcc_cv_math_func_clogl=no
  17703. fi
  17704. rm -f core conftest.err conftest.$ac_objext \
  17705. conftest$ac_exeext conftest.$ac_ext
  17706. fi
  17707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
  17708. $as_echo "$gcc_cv_math_func_clogl" >&6; }
  17709. if test $gcc_cv_math_func_clogl = yes; then
  17710. cat >>confdefs.h <<_ACEOF
  17711. #define HAVE_CLOGL 1
  17712. _ACEOF
  17713. fi
  17714. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
  17715. $as_echo_n "checking for log10f... " >&6; }
  17716. if ${gcc_cv_math_func_log10f+:} false; then :
  17717. $as_echo_n "(cached) " >&6
  17718. else
  17719. if test x$gcc_no_link = xyes; then
  17720. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17721. fi
  17722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17723. /* end confdefs.h. */
  17724. #ifdef HAVE_COMPLEX_H
  17725. #include <complex.h>
  17726. #endif
  17727. #ifdef HAVE_MATH_H
  17728. #include <math.h>
  17729. #endif
  17730. int (*ptr)() = (int (*)())log10f;
  17731. int
  17732. main ()
  17733. {
  17734. return 0;
  17735. }
  17736. _ACEOF
  17737. if ac_fn_c_try_link "$LINENO"; then :
  17738. gcc_cv_math_func_log10f=yes
  17739. else
  17740. gcc_cv_math_func_log10f=no
  17741. fi
  17742. rm -f core conftest.err conftest.$ac_objext \
  17743. conftest$ac_exeext conftest.$ac_ext
  17744. fi
  17745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
  17746. $as_echo "$gcc_cv_math_func_log10f" >&6; }
  17747. if test $gcc_cv_math_func_log10f = yes; then
  17748. cat >>confdefs.h <<_ACEOF
  17749. #define HAVE_LOG10F 1
  17750. _ACEOF
  17751. fi
  17752. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
  17753. $as_echo_n "checking for log10... " >&6; }
  17754. if ${gcc_cv_math_func_log10+:} false; then :
  17755. $as_echo_n "(cached) " >&6
  17756. else
  17757. if test x$gcc_no_link = xyes; then
  17758. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17759. fi
  17760. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17761. /* end confdefs.h. */
  17762. #ifdef HAVE_COMPLEX_H
  17763. #include <complex.h>
  17764. #endif
  17765. #ifdef HAVE_MATH_H
  17766. #include <math.h>
  17767. #endif
  17768. int (*ptr)() = (int (*)())log10;
  17769. int
  17770. main ()
  17771. {
  17772. return 0;
  17773. }
  17774. _ACEOF
  17775. if ac_fn_c_try_link "$LINENO"; then :
  17776. gcc_cv_math_func_log10=yes
  17777. else
  17778. gcc_cv_math_func_log10=no
  17779. fi
  17780. rm -f core conftest.err conftest.$ac_objext \
  17781. conftest$ac_exeext conftest.$ac_ext
  17782. fi
  17783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
  17784. $as_echo "$gcc_cv_math_func_log10" >&6; }
  17785. if test $gcc_cv_math_func_log10 = yes; then
  17786. cat >>confdefs.h <<_ACEOF
  17787. #define HAVE_LOG10 1
  17788. _ACEOF
  17789. fi
  17790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
  17791. $as_echo_n "checking for log10l... " >&6; }
  17792. if ${gcc_cv_math_func_log10l+:} false; then :
  17793. $as_echo_n "(cached) " >&6
  17794. else
  17795. if test x$gcc_no_link = xyes; then
  17796. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17797. fi
  17798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17799. /* end confdefs.h. */
  17800. #ifdef HAVE_COMPLEX_H
  17801. #include <complex.h>
  17802. #endif
  17803. #ifdef HAVE_MATH_H
  17804. #include <math.h>
  17805. #endif
  17806. int (*ptr)() = (int (*)())log10l;
  17807. int
  17808. main ()
  17809. {
  17810. return 0;
  17811. }
  17812. _ACEOF
  17813. if ac_fn_c_try_link "$LINENO"; then :
  17814. gcc_cv_math_func_log10l=yes
  17815. else
  17816. gcc_cv_math_func_log10l=no
  17817. fi
  17818. rm -f core conftest.err conftest.$ac_objext \
  17819. conftest$ac_exeext conftest.$ac_ext
  17820. fi
  17821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
  17822. $as_echo "$gcc_cv_math_func_log10l" >&6; }
  17823. if test $gcc_cv_math_func_log10l = yes; then
  17824. cat >>confdefs.h <<_ACEOF
  17825. #define HAVE_LOG10L 1
  17826. _ACEOF
  17827. fi
  17828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
  17829. $as_echo_n "checking for clog10f... " >&6; }
  17830. if ${gcc_cv_math_func_clog10f+:} false; then :
  17831. $as_echo_n "(cached) " >&6
  17832. else
  17833. if test x$gcc_no_link = xyes; then
  17834. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17835. fi
  17836. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17837. /* end confdefs.h. */
  17838. #ifdef HAVE_COMPLEX_H
  17839. #include <complex.h>
  17840. #endif
  17841. #ifdef HAVE_MATH_H
  17842. #include <math.h>
  17843. #endif
  17844. int (*ptr)() = (int (*)())clog10f;
  17845. int
  17846. main ()
  17847. {
  17848. return 0;
  17849. }
  17850. _ACEOF
  17851. if ac_fn_c_try_link "$LINENO"; then :
  17852. gcc_cv_math_func_clog10f=yes
  17853. else
  17854. gcc_cv_math_func_clog10f=no
  17855. fi
  17856. rm -f core conftest.err conftest.$ac_objext \
  17857. conftest$ac_exeext conftest.$ac_ext
  17858. fi
  17859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
  17860. $as_echo "$gcc_cv_math_func_clog10f" >&6; }
  17861. if test $gcc_cv_math_func_clog10f = yes; then
  17862. cat >>confdefs.h <<_ACEOF
  17863. #define HAVE_CLOG10F 1
  17864. _ACEOF
  17865. fi
  17866. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
  17867. $as_echo_n "checking for clog10... " >&6; }
  17868. if ${gcc_cv_math_func_clog10+:} false; then :
  17869. $as_echo_n "(cached) " >&6
  17870. else
  17871. if test x$gcc_no_link = xyes; then
  17872. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17873. fi
  17874. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17875. /* end confdefs.h. */
  17876. #ifdef HAVE_COMPLEX_H
  17877. #include <complex.h>
  17878. #endif
  17879. #ifdef HAVE_MATH_H
  17880. #include <math.h>
  17881. #endif
  17882. int (*ptr)() = (int (*)())clog10;
  17883. int
  17884. main ()
  17885. {
  17886. return 0;
  17887. }
  17888. _ACEOF
  17889. if ac_fn_c_try_link "$LINENO"; then :
  17890. gcc_cv_math_func_clog10=yes
  17891. else
  17892. gcc_cv_math_func_clog10=no
  17893. fi
  17894. rm -f core conftest.err conftest.$ac_objext \
  17895. conftest$ac_exeext conftest.$ac_ext
  17896. fi
  17897. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
  17898. $as_echo "$gcc_cv_math_func_clog10" >&6; }
  17899. if test $gcc_cv_math_func_clog10 = yes; then
  17900. cat >>confdefs.h <<_ACEOF
  17901. #define HAVE_CLOG10 1
  17902. _ACEOF
  17903. fi
  17904. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
  17905. $as_echo_n "checking for clog10l... " >&6; }
  17906. if ${gcc_cv_math_func_clog10l+:} false; then :
  17907. $as_echo_n "(cached) " >&6
  17908. else
  17909. if test x$gcc_no_link = xyes; then
  17910. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17911. fi
  17912. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17913. /* end confdefs.h. */
  17914. #ifdef HAVE_COMPLEX_H
  17915. #include <complex.h>
  17916. #endif
  17917. #ifdef HAVE_MATH_H
  17918. #include <math.h>
  17919. #endif
  17920. int (*ptr)() = (int (*)())clog10l;
  17921. int
  17922. main ()
  17923. {
  17924. return 0;
  17925. }
  17926. _ACEOF
  17927. if ac_fn_c_try_link "$LINENO"; then :
  17928. gcc_cv_math_func_clog10l=yes
  17929. else
  17930. gcc_cv_math_func_clog10l=no
  17931. fi
  17932. rm -f core conftest.err conftest.$ac_objext \
  17933. conftest$ac_exeext conftest.$ac_ext
  17934. fi
  17935. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
  17936. $as_echo "$gcc_cv_math_func_clog10l" >&6; }
  17937. if test $gcc_cv_math_func_clog10l = yes; then
  17938. cat >>confdefs.h <<_ACEOF
  17939. #define HAVE_CLOG10L 1
  17940. _ACEOF
  17941. fi
  17942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
  17943. $as_echo_n "checking for nextafterf... " >&6; }
  17944. if ${gcc_cv_math_func_nextafterf+:} false; then :
  17945. $as_echo_n "(cached) " >&6
  17946. else
  17947. if test x$gcc_no_link = xyes; then
  17948. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17949. fi
  17950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17951. /* end confdefs.h. */
  17952. #ifdef HAVE_COMPLEX_H
  17953. #include <complex.h>
  17954. #endif
  17955. #ifdef HAVE_MATH_H
  17956. #include <math.h>
  17957. #endif
  17958. int (*ptr)() = (int (*)())nextafterf;
  17959. int
  17960. main ()
  17961. {
  17962. return 0;
  17963. }
  17964. _ACEOF
  17965. if ac_fn_c_try_link "$LINENO"; then :
  17966. gcc_cv_math_func_nextafterf=yes
  17967. else
  17968. gcc_cv_math_func_nextafterf=no
  17969. fi
  17970. rm -f core conftest.err conftest.$ac_objext \
  17971. conftest$ac_exeext conftest.$ac_ext
  17972. fi
  17973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
  17974. $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
  17975. if test $gcc_cv_math_func_nextafterf = yes; then
  17976. cat >>confdefs.h <<_ACEOF
  17977. #define HAVE_NEXTAFTERF 1
  17978. _ACEOF
  17979. fi
  17980. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
  17981. $as_echo_n "checking for nextafter... " >&6; }
  17982. if ${gcc_cv_math_func_nextafter+:} false; then :
  17983. $as_echo_n "(cached) " >&6
  17984. else
  17985. if test x$gcc_no_link = xyes; then
  17986. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17987. fi
  17988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17989. /* end confdefs.h. */
  17990. #ifdef HAVE_COMPLEX_H
  17991. #include <complex.h>
  17992. #endif
  17993. #ifdef HAVE_MATH_H
  17994. #include <math.h>
  17995. #endif
  17996. int (*ptr)() = (int (*)())nextafter;
  17997. int
  17998. main ()
  17999. {
  18000. return 0;
  18001. }
  18002. _ACEOF
  18003. if ac_fn_c_try_link "$LINENO"; then :
  18004. gcc_cv_math_func_nextafter=yes
  18005. else
  18006. gcc_cv_math_func_nextafter=no
  18007. fi
  18008. rm -f core conftest.err conftest.$ac_objext \
  18009. conftest$ac_exeext conftest.$ac_ext
  18010. fi
  18011. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
  18012. $as_echo "$gcc_cv_math_func_nextafter" >&6; }
  18013. if test $gcc_cv_math_func_nextafter = yes; then
  18014. cat >>confdefs.h <<_ACEOF
  18015. #define HAVE_NEXTAFTER 1
  18016. _ACEOF
  18017. fi
  18018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
  18019. $as_echo_n "checking for nextafterl... " >&6; }
  18020. if ${gcc_cv_math_func_nextafterl+:} false; then :
  18021. $as_echo_n "(cached) " >&6
  18022. else
  18023. if test x$gcc_no_link = xyes; then
  18024. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18025. fi
  18026. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18027. /* end confdefs.h. */
  18028. #ifdef HAVE_COMPLEX_H
  18029. #include <complex.h>
  18030. #endif
  18031. #ifdef HAVE_MATH_H
  18032. #include <math.h>
  18033. #endif
  18034. int (*ptr)() = (int (*)())nextafterl;
  18035. int
  18036. main ()
  18037. {
  18038. return 0;
  18039. }
  18040. _ACEOF
  18041. if ac_fn_c_try_link "$LINENO"; then :
  18042. gcc_cv_math_func_nextafterl=yes
  18043. else
  18044. gcc_cv_math_func_nextafterl=no
  18045. fi
  18046. rm -f core conftest.err conftest.$ac_objext \
  18047. conftest$ac_exeext conftest.$ac_ext
  18048. fi
  18049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
  18050. $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
  18051. if test $gcc_cv_math_func_nextafterl = yes; then
  18052. cat >>confdefs.h <<_ACEOF
  18053. #define HAVE_NEXTAFTERL 1
  18054. _ACEOF
  18055. fi
  18056. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
  18057. $as_echo_n "checking for powf... " >&6; }
  18058. if ${gcc_cv_math_func_powf+:} false; then :
  18059. $as_echo_n "(cached) " >&6
  18060. else
  18061. if test x$gcc_no_link = xyes; then
  18062. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18063. fi
  18064. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18065. /* end confdefs.h. */
  18066. #ifdef HAVE_COMPLEX_H
  18067. #include <complex.h>
  18068. #endif
  18069. #ifdef HAVE_MATH_H
  18070. #include <math.h>
  18071. #endif
  18072. int (*ptr)() = (int (*)())powf;
  18073. int
  18074. main ()
  18075. {
  18076. return 0;
  18077. }
  18078. _ACEOF
  18079. if ac_fn_c_try_link "$LINENO"; then :
  18080. gcc_cv_math_func_powf=yes
  18081. else
  18082. gcc_cv_math_func_powf=no
  18083. fi
  18084. rm -f core conftest.err conftest.$ac_objext \
  18085. conftest$ac_exeext conftest.$ac_ext
  18086. fi
  18087. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
  18088. $as_echo "$gcc_cv_math_func_powf" >&6; }
  18089. if test $gcc_cv_math_func_powf = yes; then
  18090. cat >>confdefs.h <<_ACEOF
  18091. #define HAVE_POWF 1
  18092. _ACEOF
  18093. fi
  18094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
  18095. $as_echo_n "checking for pow... " >&6; }
  18096. if ${gcc_cv_math_func_pow+:} false; then :
  18097. $as_echo_n "(cached) " >&6
  18098. else
  18099. if test x$gcc_no_link = xyes; then
  18100. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18101. fi
  18102. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18103. /* end confdefs.h. */
  18104. #ifdef HAVE_COMPLEX_H
  18105. #include <complex.h>
  18106. #endif
  18107. #ifdef HAVE_MATH_H
  18108. #include <math.h>
  18109. #endif
  18110. int (*ptr)() = (int (*)())pow;
  18111. int
  18112. main ()
  18113. {
  18114. return 0;
  18115. }
  18116. _ACEOF
  18117. if ac_fn_c_try_link "$LINENO"; then :
  18118. gcc_cv_math_func_pow=yes
  18119. else
  18120. gcc_cv_math_func_pow=no
  18121. fi
  18122. rm -f core conftest.err conftest.$ac_objext \
  18123. conftest$ac_exeext conftest.$ac_ext
  18124. fi
  18125. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
  18126. $as_echo "$gcc_cv_math_func_pow" >&6; }
  18127. if test $gcc_cv_math_func_pow = yes; then
  18128. cat >>confdefs.h <<_ACEOF
  18129. #define HAVE_POW 1
  18130. _ACEOF
  18131. fi
  18132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
  18133. $as_echo_n "checking for cpowf... " >&6; }
  18134. if ${gcc_cv_math_func_cpowf+:} false; then :
  18135. $as_echo_n "(cached) " >&6
  18136. else
  18137. if test x$gcc_no_link = xyes; then
  18138. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18139. fi
  18140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18141. /* end confdefs.h. */
  18142. #ifdef HAVE_COMPLEX_H
  18143. #include <complex.h>
  18144. #endif
  18145. #ifdef HAVE_MATH_H
  18146. #include <math.h>
  18147. #endif
  18148. int (*ptr)() = (int (*)())cpowf;
  18149. int
  18150. main ()
  18151. {
  18152. return 0;
  18153. }
  18154. _ACEOF
  18155. if ac_fn_c_try_link "$LINENO"; then :
  18156. gcc_cv_math_func_cpowf=yes
  18157. else
  18158. gcc_cv_math_func_cpowf=no
  18159. fi
  18160. rm -f core conftest.err conftest.$ac_objext \
  18161. conftest$ac_exeext conftest.$ac_ext
  18162. fi
  18163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
  18164. $as_echo "$gcc_cv_math_func_cpowf" >&6; }
  18165. if test $gcc_cv_math_func_cpowf = yes; then
  18166. cat >>confdefs.h <<_ACEOF
  18167. #define HAVE_CPOWF 1
  18168. _ACEOF
  18169. fi
  18170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
  18171. $as_echo_n "checking for cpow... " >&6; }
  18172. if ${gcc_cv_math_func_cpow+:} false; then :
  18173. $as_echo_n "(cached) " >&6
  18174. else
  18175. if test x$gcc_no_link = xyes; then
  18176. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18177. fi
  18178. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18179. /* end confdefs.h. */
  18180. #ifdef HAVE_COMPLEX_H
  18181. #include <complex.h>
  18182. #endif
  18183. #ifdef HAVE_MATH_H
  18184. #include <math.h>
  18185. #endif
  18186. int (*ptr)() = (int (*)())cpow;
  18187. int
  18188. main ()
  18189. {
  18190. return 0;
  18191. }
  18192. _ACEOF
  18193. if ac_fn_c_try_link "$LINENO"; then :
  18194. gcc_cv_math_func_cpow=yes
  18195. else
  18196. gcc_cv_math_func_cpow=no
  18197. fi
  18198. rm -f core conftest.err conftest.$ac_objext \
  18199. conftest$ac_exeext conftest.$ac_ext
  18200. fi
  18201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
  18202. $as_echo "$gcc_cv_math_func_cpow" >&6; }
  18203. if test $gcc_cv_math_func_cpow = yes; then
  18204. cat >>confdefs.h <<_ACEOF
  18205. #define HAVE_CPOW 1
  18206. _ACEOF
  18207. fi
  18208. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
  18209. $as_echo_n "checking for cpowl... " >&6; }
  18210. if ${gcc_cv_math_func_cpowl+:} false; then :
  18211. $as_echo_n "(cached) " >&6
  18212. else
  18213. if test x$gcc_no_link = xyes; then
  18214. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18215. fi
  18216. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18217. /* end confdefs.h. */
  18218. #ifdef HAVE_COMPLEX_H
  18219. #include <complex.h>
  18220. #endif
  18221. #ifdef HAVE_MATH_H
  18222. #include <math.h>
  18223. #endif
  18224. int (*ptr)() = (int (*)())cpowl;
  18225. int
  18226. main ()
  18227. {
  18228. return 0;
  18229. }
  18230. _ACEOF
  18231. if ac_fn_c_try_link "$LINENO"; then :
  18232. gcc_cv_math_func_cpowl=yes
  18233. else
  18234. gcc_cv_math_func_cpowl=no
  18235. fi
  18236. rm -f core conftest.err conftest.$ac_objext \
  18237. conftest$ac_exeext conftest.$ac_ext
  18238. fi
  18239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
  18240. $as_echo "$gcc_cv_math_func_cpowl" >&6; }
  18241. if test $gcc_cv_math_func_cpowl = yes; then
  18242. cat >>confdefs.h <<_ACEOF
  18243. #define HAVE_CPOWL 1
  18244. _ACEOF
  18245. fi
  18246. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
  18247. $as_echo_n "checking for roundf... " >&6; }
  18248. if ${gcc_cv_math_func_roundf+:} false; then :
  18249. $as_echo_n "(cached) " >&6
  18250. else
  18251. if test x$gcc_no_link = xyes; then
  18252. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18253. fi
  18254. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18255. /* end confdefs.h. */
  18256. #ifdef HAVE_COMPLEX_H
  18257. #include <complex.h>
  18258. #endif
  18259. #ifdef HAVE_MATH_H
  18260. #include <math.h>
  18261. #endif
  18262. int (*ptr)() = (int (*)())roundf;
  18263. int
  18264. main ()
  18265. {
  18266. return 0;
  18267. }
  18268. _ACEOF
  18269. if ac_fn_c_try_link "$LINENO"; then :
  18270. gcc_cv_math_func_roundf=yes
  18271. else
  18272. gcc_cv_math_func_roundf=no
  18273. fi
  18274. rm -f core conftest.err conftest.$ac_objext \
  18275. conftest$ac_exeext conftest.$ac_ext
  18276. fi
  18277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
  18278. $as_echo "$gcc_cv_math_func_roundf" >&6; }
  18279. if test $gcc_cv_math_func_roundf = yes; then
  18280. cat >>confdefs.h <<_ACEOF
  18281. #define HAVE_ROUNDF 1
  18282. _ACEOF
  18283. fi
  18284. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
  18285. $as_echo_n "checking for round... " >&6; }
  18286. if ${gcc_cv_math_func_round+:} false; then :
  18287. $as_echo_n "(cached) " >&6
  18288. else
  18289. if test x$gcc_no_link = xyes; then
  18290. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18291. fi
  18292. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18293. /* end confdefs.h. */
  18294. #ifdef HAVE_COMPLEX_H
  18295. #include <complex.h>
  18296. #endif
  18297. #ifdef HAVE_MATH_H
  18298. #include <math.h>
  18299. #endif
  18300. int (*ptr)() = (int (*)())round;
  18301. int
  18302. main ()
  18303. {
  18304. return 0;
  18305. }
  18306. _ACEOF
  18307. if ac_fn_c_try_link "$LINENO"; then :
  18308. gcc_cv_math_func_round=yes
  18309. else
  18310. gcc_cv_math_func_round=no
  18311. fi
  18312. rm -f core conftest.err conftest.$ac_objext \
  18313. conftest$ac_exeext conftest.$ac_ext
  18314. fi
  18315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
  18316. $as_echo "$gcc_cv_math_func_round" >&6; }
  18317. if test $gcc_cv_math_func_round = yes; then
  18318. cat >>confdefs.h <<_ACEOF
  18319. #define HAVE_ROUND 1
  18320. _ACEOF
  18321. fi
  18322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
  18323. $as_echo_n "checking for roundl... " >&6; }
  18324. if ${gcc_cv_math_func_roundl+:} false; then :
  18325. $as_echo_n "(cached) " >&6
  18326. else
  18327. if test x$gcc_no_link = xyes; then
  18328. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18329. fi
  18330. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18331. /* end confdefs.h. */
  18332. #ifdef HAVE_COMPLEX_H
  18333. #include <complex.h>
  18334. #endif
  18335. #ifdef HAVE_MATH_H
  18336. #include <math.h>
  18337. #endif
  18338. int (*ptr)() = (int (*)())roundl;
  18339. int
  18340. main ()
  18341. {
  18342. return 0;
  18343. }
  18344. _ACEOF
  18345. if ac_fn_c_try_link "$LINENO"; then :
  18346. gcc_cv_math_func_roundl=yes
  18347. else
  18348. gcc_cv_math_func_roundl=no
  18349. fi
  18350. rm -f core conftest.err conftest.$ac_objext \
  18351. conftest$ac_exeext conftest.$ac_ext
  18352. fi
  18353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
  18354. $as_echo "$gcc_cv_math_func_roundl" >&6; }
  18355. if test $gcc_cv_math_func_roundl = yes; then
  18356. cat >>confdefs.h <<_ACEOF
  18357. #define HAVE_ROUNDL 1
  18358. _ACEOF
  18359. fi
  18360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
  18361. $as_echo_n "checking for lroundf... " >&6; }
  18362. if ${gcc_cv_math_func_lroundf+:} false; then :
  18363. $as_echo_n "(cached) " >&6
  18364. else
  18365. if test x$gcc_no_link = xyes; then
  18366. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18367. fi
  18368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18369. /* end confdefs.h. */
  18370. #ifdef HAVE_COMPLEX_H
  18371. #include <complex.h>
  18372. #endif
  18373. #ifdef HAVE_MATH_H
  18374. #include <math.h>
  18375. #endif
  18376. int (*ptr)() = (int (*)())lroundf;
  18377. int
  18378. main ()
  18379. {
  18380. return 0;
  18381. }
  18382. _ACEOF
  18383. if ac_fn_c_try_link "$LINENO"; then :
  18384. gcc_cv_math_func_lroundf=yes
  18385. else
  18386. gcc_cv_math_func_lroundf=no
  18387. fi
  18388. rm -f core conftest.err conftest.$ac_objext \
  18389. conftest$ac_exeext conftest.$ac_ext
  18390. fi
  18391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
  18392. $as_echo "$gcc_cv_math_func_lroundf" >&6; }
  18393. if test $gcc_cv_math_func_lroundf = yes; then
  18394. cat >>confdefs.h <<_ACEOF
  18395. #define HAVE_LROUNDF 1
  18396. _ACEOF
  18397. fi
  18398. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
  18399. $as_echo_n "checking for lround... " >&6; }
  18400. if ${gcc_cv_math_func_lround+:} false; then :
  18401. $as_echo_n "(cached) " >&6
  18402. else
  18403. if test x$gcc_no_link = xyes; then
  18404. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18405. fi
  18406. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18407. /* end confdefs.h. */
  18408. #ifdef HAVE_COMPLEX_H
  18409. #include <complex.h>
  18410. #endif
  18411. #ifdef HAVE_MATH_H
  18412. #include <math.h>
  18413. #endif
  18414. int (*ptr)() = (int (*)())lround;
  18415. int
  18416. main ()
  18417. {
  18418. return 0;
  18419. }
  18420. _ACEOF
  18421. if ac_fn_c_try_link "$LINENO"; then :
  18422. gcc_cv_math_func_lround=yes
  18423. else
  18424. gcc_cv_math_func_lround=no
  18425. fi
  18426. rm -f core conftest.err conftest.$ac_objext \
  18427. conftest$ac_exeext conftest.$ac_ext
  18428. fi
  18429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
  18430. $as_echo "$gcc_cv_math_func_lround" >&6; }
  18431. if test $gcc_cv_math_func_lround = yes; then
  18432. cat >>confdefs.h <<_ACEOF
  18433. #define HAVE_LROUND 1
  18434. _ACEOF
  18435. fi
  18436. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
  18437. $as_echo_n "checking for lroundl... " >&6; }
  18438. if ${gcc_cv_math_func_lroundl+:} false; then :
  18439. $as_echo_n "(cached) " >&6
  18440. else
  18441. if test x$gcc_no_link = xyes; then
  18442. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18443. fi
  18444. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18445. /* end confdefs.h. */
  18446. #ifdef HAVE_COMPLEX_H
  18447. #include <complex.h>
  18448. #endif
  18449. #ifdef HAVE_MATH_H
  18450. #include <math.h>
  18451. #endif
  18452. int (*ptr)() = (int (*)())lroundl;
  18453. int
  18454. main ()
  18455. {
  18456. return 0;
  18457. }
  18458. _ACEOF
  18459. if ac_fn_c_try_link "$LINENO"; then :
  18460. gcc_cv_math_func_lroundl=yes
  18461. else
  18462. gcc_cv_math_func_lroundl=no
  18463. fi
  18464. rm -f core conftest.err conftest.$ac_objext \
  18465. conftest$ac_exeext conftest.$ac_ext
  18466. fi
  18467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
  18468. $as_echo "$gcc_cv_math_func_lroundl" >&6; }
  18469. if test $gcc_cv_math_func_lroundl = yes; then
  18470. cat >>confdefs.h <<_ACEOF
  18471. #define HAVE_LROUNDL 1
  18472. _ACEOF
  18473. fi
  18474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
  18475. $as_echo_n "checking for llroundf... " >&6; }
  18476. if ${gcc_cv_math_func_llroundf+:} false; then :
  18477. $as_echo_n "(cached) " >&6
  18478. else
  18479. if test x$gcc_no_link = xyes; then
  18480. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18481. fi
  18482. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18483. /* end confdefs.h. */
  18484. #ifdef HAVE_COMPLEX_H
  18485. #include <complex.h>
  18486. #endif
  18487. #ifdef HAVE_MATH_H
  18488. #include <math.h>
  18489. #endif
  18490. int (*ptr)() = (int (*)())llroundf;
  18491. int
  18492. main ()
  18493. {
  18494. return 0;
  18495. }
  18496. _ACEOF
  18497. if ac_fn_c_try_link "$LINENO"; then :
  18498. gcc_cv_math_func_llroundf=yes
  18499. else
  18500. gcc_cv_math_func_llroundf=no
  18501. fi
  18502. rm -f core conftest.err conftest.$ac_objext \
  18503. conftest$ac_exeext conftest.$ac_ext
  18504. fi
  18505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
  18506. $as_echo "$gcc_cv_math_func_llroundf" >&6; }
  18507. if test $gcc_cv_math_func_llroundf = yes; then
  18508. cat >>confdefs.h <<_ACEOF
  18509. #define HAVE_LLROUNDF 1
  18510. _ACEOF
  18511. fi
  18512. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
  18513. $as_echo_n "checking for llround... " >&6; }
  18514. if ${gcc_cv_math_func_llround+:} false; then :
  18515. $as_echo_n "(cached) " >&6
  18516. else
  18517. if test x$gcc_no_link = xyes; then
  18518. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18519. fi
  18520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18521. /* end confdefs.h. */
  18522. #ifdef HAVE_COMPLEX_H
  18523. #include <complex.h>
  18524. #endif
  18525. #ifdef HAVE_MATH_H
  18526. #include <math.h>
  18527. #endif
  18528. int (*ptr)() = (int (*)())llround;
  18529. int
  18530. main ()
  18531. {
  18532. return 0;
  18533. }
  18534. _ACEOF
  18535. if ac_fn_c_try_link "$LINENO"; then :
  18536. gcc_cv_math_func_llround=yes
  18537. else
  18538. gcc_cv_math_func_llround=no
  18539. fi
  18540. rm -f core conftest.err conftest.$ac_objext \
  18541. conftest$ac_exeext conftest.$ac_ext
  18542. fi
  18543. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
  18544. $as_echo "$gcc_cv_math_func_llround" >&6; }
  18545. if test $gcc_cv_math_func_llround = yes; then
  18546. cat >>confdefs.h <<_ACEOF
  18547. #define HAVE_LLROUND 1
  18548. _ACEOF
  18549. fi
  18550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
  18551. $as_echo_n "checking for llroundl... " >&6; }
  18552. if ${gcc_cv_math_func_llroundl+:} false; then :
  18553. $as_echo_n "(cached) " >&6
  18554. else
  18555. if test x$gcc_no_link = xyes; then
  18556. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18557. fi
  18558. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18559. /* end confdefs.h. */
  18560. #ifdef HAVE_COMPLEX_H
  18561. #include <complex.h>
  18562. #endif
  18563. #ifdef HAVE_MATH_H
  18564. #include <math.h>
  18565. #endif
  18566. int (*ptr)() = (int (*)())llroundl;
  18567. int
  18568. main ()
  18569. {
  18570. return 0;
  18571. }
  18572. _ACEOF
  18573. if ac_fn_c_try_link "$LINENO"; then :
  18574. gcc_cv_math_func_llroundl=yes
  18575. else
  18576. gcc_cv_math_func_llroundl=no
  18577. fi
  18578. rm -f core conftest.err conftest.$ac_objext \
  18579. conftest$ac_exeext conftest.$ac_ext
  18580. fi
  18581. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
  18582. $as_echo "$gcc_cv_math_func_llroundl" >&6; }
  18583. if test $gcc_cv_math_func_llroundl = yes; then
  18584. cat >>confdefs.h <<_ACEOF
  18585. #define HAVE_LLROUNDL 1
  18586. _ACEOF
  18587. fi
  18588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
  18589. $as_echo_n "checking for scalbnf... " >&6; }
  18590. if ${gcc_cv_math_func_scalbnf+:} false; then :
  18591. $as_echo_n "(cached) " >&6
  18592. else
  18593. if test x$gcc_no_link = xyes; then
  18594. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18595. fi
  18596. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18597. /* end confdefs.h. */
  18598. #ifdef HAVE_COMPLEX_H
  18599. #include <complex.h>
  18600. #endif
  18601. #ifdef HAVE_MATH_H
  18602. #include <math.h>
  18603. #endif
  18604. int (*ptr)() = (int (*)())scalbnf;
  18605. int
  18606. main ()
  18607. {
  18608. return 0;
  18609. }
  18610. _ACEOF
  18611. if ac_fn_c_try_link "$LINENO"; then :
  18612. gcc_cv_math_func_scalbnf=yes
  18613. else
  18614. gcc_cv_math_func_scalbnf=no
  18615. fi
  18616. rm -f core conftest.err conftest.$ac_objext \
  18617. conftest$ac_exeext conftest.$ac_ext
  18618. fi
  18619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
  18620. $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
  18621. if test $gcc_cv_math_func_scalbnf = yes; then
  18622. cat >>confdefs.h <<_ACEOF
  18623. #define HAVE_SCALBNF 1
  18624. _ACEOF
  18625. fi
  18626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
  18627. $as_echo_n "checking for scalbn... " >&6; }
  18628. if ${gcc_cv_math_func_scalbn+:} false; then :
  18629. $as_echo_n "(cached) " >&6
  18630. else
  18631. if test x$gcc_no_link = xyes; then
  18632. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18633. fi
  18634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18635. /* end confdefs.h. */
  18636. #ifdef HAVE_COMPLEX_H
  18637. #include <complex.h>
  18638. #endif
  18639. #ifdef HAVE_MATH_H
  18640. #include <math.h>
  18641. #endif
  18642. int (*ptr)() = (int (*)())scalbn;
  18643. int
  18644. main ()
  18645. {
  18646. return 0;
  18647. }
  18648. _ACEOF
  18649. if ac_fn_c_try_link "$LINENO"; then :
  18650. gcc_cv_math_func_scalbn=yes
  18651. else
  18652. gcc_cv_math_func_scalbn=no
  18653. fi
  18654. rm -f core conftest.err conftest.$ac_objext \
  18655. conftest$ac_exeext conftest.$ac_ext
  18656. fi
  18657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
  18658. $as_echo "$gcc_cv_math_func_scalbn" >&6; }
  18659. if test $gcc_cv_math_func_scalbn = yes; then
  18660. cat >>confdefs.h <<_ACEOF
  18661. #define HAVE_SCALBN 1
  18662. _ACEOF
  18663. fi
  18664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
  18665. $as_echo_n "checking for scalbnl... " >&6; }
  18666. if ${gcc_cv_math_func_scalbnl+:} false; then :
  18667. $as_echo_n "(cached) " >&6
  18668. else
  18669. if test x$gcc_no_link = xyes; then
  18670. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18671. fi
  18672. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18673. /* end confdefs.h. */
  18674. #ifdef HAVE_COMPLEX_H
  18675. #include <complex.h>
  18676. #endif
  18677. #ifdef HAVE_MATH_H
  18678. #include <math.h>
  18679. #endif
  18680. int (*ptr)() = (int (*)())scalbnl;
  18681. int
  18682. main ()
  18683. {
  18684. return 0;
  18685. }
  18686. _ACEOF
  18687. if ac_fn_c_try_link "$LINENO"; then :
  18688. gcc_cv_math_func_scalbnl=yes
  18689. else
  18690. gcc_cv_math_func_scalbnl=no
  18691. fi
  18692. rm -f core conftest.err conftest.$ac_objext \
  18693. conftest$ac_exeext conftest.$ac_ext
  18694. fi
  18695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
  18696. $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
  18697. if test $gcc_cv_math_func_scalbnl = yes; then
  18698. cat >>confdefs.h <<_ACEOF
  18699. #define HAVE_SCALBNL 1
  18700. _ACEOF
  18701. fi
  18702. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
  18703. $as_echo_n "checking for sinf... " >&6; }
  18704. if ${gcc_cv_math_func_sinf+:} false; then :
  18705. $as_echo_n "(cached) " >&6
  18706. else
  18707. if test x$gcc_no_link = xyes; then
  18708. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18709. fi
  18710. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18711. /* end confdefs.h. */
  18712. #ifdef HAVE_COMPLEX_H
  18713. #include <complex.h>
  18714. #endif
  18715. #ifdef HAVE_MATH_H
  18716. #include <math.h>
  18717. #endif
  18718. int (*ptr)() = (int (*)())sinf;
  18719. int
  18720. main ()
  18721. {
  18722. return 0;
  18723. }
  18724. _ACEOF
  18725. if ac_fn_c_try_link "$LINENO"; then :
  18726. gcc_cv_math_func_sinf=yes
  18727. else
  18728. gcc_cv_math_func_sinf=no
  18729. fi
  18730. rm -f core conftest.err conftest.$ac_objext \
  18731. conftest$ac_exeext conftest.$ac_ext
  18732. fi
  18733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
  18734. $as_echo "$gcc_cv_math_func_sinf" >&6; }
  18735. if test $gcc_cv_math_func_sinf = yes; then
  18736. cat >>confdefs.h <<_ACEOF
  18737. #define HAVE_SINF 1
  18738. _ACEOF
  18739. fi
  18740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
  18741. $as_echo_n "checking for sin... " >&6; }
  18742. if ${gcc_cv_math_func_sin+:} false; then :
  18743. $as_echo_n "(cached) " >&6
  18744. else
  18745. if test x$gcc_no_link = xyes; then
  18746. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18747. fi
  18748. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18749. /* end confdefs.h. */
  18750. #ifdef HAVE_COMPLEX_H
  18751. #include <complex.h>
  18752. #endif
  18753. #ifdef HAVE_MATH_H
  18754. #include <math.h>
  18755. #endif
  18756. int (*ptr)() = (int (*)())sin;
  18757. int
  18758. main ()
  18759. {
  18760. return 0;
  18761. }
  18762. _ACEOF
  18763. if ac_fn_c_try_link "$LINENO"; then :
  18764. gcc_cv_math_func_sin=yes
  18765. else
  18766. gcc_cv_math_func_sin=no
  18767. fi
  18768. rm -f core conftest.err conftest.$ac_objext \
  18769. conftest$ac_exeext conftest.$ac_ext
  18770. fi
  18771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
  18772. $as_echo "$gcc_cv_math_func_sin" >&6; }
  18773. if test $gcc_cv_math_func_sin = yes; then
  18774. cat >>confdefs.h <<_ACEOF
  18775. #define HAVE_SIN 1
  18776. _ACEOF
  18777. fi
  18778. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
  18779. $as_echo_n "checking for sinl... " >&6; }
  18780. if ${gcc_cv_math_func_sinl+:} false; then :
  18781. $as_echo_n "(cached) " >&6
  18782. else
  18783. if test x$gcc_no_link = xyes; then
  18784. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18785. fi
  18786. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18787. /* end confdefs.h. */
  18788. #ifdef HAVE_COMPLEX_H
  18789. #include <complex.h>
  18790. #endif
  18791. #ifdef HAVE_MATH_H
  18792. #include <math.h>
  18793. #endif
  18794. int (*ptr)() = (int (*)())sinl;
  18795. int
  18796. main ()
  18797. {
  18798. return 0;
  18799. }
  18800. _ACEOF
  18801. if ac_fn_c_try_link "$LINENO"; then :
  18802. gcc_cv_math_func_sinl=yes
  18803. else
  18804. gcc_cv_math_func_sinl=no
  18805. fi
  18806. rm -f core conftest.err conftest.$ac_objext \
  18807. conftest$ac_exeext conftest.$ac_ext
  18808. fi
  18809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
  18810. $as_echo "$gcc_cv_math_func_sinl" >&6; }
  18811. if test $gcc_cv_math_func_sinl = yes; then
  18812. cat >>confdefs.h <<_ACEOF
  18813. #define HAVE_SINL 1
  18814. _ACEOF
  18815. fi
  18816. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
  18817. $as_echo_n "checking for csinf... " >&6; }
  18818. if ${gcc_cv_math_func_csinf+:} false; then :
  18819. $as_echo_n "(cached) " >&6
  18820. else
  18821. if test x$gcc_no_link = xyes; then
  18822. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18823. fi
  18824. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18825. /* end confdefs.h. */
  18826. #ifdef HAVE_COMPLEX_H
  18827. #include <complex.h>
  18828. #endif
  18829. #ifdef HAVE_MATH_H
  18830. #include <math.h>
  18831. #endif
  18832. int (*ptr)() = (int (*)())csinf;
  18833. int
  18834. main ()
  18835. {
  18836. return 0;
  18837. }
  18838. _ACEOF
  18839. if ac_fn_c_try_link "$LINENO"; then :
  18840. gcc_cv_math_func_csinf=yes
  18841. else
  18842. gcc_cv_math_func_csinf=no
  18843. fi
  18844. rm -f core conftest.err conftest.$ac_objext \
  18845. conftest$ac_exeext conftest.$ac_ext
  18846. fi
  18847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
  18848. $as_echo "$gcc_cv_math_func_csinf" >&6; }
  18849. if test $gcc_cv_math_func_csinf = yes; then
  18850. cat >>confdefs.h <<_ACEOF
  18851. #define HAVE_CSINF 1
  18852. _ACEOF
  18853. fi
  18854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
  18855. $as_echo_n "checking for csin... " >&6; }
  18856. if ${gcc_cv_math_func_csin+:} false; then :
  18857. $as_echo_n "(cached) " >&6
  18858. else
  18859. if test x$gcc_no_link = xyes; then
  18860. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18861. fi
  18862. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18863. /* end confdefs.h. */
  18864. #ifdef HAVE_COMPLEX_H
  18865. #include <complex.h>
  18866. #endif
  18867. #ifdef HAVE_MATH_H
  18868. #include <math.h>
  18869. #endif
  18870. int (*ptr)() = (int (*)())csin;
  18871. int
  18872. main ()
  18873. {
  18874. return 0;
  18875. }
  18876. _ACEOF
  18877. if ac_fn_c_try_link "$LINENO"; then :
  18878. gcc_cv_math_func_csin=yes
  18879. else
  18880. gcc_cv_math_func_csin=no
  18881. fi
  18882. rm -f core conftest.err conftest.$ac_objext \
  18883. conftest$ac_exeext conftest.$ac_ext
  18884. fi
  18885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
  18886. $as_echo "$gcc_cv_math_func_csin" >&6; }
  18887. if test $gcc_cv_math_func_csin = yes; then
  18888. cat >>confdefs.h <<_ACEOF
  18889. #define HAVE_CSIN 1
  18890. _ACEOF
  18891. fi
  18892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
  18893. $as_echo_n "checking for csinl... " >&6; }
  18894. if ${gcc_cv_math_func_csinl+:} false; then :
  18895. $as_echo_n "(cached) " >&6
  18896. else
  18897. if test x$gcc_no_link = xyes; then
  18898. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18899. fi
  18900. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18901. /* end confdefs.h. */
  18902. #ifdef HAVE_COMPLEX_H
  18903. #include <complex.h>
  18904. #endif
  18905. #ifdef HAVE_MATH_H
  18906. #include <math.h>
  18907. #endif
  18908. int (*ptr)() = (int (*)())csinl;
  18909. int
  18910. main ()
  18911. {
  18912. return 0;
  18913. }
  18914. _ACEOF
  18915. if ac_fn_c_try_link "$LINENO"; then :
  18916. gcc_cv_math_func_csinl=yes
  18917. else
  18918. gcc_cv_math_func_csinl=no
  18919. fi
  18920. rm -f core conftest.err conftest.$ac_objext \
  18921. conftest$ac_exeext conftest.$ac_ext
  18922. fi
  18923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
  18924. $as_echo "$gcc_cv_math_func_csinl" >&6; }
  18925. if test $gcc_cv_math_func_csinl = yes; then
  18926. cat >>confdefs.h <<_ACEOF
  18927. #define HAVE_CSINL 1
  18928. _ACEOF
  18929. fi
  18930. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
  18931. $as_echo_n "checking for sinhf... " >&6; }
  18932. if ${gcc_cv_math_func_sinhf+:} false; then :
  18933. $as_echo_n "(cached) " >&6
  18934. else
  18935. if test x$gcc_no_link = xyes; then
  18936. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18937. fi
  18938. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18939. /* end confdefs.h. */
  18940. #ifdef HAVE_COMPLEX_H
  18941. #include <complex.h>
  18942. #endif
  18943. #ifdef HAVE_MATH_H
  18944. #include <math.h>
  18945. #endif
  18946. int (*ptr)() = (int (*)())sinhf;
  18947. int
  18948. main ()
  18949. {
  18950. return 0;
  18951. }
  18952. _ACEOF
  18953. if ac_fn_c_try_link "$LINENO"; then :
  18954. gcc_cv_math_func_sinhf=yes
  18955. else
  18956. gcc_cv_math_func_sinhf=no
  18957. fi
  18958. rm -f core conftest.err conftest.$ac_objext \
  18959. conftest$ac_exeext conftest.$ac_ext
  18960. fi
  18961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
  18962. $as_echo "$gcc_cv_math_func_sinhf" >&6; }
  18963. if test $gcc_cv_math_func_sinhf = yes; then
  18964. cat >>confdefs.h <<_ACEOF
  18965. #define HAVE_SINHF 1
  18966. _ACEOF
  18967. fi
  18968. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
  18969. $as_echo_n "checking for sinh... " >&6; }
  18970. if ${gcc_cv_math_func_sinh+:} false; then :
  18971. $as_echo_n "(cached) " >&6
  18972. else
  18973. if test x$gcc_no_link = xyes; then
  18974. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18975. fi
  18976. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18977. /* end confdefs.h. */
  18978. #ifdef HAVE_COMPLEX_H
  18979. #include <complex.h>
  18980. #endif
  18981. #ifdef HAVE_MATH_H
  18982. #include <math.h>
  18983. #endif
  18984. int (*ptr)() = (int (*)())sinh;
  18985. int
  18986. main ()
  18987. {
  18988. return 0;
  18989. }
  18990. _ACEOF
  18991. if ac_fn_c_try_link "$LINENO"; then :
  18992. gcc_cv_math_func_sinh=yes
  18993. else
  18994. gcc_cv_math_func_sinh=no
  18995. fi
  18996. rm -f core conftest.err conftest.$ac_objext \
  18997. conftest$ac_exeext conftest.$ac_ext
  18998. fi
  18999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
  19000. $as_echo "$gcc_cv_math_func_sinh" >&6; }
  19001. if test $gcc_cv_math_func_sinh = yes; then
  19002. cat >>confdefs.h <<_ACEOF
  19003. #define HAVE_SINH 1
  19004. _ACEOF
  19005. fi
  19006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
  19007. $as_echo_n "checking for sinhl... " >&6; }
  19008. if ${gcc_cv_math_func_sinhl+:} false; then :
  19009. $as_echo_n "(cached) " >&6
  19010. else
  19011. if test x$gcc_no_link = xyes; then
  19012. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19013. fi
  19014. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19015. /* end confdefs.h. */
  19016. #ifdef HAVE_COMPLEX_H
  19017. #include <complex.h>
  19018. #endif
  19019. #ifdef HAVE_MATH_H
  19020. #include <math.h>
  19021. #endif
  19022. int (*ptr)() = (int (*)())sinhl;
  19023. int
  19024. main ()
  19025. {
  19026. return 0;
  19027. }
  19028. _ACEOF
  19029. if ac_fn_c_try_link "$LINENO"; then :
  19030. gcc_cv_math_func_sinhl=yes
  19031. else
  19032. gcc_cv_math_func_sinhl=no
  19033. fi
  19034. rm -f core conftest.err conftest.$ac_objext \
  19035. conftest$ac_exeext conftest.$ac_ext
  19036. fi
  19037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
  19038. $as_echo "$gcc_cv_math_func_sinhl" >&6; }
  19039. if test $gcc_cv_math_func_sinhl = yes; then
  19040. cat >>confdefs.h <<_ACEOF
  19041. #define HAVE_SINHL 1
  19042. _ACEOF
  19043. fi
  19044. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
  19045. $as_echo_n "checking for csinhf... " >&6; }
  19046. if ${gcc_cv_math_func_csinhf+:} false; then :
  19047. $as_echo_n "(cached) " >&6
  19048. else
  19049. if test x$gcc_no_link = xyes; then
  19050. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19051. fi
  19052. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19053. /* end confdefs.h. */
  19054. #ifdef HAVE_COMPLEX_H
  19055. #include <complex.h>
  19056. #endif
  19057. #ifdef HAVE_MATH_H
  19058. #include <math.h>
  19059. #endif
  19060. int (*ptr)() = (int (*)())csinhf;
  19061. int
  19062. main ()
  19063. {
  19064. return 0;
  19065. }
  19066. _ACEOF
  19067. if ac_fn_c_try_link "$LINENO"; then :
  19068. gcc_cv_math_func_csinhf=yes
  19069. else
  19070. gcc_cv_math_func_csinhf=no
  19071. fi
  19072. rm -f core conftest.err conftest.$ac_objext \
  19073. conftest$ac_exeext conftest.$ac_ext
  19074. fi
  19075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
  19076. $as_echo "$gcc_cv_math_func_csinhf" >&6; }
  19077. if test $gcc_cv_math_func_csinhf = yes; then
  19078. cat >>confdefs.h <<_ACEOF
  19079. #define HAVE_CSINHF 1
  19080. _ACEOF
  19081. fi
  19082. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
  19083. $as_echo_n "checking for csinh... " >&6; }
  19084. if ${gcc_cv_math_func_csinh+:} false; then :
  19085. $as_echo_n "(cached) " >&6
  19086. else
  19087. if test x$gcc_no_link = xyes; then
  19088. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19089. fi
  19090. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19091. /* end confdefs.h. */
  19092. #ifdef HAVE_COMPLEX_H
  19093. #include <complex.h>
  19094. #endif
  19095. #ifdef HAVE_MATH_H
  19096. #include <math.h>
  19097. #endif
  19098. int (*ptr)() = (int (*)())csinh;
  19099. int
  19100. main ()
  19101. {
  19102. return 0;
  19103. }
  19104. _ACEOF
  19105. if ac_fn_c_try_link "$LINENO"; then :
  19106. gcc_cv_math_func_csinh=yes
  19107. else
  19108. gcc_cv_math_func_csinh=no
  19109. fi
  19110. rm -f core conftest.err conftest.$ac_objext \
  19111. conftest$ac_exeext conftest.$ac_ext
  19112. fi
  19113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
  19114. $as_echo "$gcc_cv_math_func_csinh" >&6; }
  19115. if test $gcc_cv_math_func_csinh = yes; then
  19116. cat >>confdefs.h <<_ACEOF
  19117. #define HAVE_CSINH 1
  19118. _ACEOF
  19119. fi
  19120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
  19121. $as_echo_n "checking for csinhl... " >&6; }
  19122. if ${gcc_cv_math_func_csinhl+:} false; then :
  19123. $as_echo_n "(cached) " >&6
  19124. else
  19125. if test x$gcc_no_link = xyes; then
  19126. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19127. fi
  19128. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19129. /* end confdefs.h. */
  19130. #ifdef HAVE_COMPLEX_H
  19131. #include <complex.h>
  19132. #endif
  19133. #ifdef HAVE_MATH_H
  19134. #include <math.h>
  19135. #endif
  19136. int (*ptr)() = (int (*)())csinhl;
  19137. int
  19138. main ()
  19139. {
  19140. return 0;
  19141. }
  19142. _ACEOF
  19143. if ac_fn_c_try_link "$LINENO"; then :
  19144. gcc_cv_math_func_csinhl=yes
  19145. else
  19146. gcc_cv_math_func_csinhl=no
  19147. fi
  19148. rm -f core conftest.err conftest.$ac_objext \
  19149. conftest$ac_exeext conftest.$ac_ext
  19150. fi
  19151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
  19152. $as_echo "$gcc_cv_math_func_csinhl" >&6; }
  19153. if test $gcc_cv_math_func_csinhl = yes; then
  19154. cat >>confdefs.h <<_ACEOF
  19155. #define HAVE_CSINHL 1
  19156. _ACEOF
  19157. fi
  19158. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
  19159. $as_echo_n "checking for sqrtf... " >&6; }
  19160. if ${gcc_cv_math_func_sqrtf+:} false; then :
  19161. $as_echo_n "(cached) " >&6
  19162. else
  19163. if test x$gcc_no_link = xyes; then
  19164. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19165. fi
  19166. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19167. /* end confdefs.h. */
  19168. #ifdef HAVE_COMPLEX_H
  19169. #include <complex.h>
  19170. #endif
  19171. #ifdef HAVE_MATH_H
  19172. #include <math.h>
  19173. #endif
  19174. int (*ptr)() = (int (*)())sqrtf;
  19175. int
  19176. main ()
  19177. {
  19178. return 0;
  19179. }
  19180. _ACEOF
  19181. if ac_fn_c_try_link "$LINENO"; then :
  19182. gcc_cv_math_func_sqrtf=yes
  19183. else
  19184. gcc_cv_math_func_sqrtf=no
  19185. fi
  19186. rm -f core conftest.err conftest.$ac_objext \
  19187. conftest$ac_exeext conftest.$ac_ext
  19188. fi
  19189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
  19190. $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
  19191. if test $gcc_cv_math_func_sqrtf = yes; then
  19192. cat >>confdefs.h <<_ACEOF
  19193. #define HAVE_SQRTF 1
  19194. _ACEOF
  19195. fi
  19196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
  19197. $as_echo_n "checking for sqrt... " >&6; }
  19198. if ${gcc_cv_math_func_sqrt+:} false; then :
  19199. $as_echo_n "(cached) " >&6
  19200. else
  19201. if test x$gcc_no_link = xyes; then
  19202. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19203. fi
  19204. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19205. /* end confdefs.h. */
  19206. #ifdef HAVE_COMPLEX_H
  19207. #include <complex.h>
  19208. #endif
  19209. #ifdef HAVE_MATH_H
  19210. #include <math.h>
  19211. #endif
  19212. int (*ptr)() = (int (*)())sqrt;
  19213. int
  19214. main ()
  19215. {
  19216. return 0;
  19217. }
  19218. _ACEOF
  19219. if ac_fn_c_try_link "$LINENO"; then :
  19220. gcc_cv_math_func_sqrt=yes
  19221. else
  19222. gcc_cv_math_func_sqrt=no
  19223. fi
  19224. rm -f core conftest.err conftest.$ac_objext \
  19225. conftest$ac_exeext conftest.$ac_ext
  19226. fi
  19227. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
  19228. $as_echo "$gcc_cv_math_func_sqrt" >&6; }
  19229. if test $gcc_cv_math_func_sqrt = yes; then
  19230. cat >>confdefs.h <<_ACEOF
  19231. #define HAVE_SQRT 1
  19232. _ACEOF
  19233. fi
  19234. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
  19235. $as_echo_n "checking for sqrtl... " >&6; }
  19236. if ${gcc_cv_math_func_sqrtl+:} false; then :
  19237. $as_echo_n "(cached) " >&6
  19238. else
  19239. if test x$gcc_no_link = xyes; then
  19240. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19241. fi
  19242. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19243. /* end confdefs.h. */
  19244. #ifdef HAVE_COMPLEX_H
  19245. #include <complex.h>
  19246. #endif
  19247. #ifdef HAVE_MATH_H
  19248. #include <math.h>
  19249. #endif
  19250. int (*ptr)() = (int (*)())sqrtl;
  19251. int
  19252. main ()
  19253. {
  19254. return 0;
  19255. }
  19256. _ACEOF
  19257. if ac_fn_c_try_link "$LINENO"; then :
  19258. gcc_cv_math_func_sqrtl=yes
  19259. else
  19260. gcc_cv_math_func_sqrtl=no
  19261. fi
  19262. rm -f core conftest.err conftest.$ac_objext \
  19263. conftest$ac_exeext conftest.$ac_ext
  19264. fi
  19265. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
  19266. $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
  19267. if test $gcc_cv_math_func_sqrtl = yes; then
  19268. cat >>confdefs.h <<_ACEOF
  19269. #define HAVE_SQRTL 1
  19270. _ACEOF
  19271. fi
  19272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
  19273. $as_echo_n "checking for csqrtf... " >&6; }
  19274. if ${gcc_cv_math_func_csqrtf+:} false; then :
  19275. $as_echo_n "(cached) " >&6
  19276. else
  19277. if test x$gcc_no_link = xyes; then
  19278. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19279. fi
  19280. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19281. /* end confdefs.h. */
  19282. #ifdef HAVE_COMPLEX_H
  19283. #include <complex.h>
  19284. #endif
  19285. #ifdef HAVE_MATH_H
  19286. #include <math.h>
  19287. #endif
  19288. int (*ptr)() = (int (*)())csqrtf;
  19289. int
  19290. main ()
  19291. {
  19292. return 0;
  19293. }
  19294. _ACEOF
  19295. if ac_fn_c_try_link "$LINENO"; then :
  19296. gcc_cv_math_func_csqrtf=yes
  19297. else
  19298. gcc_cv_math_func_csqrtf=no
  19299. fi
  19300. rm -f core conftest.err conftest.$ac_objext \
  19301. conftest$ac_exeext conftest.$ac_ext
  19302. fi
  19303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
  19304. $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
  19305. if test $gcc_cv_math_func_csqrtf = yes; then
  19306. cat >>confdefs.h <<_ACEOF
  19307. #define HAVE_CSQRTF 1
  19308. _ACEOF
  19309. fi
  19310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
  19311. $as_echo_n "checking for csqrt... " >&6; }
  19312. if ${gcc_cv_math_func_csqrt+:} false; then :
  19313. $as_echo_n "(cached) " >&6
  19314. else
  19315. if test x$gcc_no_link = xyes; then
  19316. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19317. fi
  19318. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19319. /* end confdefs.h. */
  19320. #ifdef HAVE_COMPLEX_H
  19321. #include <complex.h>
  19322. #endif
  19323. #ifdef HAVE_MATH_H
  19324. #include <math.h>
  19325. #endif
  19326. int (*ptr)() = (int (*)())csqrt;
  19327. int
  19328. main ()
  19329. {
  19330. return 0;
  19331. }
  19332. _ACEOF
  19333. if ac_fn_c_try_link "$LINENO"; then :
  19334. gcc_cv_math_func_csqrt=yes
  19335. else
  19336. gcc_cv_math_func_csqrt=no
  19337. fi
  19338. rm -f core conftest.err conftest.$ac_objext \
  19339. conftest$ac_exeext conftest.$ac_ext
  19340. fi
  19341. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
  19342. $as_echo "$gcc_cv_math_func_csqrt" >&6; }
  19343. if test $gcc_cv_math_func_csqrt = yes; then
  19344. cat >>confdefs.h <<_ACEOF
  19345. #define HAVE_CSQRT 1
  19346. _ACEOF
  19347. fi
  19348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
  19349. $as_echo_n "checking for csqrtl... " >&6; }
  19350. if ${gcc_cv_math_func_csqrtl+:} false; then :
  19351. $as_echo_n "(cached) " >&6
  19352. else
  19353. if test x$gcc_no_link = xyes; then
  19354. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19355. fi
  19356. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19357. /* end confdefs.h. */
  19358. #ifdef HAVE_COMPLEX_H
  19359. #include <complex.h>
  19360. #endif
  19361. #ifdef HAVE_MATH_H
  19362. #include <math.h>
  19363. #endif
  19364. int (*ptr)() = (int (*)())csqrtl;
  19365. int
  19366. main ()
  19367. {
  19368. return 0;
  19369. }
  19370. _ACEOF
  19371. if ac_fn_c_try_link "$LINENO"; then :
  19372. gcc_cv_math_func_csqrtl=yes
  19373. else
  19374. gcc_cv_math_func_csqrtl=no
  19375. fi
  19376. rm -f core conftest.err conftest.$ac_objext \
  19377. conftest$ac_exeext conftest.$ac_ext
  19378. fi
  19379. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
  19380. $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
  19381. if test $gcc_cv_math_func_csqrtl = yes; then
  19382. cat >>confdefs.h <<_ACEOF
  19383. #define HAVE_CSQRTL 1
  19384. _ACEOF
  19385. fi
  19386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
  19387. $as_echo_n "checking for tanf... " >&6; }
  19388. if ${gcc_cv_math_func_tanf+:} false; then :
  19389. $as_echo_n "(cached) " >&6
  19390. else
  19391. if test x$gcc_no_link = xyes; then
  19392. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19393. fi
  19394. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19395. /* end confdefs.h. */
  19396. #ifdef HAVE_COMPLEX_H
  19397. #include <complex.h>
  19398. #endif
  19399. #ifdef HAVE_MATH_H
  19400. #include <math.h>
  19401. #endif
  19402. int (*ptr)() = (int (*)())tanf;
  19403. int
  19404. main ()
  19405. {
  19406. return 0;
  19407. }
  19408. _ACEOF
  19409. if ac_fn_c_try_link "$LINENO"; then :
  19410. gcc_cv_math_func_tanf=yes
  19411. else
  19412. gcc_cv_math_func_tanf=no
  19413. fi
  19414. rm -f core conftest.err conftest.$ac_objext \
  19415. conftest$ac_exeext conftest.$ac_ext
  19416. fi
  19417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
  19418. $as_echo "$gcc_cv_math_func_tanf" >&6; }
  19419. if test $gcc_cv_math_func_tanf = yes; then
  19420. cat >>confdefs.h <<_ACEOF
  19421. #define HAVE_TANF 1
  19422. _ACEOF
  19423. fi
  19424. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
  19425. $as_echo_n "checking for tan... " >&6; }
  19426. if ${gcc_cv_math_func_tan+:} false; then :
  19427. $as_echo_n "(cached) " >&6
  19428. else
  19429. if test x$gcc_no_link = xyes; then
  19430. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19431. fi
  19432. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19433. /* end confdefs.h. */
  19434. #ifdef HAVE_COMPLEX_H
  19435. #include <complex.h>
  19436. #endif
  19437. #ifdef HAVE_MATH_H
  19438. #include <math.h>
  19439. #endif
  19440. int (*ptr)() = (int (*)())tan;
  19441. int
  19442. main ()
  19443. {
  19444. return 0;
  19445. }
  19446. _ACEOF
  19447. if ac_fn_c_try_link "$LINENO"; then :
  19448. gcc_cv_math_func_tan=yes
  19449. else
  19450. gcc_cv_math_func_tan=no
  19451. fi
  19452. rm -f core conftest.err conftest.$ac_objext \
  19453. conftest$ac_exeext conftest.$ac_ext
  19454. fi
  19455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
  19456. $as_echo "$gcc_cv_math_func_tan" >&6; }
  19457. if test $gcc_cv_math_func_tan = yes; then
  19458. cat >>confdefs.h <<_ACEOF
  19459. #define HAVE_TAN 1
  19460. _ACEOF
  19461. fi
  19462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
  19463. $as_echo_n "checking for tanl... " >&6; }
  19464. if ${gcc_cv_math_func_tanl+:} false; then :
  19465. $as_echo_n "(cached) " >&6
  19466. else
  19467. if test x$gcc_no_link = xyes; then
  19468. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19469. fi
  19470. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19471. /* end confdefs.h. */
  19472. #ifdef HAVE_COMPLEX_H
  19473. #include <complex.h>
  19474. #endif
  19475. #ifdef HAVE_MATH_H
  19476. #include <math.h>
  19477. #endif
  19478. int (*ptr)() = (int (*)())tanl;
  19479. int
  19480. main ()
  19481. {
  19482. return 0;
  19483. }
  19484. _ACEOF
  19485. if ac_fn_c_try_link "$LINENO"; then :
  19486. gcc_cv_math_func_tanl=yes
  19487. else
  19488. gcc_cv_math_func_tanl=no
  19489. fi
  19490. rm -f core conftest.err conftest.$ac_objext \
  19491. conftest$ac_exeext conftest.$ac_ext
  19492. fi
  19493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
  19494. $as_echo "$gcc_cv_math_func_tanl" >&6; }
  19495. if test $gcc_cv_math_func_tanl = yes; then
  19496. cat >>confdefs.h <<_ACEOF
  19497. #define HAVE_TANL 1
  19498. _ACEOF
  19499. fi
  19500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
  19501. $as_echo_n "checking for ctanf... " >&6; }
  19502. if ${gcc_cv_math_func_ctanf+:} false; then :
  19503. $as_echo_n "(cached) " >&6
  19504. else
  19505. if test x$gcc_no_link = xyes; then
  19506. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19507. fi
  19508. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19509. /* end confdefs.h. */
  19510. #ifdef HAVE_COMPLEX_H
  19511. #include <complex.h>
  19512. #endif
  19513. #ifdef HAVE_MATH_H
  19514. #include <math.h>
  19515. #endif
  19516. int (*ptr)() = (int (*)())ctanf;
  19517. int
  19518. main ()
  19519. {
  19520. return 0;
  19521. }
  19522. _ACEOF
  19523. if ac_fn_c_try_link "$LINENO"; then :
  19524. gcc_cv_math_func_ctanf=yes
  19525. else
  19526. gcc_cv_math_func_ctanf=no
  19527. fi
  19528. rm -f core conftest.err conftest.$ac_objext \
  19529. conftest$ac_exeext conftest.$ac_ext
  19530. fi
  19531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
  19532. $as_echo "$gcc_cv_math_func_ctanf" >&6; }
  19533. if test $gcc_cv_math_func_ctanf = yes; then
  19534. cat >>confdefs.h <<_ACEOF
  19535. #define HAVE_CTANF 1
  19536. _ACEOF
  19537. fi
  19538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
  19539. $as_echo_n "checking for ctan... " >&6; }
  19540. if ${gcc_cv_math_func_ctan+:} false; then :
  19541. $as_echo_n "(cached) " >&6
  19542. else
  19543. if test x$gcc_no_link = xyes; then
  19544. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19545. fi
  19546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19547. /* end confdefs.h. */
  19548. #ifdef HAVE_COMPLEX_H
  19549. #include <complex.h>
  19550. #endif
  19551. #ifdef HAVE_MATH_H
  19552. #include <math.h>
  19553. #endif
  19554. int (*ptr)() = (int (*)())ctan;
  19555. int
  19556. main ()
  19557. {
  19558. return 0;
  19559. }
  19560. _ACEOF
  19561. if ac_fn_c_try_link "$LINENO"; then :
  19562. gcc_cv_math_func_ctan=yes
  19563. else
  19564. gcc_cv_math_func_ctan=no
  19565. fi
  19566. rm -f core conftest.err conftest.$ac_objext \
  19567. conftest$ac_exeext conftest.$ac_ext
  19568. fi
  19569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
  19570. $as_echo "$gcc_cv_math_func_ctan" >&6; }
  19571. if test $gcc_cv_math_func_ctan = yes; then
  19572. cat >>confdefs.h <<_ACEOF
  19573. #define HAVE_CTAN 1
  19574. _ACEOF
  19575. fi
  19576. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
  19577. $as_echo_n "checking for ctanl... " >&6; }
  19578. if ${gcc_cv_math_func_ctanl+:} false; then :
  19579. $as_echo_n "(cached) " >&6
  19580. else
  19581. if test x$gcc_no_link = xyes; then
  19582. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19583. fi
  19584. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19585. /* end confdefs.h. */
  19586. #ifdef HAVE_COMPLEX_H
  19587. #include <complex.h>
  19588. #endif
  19589. #ifdef HAVE_MATH_H
  19590. #include <math.h>
  19591. #endif
  19592. int (*ptr)() = (int (*)())ctanl;
  19593. int
  19594. main ()
  19595. {
  19596. return 0;
  19597. }
  19598. _ACEOF
  19599. if ac_fn_c_try_link "$LINENO"; then :
  19600. gcc_cv_math_func_ctanl=yes
  19601. else
  19602. gcc_cv_math_func_ctanl=no
  19603. fi
  19604. rm -f core conftest.err conftest.$ac_objext \
  19605. conftest$ac_exeext conftest.$ac_ext
  19606. fi
  19607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
  19608. $as_echo "$gcc_cv_math_func_ctanl" >&6; }
  19609. if test $gcc_cv_math_func_ctanl = yes; then
  19610. cat >>confdefs.h <<_ACEOF
  19611. #define HAVE_CTANL 1
  19612. _ACEOF
  19613. fi
  19614. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
  19615. $as_echo_n "checking for tanhf... " >&6; }
  19616. if ${gcc_cv_math_func_tanhf+:} false; then :
  19617. $as_echo_n "(cached) " >&6
  19618. else
  19619. if test x$gcc_no_link = xyes; then
  19620. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19621. fi
  19622. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19623. /* end confdefs.h. */
  19624. #ifdef HAVE_COMPLEX_H
  19625. #include <complex.h>
  19626. #endif
  19627. #ifdef HAVE_MATH_H
  19628. #include <math.h>
  19629. #endif
  19630. int (*ptr)() = (int (*)())tanhf;
  19631. int
  19632. main ()
  19633. {
  19634. return 0;
  19635. }
  19636. _ACEOF
  19637. if ac_fn_c_try_link "$LINENO"; then :
  19638. gcc_cv_math_func_tanhf=yes
  19639. else
  19640. gcc_cv_math_func_tanhf=no
  19641. fi
  19642. rm -f core conftest.err conftest.$ac_objext \
  19643. conftest$ac_exeext conftest.$ac_ext
  19644. fi
  19645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
  19646. $as_echo "$gcc_cv_math_func_tanhf" >&6; }
  19647. if test $gcc_cv_math_func_tanhf = yes; then
  19648. cat >>confdefs.h <<_ACEOF
  19649. #define HAVE_TANHF 1
  19650. _ACEOF
  19651. fi
  19652. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
  19653. $as_echo_n "checking for tanh... " >&6; }
  19654. if ${gcc_cv_math_func_tanh+:} false; then :
  19655. $as_echo_n "(cached) " >&6
  19656. else
  19657. if test x$gcc_no_link = xyes; then
  19658. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19659. fi
  19660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19661. /* end confdefs.h. */
  19662. #ifdef HAVE_COMPLEX_H
  19663. #include <complex.h>
  19664. #endif
  19665. #ifdef HAVE_MATH_H
  19666. #include <math.h>
  19667. #endif
  19668. int (*ptr)() = (int (*)())tanh;
  19669. int
  19670. main ()
  19671. {
  19672. return 0;
  19673. }
  19674. _ACEOF
  19675. if ac_fn_c_try_link "$LINENO"; then :
  19676. gcc_cv_math_func_tanh=yes
  19677. else
  19678. gcc_cv_math_func_tanh=no
  19679. fi
  19680. rm -f core conftest.err conftest.$ac_objext \
  19681. conftest$ac_exeext conftest.$ac_ext
  19682. fi
  19683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
  19684. $as_echo "$gcc_cv_math_func_tanh" >&6; }
  19685. if test $gcc_cv_math_func_tanh = yes; then
  19686. cat >>confdefs.h <<_ACEOF
  19687. #define HAVE_TANH 1
  19688. _ACEOF
  19689. fi
  19690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
  19691. $as_echo_n "checking for tanhl... " >&6; }
  19692. if ${gcc_cv_math_func_tanhl+:} false; then :
  19693. $as_echo_n "(cached) " >&6
  19694. else
  19695. if test x$gcc_no_link = xyes; then
  19696. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19697. fi
  19698. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19699. /* end confdefs.h. */
  19700. #ifdef HAVE_COMPLEX_H
  19701. #include <complex.h>
  19702. #endif
  19703. #ifdef HAVE_MATH_H
  19704. #include <math.h>
  19705. #endif
  19706. int (*ptr)() = (int (*)())tanhl;
  19707. int
  19708. main ()
  19709. {
  19710. return 0;
  19711. }
  19712. _ACEOF
  19713. if ac_fn_c_try_link "$LINENO"; then :
  19714. gcc_cv_math_func_tanhl=yes
  19715. else
  19716. gcc_cv_math_func_tanhl=no
  19717. fi
  19718. rm -f core conftest.err conftest.$ac_objext \
  19719. conftest$ac_exeext conftest.$ac_ext
  19720. fi
  19721. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
  19722. $as_echo "$gcc_cv_math_func_tanhl" >&6; }
  19723. if test $gcc_cv_math_func_tanhl = yes; then
  19724. cat >>confdefs.h <<_ACEOF
  19725. #define HAVE_TANHL 1
  19726. _ACEOF
  19727. fi
  19728. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
  19729. $as_echo_n "checking for ctanhf... " >&6; }
  19730. if ${gcc_cv_math_func_ctanhf+:} false; then :
  19731. $as_echo_n "(cached) " >&6
  19732. else
  19733. if test x$gcc_no_link = xyes; then
  19734. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19735. fi
  19736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19737. /* end confdefs.h. */
  19738. #ifdef HAVE_COMPLEX_H
  19739. #include <complex.h>
  19740. #endif
  19741. #ifdef HAVE_MATH_H
  19742. #include <math.h>
  19743. #endif
  19744. int (*ptr)() = (int (*)())ctanhf;
  19745. int
  19746. main ()
  19747. {
  19748. return 0;
  19749. }
  19750. _ACEOF
  19751. if ac_fn_c_try_link "$LINENO"; then :
  19752. gcc_cv_math_func_ctanhf=yes
  19753. else
  19754. gcc_cv_math_func_ctanhf=no
  19755. fi
  19756. rm -f core conftest.err conftest.$ac_objext \
  19757. conftest$ac_exeext conftest.$ac_ext
  19758. fi
  19759. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
  19760. $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
  19761. if test $gcc_cv_math_func_ctanhf = yes; then
  19762. cat >>confdefs.h <<_ACEOF
  19763. #define HAVE_CTANHF 1
  19764. _ACEOF
  19765. fi
  19766. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
  19767. $as_echo_n "checking for ctanh... " >&6; }
  19768. if ${gcc_cv_math_func_ctanh+:} false; then :
  19769. $as_echo_n "(cached) " >&6
  19770. else
  19771. if test x$gcc_no_link = xyes; then
  19772. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19773. fi
  19774. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19775. /* end confdefs.h. */
  19776. #ifdef HAVE_COMPLEX_H
  19777. #include <complex.h>
  19778. #endif
  19779. #ifdef HAVE_MATH_H
  19780. #include <math.h>
  19781. #endif
  19782. int (*ptr)() = (int (*)())ctanh;
  19783. int
  19784. main ()
  19785. {
  19786. return 0;
  19787. }
  19788. _ACEOF
  19789. if ac_fn_c_try_link "$LINENO"; then :
  19790. gcc_cv_math_func_ctanh=yes
  19791. else
  19792. gcc_cv_math_func_ctanh=no
  19793. fi
  19794. rm -f core conftest.err conftest.$ac_objext \
  19795. conftest$ac_exeext conftest.$ac_ext
  19796. fi
  19797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
  19798. $as_echo "$gcc_cv_math_func_ctanh" >&6; }
  19799. if test $gcc_cv_math_func_ctanh = yes; then
  19800. cat >>confdefs.h <<_ACEOF
  19801. #define HAVE_CTANH 1
  19802. _ACEOF
  19803. fi
  19804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
  19805. $as_echo_n "checking for ctanhl... " >&6; }
  19806. if ${gcc_cv_math_func_ctanhl+:} false; then :
  19807. $as_echo_n "(cached) " >&6
  19808. else
  19809. if test x$gcc_no_link = xyes; then
  19810. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19811. fi
  19812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19813. /* end confdefs.h. */
  19814. #ifdef HAVE_COMPLEX_H
  19815. #include <complex.h>
  19816. #endif
  19817. #ifdef HAVE_MATH_H
  19818. #include <math.h>
  19819. #endif
  19820. int (*ptr)() = (int (*)())ctanhl;
  19821. int
  19822. main ()
  19823. {
  19824. return 0;
  19825. }
  19826. _ACEOF
  19827. if ac_fn_c_try_link "$LINENO"; then :
  19828. gcc_cv_math_func_ctanhl=yes
  19829. else
  19830. gcc_cv_math_func_ctanhl=no
  19831. fi
  19832. rm -f core conftest.err conftest.$ac_objext \
  19833. conftest$ac_exeext conftest.$ac_ext
  19834. fi
  19835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
  19836. $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
  19837. if test $gcc_cv_math_func_ctanhl = yes; then
  19838. cat >>confdefs.h <<_ACEOF
  19839. #define HAVE_CTANHL 1
  19840. _ACEOF
  19841. fi
  19842. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
  19843. $as_echo_n "checking for truncf... " >&6; }
  19844. if ${gcc_cv_math_func_truncf+:} false; then :
  19845. $as_echo_n "(cached) " >&6
  19846. else
  19847. if test x$gcc_no_link = xyes; then
  19848. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19849. fi
  19850. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19851. /* end confdefs.h. */
  19852. #ifdef HAVE_COMPLEX_H
  19853. #include <complex.h>
  19854. #endif
  19855. #ifdef HAVE_MATH_H
  19856. #include <math.h>
  19857. #endif
  19858. int (*ptr)() = (int (*)())truncf;
  19859. int
  19860. main ()
  19861. {
  19862. return 0;
  19863. }
  19864. _ACEOF
  19865. if ac_fn_c_try_link "$LINENO"; then :
  19866. gcc_cv_math_func_truncf=yes
  19867. else
  19868. gcc_cv_math_func_truncf=no
  19869. fi
  19870. rm -f core conftest.err conftest.$ac_objext \
  19871. conftest$ac_exeext conftest.$ac_ext
  19872. fi
  19873. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
  19874. $as_echo "$gcc_cv_math_func_truncf" >&6; }
  19875. if test $gcc_cv_math_func_truncf = yes; then
  19876. cat >>confdefs.h <<_ACEOF
  19877. #define HAVE_TRUNCF 1
  19878. _ACEOF
  19879. fi
  19880. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
  19881. $as_echo_n "checking for trunc... " >&6; }
  19882. if ${gcc_cv_math_func_trunc+:} false; then :
  19883. $as_echo_n "(cached) " >&6
  19884. else
  19885. if test x$gcc_no_link = xyes; then
  19886. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19887. fi
  19888. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19889. /* end confdefs.h. */
  19890. #ifdef HAVE_COMPLEX_H
  19891. #include <complex.h>
  19892. #endif
  19893. #ifdef HAVE_MATH_H
  19894. #include <math.h>
  19895. #endif
  19896. int (*ptr)() = (int (*)())trunc;
  19897. int
  19898. main ()
  19899. {
  19900. return 0;
  19901. }
  19902. _ACEOF
  19903. if ac_fn_c_try_link "$LINENO"; then :
  19904. gcc_cv_math_func_trunc=yes
  19905. else
  19906. gcc_cv_math_func_trunc=no
  19907. fi
  19908. rm -f core conftest.err conftest.$ac_objext \
  19909. conftest$ac_exeext conftest.$ac_ext
  19910. fi
  19911. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
  19912. $as_echo "$gcc_cv_math_func_trunc" >&6; }
  19913. if test $gcc_cv_math_func_trunc = yes; then
  19914. cat >>confdefs.h <<_ACEOF
  19915. #define HAVE_TRUNC 1
  19916. _ACEOF
  19917. fi
  19918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
  19919. $as_echo_n "checking for truncl... " >&6; }
  19920. if ${gcc_cv_math_func_truncl+:} false; then :
  19921. $as_echo_n "(cached) " >&6
  19922. else
  19923. if test x$gcc_no_link = xyes; then
  19924. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19925. fi
  19926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19927. /* end confdefs.h. */
  19928. #ifdef HAVE_COMPLEX_H
  19929. #include <complex.h>
  19930. #endif
  19931. #ifdef HAVE_MATH_H
  19932. #include <math.h>
  19933. #endif
  19934. int (*ptr)() = (int (*)())truncl;
  19935. int
  19936. main ()
  19937. {
  19938. return 0;
  19939. }
  19940. _ACEOF
  19941. if ac_fn_c_try_link "$LINENO"; then :
  19942. gcc_cv_math_func_truncl=yes
  19943. else
  19944. gcc_cv_math_func_truncl=no
  19945. fi
  19946. rm -f core conftest.err conftest.$ac_objext \
  19947. conftest$ac_exeext conftest.$ac_ext
  19948. fi
  19949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
  19950. $as_echo "$gcc_cv_math_func_truncl" >&6; }
  19951. if test $gcc_cv_math_func_truncl = yes; then
  19952. cat >>confdefs.h <<_ACEOF
  19953. #define HAVE_TRUNCL 1
  19954. _ACEOF
  19955. fi
  19956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
  19957. $as_echo_n "checking for erff... " >&6; }
  19958. if ${gcc_cv_math_func_erff+:} false; then :
  19959. $as_echo_n "(cached) " >&6
  19960. else
  19961. if test x$gcc_no_link = xyes; then
  19962. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19963. fi
  19964. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19965. /* end confdefs.h. */
  19966. #ifdef HAVE_COMPLEX_H
  19967. #include <complex.h>
  19968. #endif
  19969. #ifdef HAVE_MATH_H
  19970. #include <math.h>
  19971. #endif
  19972. int (*ptr)() = (int (*)())erff;
  19973. int
  19974. main ()
  19975. {
  19976. return 0;
  19977. }
  19978. _ACEOF
  19979. if ac_fn_c_try_link "$LINENO"; then :
  19980. gcc_cv_math_func_erff=yes
  19981. else
  19982. gcc_cv_math_func_erff=no
  19983. fi
  19984. rm -f core conftest.err conftest.$ac_objext \
  19985. conftest$ac_exeext conftest.$ac_ext
  19986. fi
  19987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
  19988. $as_echo "$gcc_cv_math_func_erff" >&6; }
  19989. if test $gcc_cv_math_func_erff = yes; then
  19990. cat >>confdefs.h <<_ACEOF
  19991. #define HAVE_ERFF 1
  19992. _ACEOF
  19993. fi
  19994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
  19995. $as_echo_n "checking for erf... " >&6; }
  19996. if ${gcc_cv_math_func_erf+:} false; then :
  19997. $as_echo_n "(cached) " >&6
  19998. else
  19999. if test x$gcc_no_link = xyes; then
  20000. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20001. fi
  20002. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20003. /* end confdefs.h. */
  20004. #ifdef HAVE_COMPLEX_H
  20005. #include <complex.h>
  20006. #endif
  20007. #ifdef HAVE_MATH_H
  20008. #include <math.h>
  20009. #endif
  20010. int (*ptr)() = (int (*)())erf;
  20011. int
  20012. main ()
  20013. {
  20014. return 0;
  20015. }
  20016. _ACEOF
  20017. if ac_fn_c_try_link "$LINENO"; then :
  20018. gcc_cv_math_func_erf=yes
  20019. else
  20020. gcc_cv_math_func_erf=no
  20021. fi
  20022. rm -f core conftest.err conftest.$ac_objext \
  20023. conftest$ac_exeext conftest.$ac_ext
  20024. fi
  20025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
  20026. $as_echo "$gcc_cv_math_func_erf" >&6; }
  20027. if test $gcc_cv_math_func_erf = yes; then
  20028. cat >>confdefs.h <<_ACEOF
  20029. #define HAVE_ERF 1
  20030. _ACEOF
  20031. fi
  20032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
  20033. $as_echo_n "checking for erfcf... " >&6; }
  20034. if ${gcc_cv_math_func_erfcf+:} false; then :
  20035. $as_echo_n "(cached) " >&6
  20036. else
  20037. if test x$gcc_no_link = xyes; then
  20038. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20039. fi
  20040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20041. /* end confdefs.h. */
  20042. #ifdef HAVE_COMPLEX_H
  20043. #include <complex.h>
  20044. #endif
  20045. #ifdef HAVE_MATH_H
  20046. #include <math.h>
  20047. #endif
  20048. int (*ptr)() = (int (*)())erfcf;
  20049. int
  20050. main ()
  20051. {
  20052. return 0;
  20053. }
  20054. _ACEOF
  20055. if ac_fn_c_try_link "$LINENO"; then :
  20056. gcc_cv_math_func_erfcf=yes
  20057. else
  20058. gcc_cv_math_func_erfcf=no
  20059. fi
  20060. rm -f core conftest.err conftest.$ac_objext \
  20061. conftest$ac_exeext conftest.$ac_ext
  20062. fi
  20063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
  20064. $as_echo "$gcc_cv_math_func_erfcf" >&6; }
  20065. if test $gcc_cv_math_func_erfcf = yes; then
  20066. cat >>confdefs.h <<_ACEOF
  20067. #define HAVE_ERFCF 1
  20068. _ACEOF
  20069. fi
  20070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
  20071. $as_echo_n "checking for erfc... " >&6; }
  20072. if ${gcc_cv_math_func_erfc+:} false; then :
  20073. $as_echo_n "(cached) " >&6
  20074. else
  20075. if test x$gcc_no_link = xyes; then
  20076. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20077. fi
  20078. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20079. /* end confdefs.h. */
  20080. #ifdef HAVE_COMPLEX_H
  20081. #include <complex.h>
  20082. #endif
  20083. #ifdef HAVE_MATH_H
  20084. #include <math.h>
  20085. #endif
  20086. int (*ptr)() = (int (*)())erfc;
  20087. int
  20088. main ()
  20089. {
  20090. return 0;
  20091. }
  20092. _ACEOF
  20093. if ac_fn_c_try_link "$LINENO"; then :
  20094. gcc_cv_math_func_erfc=yes
  20095. else
  20096. gcc_cv_math_func_erfc=no
  20097. fi
  20098. rm -f core conftest.err conftest.$ac_objext \
  20099. conftest$ac_exeext conftest.$ac_ext
  20100. fi
  20101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
  20102. $as_echo "$gcc_cv_math_func_erfc" >&6; }
  20103. if test $gcc_cv_math_func_erfc = yes; then
  20104. cat >>confdefs.h <<_ACEOF
  20105. #define HAVE_ERFC 1
  20106. _ACEOF
  20107. fi
  20108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
  20109. $as_echo_n "checking for erfcl... " >&6; }
  20110. if ${gcc_cv_math_func_erfcl+:} false; then :
  20111. $as_echo_n "(cached) " >&6
  20112. else
  20113. if test x$gcc_no_link = xyes; then
  20114. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20115. fi
  20116. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20117. /* end confdefs.h. */
  20118. #ifdef HAVE_COMPLEX_H
  20119. #include <complex.h>
  20120. #endif
  20121. #ifdef HAVE_MATH_H
  20122. #include <math.h>
  20123. #endif
  20124. int (*ptr)() = (int (*)())erfcl;
  20125. int
  20126. main ()
  20127. {
  20128. return 0;
  20129. }
  20130. _ACEOF
  20131. if ac_fn_c_try_link "$LINENO"; then :
  20132. gcc_cv_math_func_erfcl=yes
  20133. else
  20134. gcc_cv_math_func_erfcl=no
  20135. fi
  20136. rm -f core conftest.err conftest.$ac_objext \
  20137. conftest$ac_exeext conftest.$ac_ext
  20138. fi
  20139. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
  20140. $as_echo "$gcc_cv_math_func_erfcl" >&6; }
  20141. if test $gcc_cv_math_func_erfcl = yes; then
  20142. cat >>confdefs.h <<_ACEOF
  20143. #define HAVE_ERFCL 1
  20144. _ACEOF
  20145. fi
  20146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
  20147. $as_echo_n "checking for j0f... " >&6; }
  20148. if ${gcc_cv_math_func_j0f+:} false; then :
  20149. $as_echo_n "(cached) " >&6
  20150. else
  20151. if test x$gcc_no_link = xyes; then
  20152. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20153. fi
  20154. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20155. /* end confdefs.h. */
  20156. #ifdef HAVE_COMPLEX_H
  20157. #include <complex.h>
  20158. #endif
  20159. #ifdef HAVE_MATH_H
  20160. #include <math.h>
  20161. #endif
  20162. int (*ptr)() = (int (*)())j0f;
  20163. int
  20164. main ()
  20165. {
  20166. return 0;
  20167. }
  20168. _ACEOF
  20169. if ac_fn_c_try_link "$LINENO"; then :
  20170. gcc_cv_math_func_j0f=yes
  20171. else
  20172. gcc_cv_math_func_j0f=no
  20173. fi
  20174. rm -f core conftest.err conftest.$ac_objext \
  20175. conftest$ac_exeext conftest.$ac_ext
  20176. fi
  20177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
  20178. $as_echo "$gcc_cv_math_func_j0f" >&6; }
  20179. if test $gcc_cv_math_func_j0f = yes; then
  20180. cat >>confdefs.h <<_ACEOF
  20181. #define HAVE_J0F 1
  20182. _ACEOF
  20183. fi
  20184. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
  20185. $as_echo_n "checking for j0... " >&6; }
  20186. if ${gcc_cv_math_func_j0+:} false; then :
  20187. $as_echo_n "(cached) " >&6
  20188. else
  20189. if test x$gcc_no_link = xyes; then
  20190. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20191. fi
  20192. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20193. /* end confdefs.h. */
  20194. #ifdef HAVE_COMPLEX_H
  20195. #include <complex.h>
  20196. #endif
  20197. #ifdef HAVE_MATH_H
  20198. #include <math.h>
  20199. #endif
  20200. int (*ptr)() = (int (*)())j0;
  20201. int
  20202. main ()
  20203. {
  20204. return 0;
  20205. }
  20206. _ACEOF
  20207. if ac_fn_c_try_link "$LINENO"; then :
  20208. gcc_cv_math_func_j0=yes
  20209. else
  20210. gcc_cv_math_func_j0=no
  20211. fi
  20212. rm -f core conftest.err conftest.$ac_objext \
  20213. conftest$ac_exeext conftest.$ac_ext
  20214. fi
  20215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
  20216. $as_echo "$gcc_cv_math_func_j0" >&6; }
  20217. if test $gcc_cv_math_func_j0 = yes; then
  20218. cat >>confdefs.h <<_ACEOF
  20219. #define HAVE_J0 1
  20220. _ACEOF
  20221. fi
  20222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
  20223. $as_echo_n "checking for j1f... " >&6; }
  20224. if ${gcc_cv_math_func_j1f+:} false; then :
  20225. $as_echo_n "(cached) " >&6
  20226. else
  20227. if test x$gcc_no_link = xyes; then
  20228. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20229. fi
  20230. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20231. /* end confdefs.h. */
  20232. #ifdef HAVE_COMPLEX_H
  20233. #include <complex.h>
  20234. #endif
  20235. #ifdef HAVE_MATH_H
  20236. #include <math.h>
  20237. #endif
  20238. int (*ptr)() = (int (*)())j1f;
  20239. int
  20240. main ()
  20241. {
  20242. return 0;
  20243. }
  20244. _ACEOF
  20245. if ac_fn_c_try_link "$LINENO"; then :
  20246. gcc_cv_math_func_j1f=yes
  20247. else
  20248. gcc_cv_math_func_j1f=no
  20249. fi
  20250. rm -f core conftest.err conftest.$ac_objext \
  20251. conftest$ac_exeext conftest.$ac_ext
  20252. fi
  20253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
  20254. $as_echo "$gcc_cv_math_func_j1f" >&6; }
  20255. if test $gcc_cv_math_func_j1f = yes; then
  20256. cat >>confdefs.h <<_ACEOF
  20257. #define HAVE_J1F 1
  20258. _ACEOF
  20259. fi
  20260. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
  20261. $as_echo_n "checking for j1... " >&6; }
  20262. if ${gcc_cv_math_func_j1+:} false; then :
  20263. $as_echo_n "(cached) " >&6
  20264. else
  20265. if test x$gcc_no_link = xyes; then
  20266. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20267. fi
  20268. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20269. /* end confdefs.h. */
  20270. #ifdef HAVE_COMPLEX_H
  20271. #include <complex.h>
  20272. #endif
  20273. #ifdef HAVE_MATH_H
  20274. #include <math.h>
  20275. #endif
  20276. int (*ptr)() = (int (*)())j1;
  20277. int
  20278. main ()
  20279. {
  20280. return 0;
  20281. }
  20282. _ACEOF
  20283. if ac_fn_c_try_link "$LINENO"; then :
  20284. gcc_cv_math_func_j1=yes
  20285. else
  20286. gcc_cv_math_func_j1=no
  20287. fi
  20288. rm -f core conftest.err conftest.$ac_objext \
  20289. conftest$ac_exeext conftest.$ac_ext
  20290. fi
  20291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
  20292. $as_echo "$gcc_cv_math_func_j1" >&6; }
  20293. if test $gcc_cv_math_func_j1 = yes; then
  20294. cat >>confdefs.h <<_ACEOF
  20295. #define HAVE_J1 1
  20296. _ACEOF
  20297. fi
  20298. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
  20299. $as_echo_n "checking for jnf... " >&6; }
  20300. if ${gcc_cv_math_func_jnf+:} false; then :
  20301. $as_echo_n "(cached) " >&6
  20302. else
  20303. if test x$gcc_no_link = xyes; then
  20304. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20305. fi
  20306. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20307. /* end confdefs.h. */
  20308. #ifdef HAVE_COMPLEX_H
  20309. #include <complex.h>
  20310. #endif
  20311. #ifdef HAVE_MATH_H
  20312. #include <math.h>
  20313. #endif
  20314. int (*ptr)() = (int (*)())jnf;
  20315. int
  20316. main ()
  20317. {
  20318. return 0;
  20319. }
  20320. _ACEOF
  20321. if ac_fn_c_try_link "$LINENO"; then :
  20322. gcc_cv_math_func_jnf=yes
  20323. else
  20324. gcc_cv_math_func_jnf=no
  20325. fi
  20326. rm -f core conftest.err conftest.$ac_objext \
  20327. conftest$ac_exeext conftest.$ac_ext
  20328. fi
  20329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
  20330. $as_echo "$gcc_cv_math_func_jnf" >&6; }
  20331. if test $gcc_cv_math_func_jnf = yes; then
  20332. cat >>confdefs.h <<_ACEOF
  20333. #define HAVE_JNF 1
  20334. _ACEOF
  20335. fi
  20336. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
  20337. $as_echo_n "checking for jn... " >&6; }
  20338. if ${gcc_cv_math_func_jn+:} false; then :
  20339. $as_echo_n "(cached) " >&6
  20340. else
  20341. if test x$gcc_no_link = xyes; then
  20342. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20343. fi
  20344. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20345. /* end confdefs.h. */
  20346. #ifdef HAVE_COMPLEX_H
  20347. #include <complex.h>
  20348. #endif
  20349. #ifdef HAVE_MATH_H
  20350. #include <math.h>
  20351. #endif
  20352. int (*ptr)() = (int (*)())jn;
  20353. int
  20354. main ()
  20355. {
  20356. return 0;
  20357. }
  20358. _ACEOF
  20359. if ac_fn_c_try_link "$LINENO"; then :
  20360. gcc_cv_math_func_jn=yes
  20361. else
  20362. gcc_cv_math_func_jn=no
  20363. fi
  20364. rm -f core conftest.err conftest.$ac_objext \
  20365. conftest$ac_exeext conftest.$ac_ext
  20366. fi
  20367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
  20368. $as_echo "$gcc_cv_math_func_jn" >&6; }
  20369. if test $gcc_cv_math_func_jn = yes; then
  20370. cat >>confdefs.h <<_ACEOF
  20371. #define HAVE_JN 1
  20372. _ACEOF
  20373. fi
  20374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
  20375. $as_echo_n "checking for jnl... " >&6; }
  20376. if ${gcc_cv_math_func_jnl+:} false; then :
  20377. $as_echo_n "(cached) " >&6
  20378. else
  20379. if test x$gcc_no_link = xyes; then
  20380. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20381. fi
  20382. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20383. /* end confdefs.h. */
  20384. #ifdef HAVE_COMPLEX_H
  20385. #include <complex.h>
  20386. #endif
  20387. #ifdef HAVE_MATH_H
  20388. #include <math.h>
  20389. #endif
  20390. int (*ptr)() = (int (*)())jnl;
  20391. int
  20392. main ()
  20393. {
  20394. return 0;
  20395. }
  20396. _ACEOF
  20397. if ac_fn_c_try_link "$LINENO"; then :
  20398. gcc_cv_math_func_jnl=yes
  20399. else
  20400. gcc_cv_math_func_jnl=no
  20401. fi
  20402. rm -f core conftest.err conftest.$ac_objext \
  20403. conftest$ac_exeext conftest.$ac_ext
  20404. fi
  20405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
  20406. $as_echo "$gcc_cv_math_func_jnl" >&6; }
  20407. if test $gcc_cv_math_func_jnl = yes; then
  20408. cat >>confdefs.h <<_ACEOF
  20409. #define HAVE_JNL 1
  20410. _ACEOF
  20411. fi
  20412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
  20413. $as_echo_n "checking for y0f... " >&6; }
  20414. if ${gcc_cv_math_func_y0f+:} false; then :
  20415. $as_echo_n "(cached) " >&6
  20416. else
  20417. if test x$gcc_no_link = xyes; then
  20418. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20419. fi
  20420. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20421. /* end confdefs.h. */
  20422. #ifdef HAVE_COMPLEX_H
  20423. #include <complex.h>
  20424. #endif
  20425. #ifdef HAVE_MATH_H
  20426. #include <math.h>
  20427. #endif
  20428. int (*ptr)() = (int (*)())y0f;
  20429. int
  20430. main ()
  20431. {
  20432. return 0;
  20433. }
  20434. _ACEOF
  20435. if ac_fn_c_try_link "$LINENO"; then :
  20436. gcc_cv_math_func_y0f=yes
  20437. else
  20438. gcc_cv_math_func_y0f=no
  20439. fi
  20440. rm -f core conftest.err conftest.$ac_objext \
  20441. conftest$ac_exeext conftest.$ac_ext
  20442. fi
  20443. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
  20444. $as_echo "$gcc_cv_math_func_y0f" >&6; }
  20445. if test $gcc_cv_math_func_y0f = yes; then
  20446. cat >>confdefs.h <<_ACEOF
  20447. #define HAVE_Y0F 1
  20448. _ACEOF
  20449. fi
  20450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
  20451. $as_echo_n "checking for y0... " >&6; }
  20452. if ${gcc_cv_math_func_y0+:} false; then :
  20453. $as_echo_n "(cached) " >&6
  20454. else
  20455. if test x$gcc_no_link = xyes; then
  20456. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20457. fi
  20458. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20459. /* end confdefs.h. */
  20460. #ifdef HAVE_COMPLEX_H
  20461. #include <complex.h>
  20462. #endif
  20463. #ifdef HAVE_MATH_H
  20464. #include <math.h>
  20465. #endif
  20466. int (*ptr)() = (int (*)())y0;
  20467. int
  20468. main ()
  20469. {
  20470. return 0;
  20471. }
  20472. _ACEOF
  20473. if ac_fn_c_try_link "$LINENO"; then :
  20474. gcc_cv_math_func_y0=yes
  20475. else
  20476. gcc_cv_math_func_y0=no
  20477. fi
  20478. rm -f core conftest.err conftest.$ac_objext \
  20479. conftest$ac_exeext conftest.$ac_ext
  20480. fi
  20481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
  20482. $as_echo "$gcc_cv_math_func_y0" >&6; }
  20483. if test $gcc_cv_math_func_y0 = yes; then
  20484. cat >>confdefs.h <<_ACEOF
  20485. #define HAVE_Y0 1
  20486. _ACEOF
  20487. fi
  20488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
  20489. $as_echo_n "checking for y1f... " >&6; }
  20490. if ${gcc_cv_math_func_y1f+:} false; then :
  20491. $as_echo_n "(cached) " >&6
  20492. else
  20493. if test x$gcc_no_link = xyes; then
  20494. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20495. fi
  20496. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20497. /* end confdefs.h. */
  20498. #ifdef HAVE_COMPLEX_H
  20499. #include <complex.h>
  20500. #endif
  20501. #ifdef HAVE_MATH_H
  20502. #include <math.h>
  20503. #endif
  20504. int (*ptr)() = (int (*)())y1f;
  20505. int
  20506. main ()
  20507. {
  20508. return 0;
  20509. }
  20510. _ACEOF
  20511. if ac_fn_c_try_link "$LINENO"; then :
  20512. gcc_cv_math_func_y1f=yes
  20513. else
  20514. gcc_cv_math_func_y1f=no
  20515. fi
  20516. rm -f core conftest.err conftest.$ac_objext \
  20517. conftest$ac_exeext conftest.$ac_ext
  20518. fi
  20519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
  20520. $as_echo "$gcc_cv_math_func_y1f" >&6; }
  20521. if test $gcc_cv_math_func_y1f = yes; then
  20522. cat >>confdefs.h <<_ACEOF
  20523. #define HAVE_Y1F 1
  20524. _ACEOF
  20525. fi
  20526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
  20527. $as_echo_n "checking for y1... " >&6; }
  20528. if ${gcc_cv_math_func_y1+:} false; then :
  20529. $as_echo_n "(cached) " >&6
  20530. else
  20531. if test x$gcc_no_link = xyes; then
  20532. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20533. fi
  20534. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20535. /* end confdefs.h. */
  20536. #ifdef HAVE_COMPLEX_H
  20537. #include <complex.h>
  20538. #endif
  20539. #ifdef HAVE_MATH_H
  20540. #include <math.h>
  20541. #endif
  20542. int (*ptr)() = (int (*)())y1;
  20543. int
  20544. main ()
  20545. {
  20546. return 0;
  20547. }
  20548. _ACEOF
  20549. if ac_fn_c_try_link "$LINENO"; then :
  20550. gcc_cv_math_func_y1=yes
  20551. else
  20552. gcc_cv_math_func_y1=no
  20553. fi
  20554. rm -f core conftest.err conftest.$ac_objext \
  20555. conftest$ac_exeext conftest.$ac_ext
  20556. fi
  20557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
  20558. $as_echo "$gcc_cv_math_func_y1" >&6; }
  20559. if test $gcc_cv_math_func_y1 = yes; then
  20560. cat >>confdefs.h <<_ACEOF
  20561. #define HAVE_Y1 1
  20562. _ACEOF
  20563. fi
  20564. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
  20565. $as_echo_n "checking for ynf... " >&6; }
  20566. if ${gcc_cv_math_func_ynf+:} false; then :
  20567. $as_echo_n "(cached) " >&6
  20568. else
  20569. if test x$gcc_no_link = xyes; then
  20570. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20571. fi
  20572. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20573. /* end confdefs.h. */
  20574. #ifdef HAVE_COMPLEX_H
  20575. #include <complex.h>
  20576. #endif
  20577. #ifdef HAVE_MATH_H
  20578. #include <math.h>
  20579. #endif
  20580. int (*ptr)() = (int (*)())ynf;
  20581. int
  20582. main ()
  20583. {
  20584. return 0;
  20585. }
  20586. _ACEOF
  20587. if ac_fn_c_try_link "$LINENO"; then :
  20588. gcc_cv_math_func_ynf=yes
  20589. else
  20590. gcc_cv_math_func_ynf=no
  20591. fi
  20592. rm -f core conftest.err conftest.$ac_objext \
  20593. conftest$ac_exeext conftest.$ac_ext
  20594. fi
  20595. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
  20596. $as_echo "$gcc_cv_math_func_ynf" >&6; }
  20597. if test $gcc_cv_math_func_ynf = yes; then
  20598. cat >>confdefs.h <<_ACEOF
  20599. #define HAVE_YNF 1
  20600. _ACEOF
  20601. fi
  20602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
  20603. $as_echo_n "checking for yn... " >&6; }
  20604. if ${gcc_cv_math_func_yn+:} false; then :
  20605. $as_echo_n "(cached) " >&6
  20606. else
  20607. if test x$gcc_no_link = xyes; then
  20608. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20609. fi
  20610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20611. /* end confdefs.h. */
  20612. #ifdef HAVE_COMPLEX_H
  20613. #include <complex.h>
  20614. #endif
  20615. #ifdef HAVE_MATH_H
  20616. #include <math.h>
  20617. #endif
  20618. int (*ptr)() = (int (*)())yn;
  20619. int
  20620. main ()
  20621. {
  20622. return 0;
  20623. }
  20624. _ACEOF
  20625. if ac_fn_c_try_link "$LINENO"; then :
  20626. gcc_cv_math_func_yn=yes
  20627. else
  20628. gcc_cv_math_func_yn=no
  20629. fi
  20630. rm -f core conftest.err conftest.$ac_objext \
  20631. conftest$ac_exeext conftest.$ac_ext
  20632. fi
  20633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
  20634. $as_echo "$gcc_cv_math_func_yn" >&6; }
  20635. if test $gcc_cv_math_func_yn = yes; then
  20636. cat >>confdefs.h <<_ACEOF
  20637. #define HAVE_YN 1
  20638. _ACEOF
  20639. fi
  20640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
  20641. $as_echo_n "checking for ynl... " >&6; }
  20642. if ${gcc_cv_math_func_ynl+:} false; then :
  20643. $as_echo_n "(cached) " >&6
  20644. else
  20645. if test x$gcc_no_link = xyes; then
  20646. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20647. fi
  20648. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20649. /* end confdefs.h. */
  20650. #ifdef HAVE_COMPLEX_H
  20651. #include <complex.h>
  20652. #endif
  20653. #ifdef HAVE_MATH_H
  20654. #include <math.h>
  20655. #endif
  20656. int (*ptr)() = (int (*)())ynl;
  20657. int
  20658. main ()
  20659. {
  20660. return 0;
  20661. }
  20662. _ACEOF
  20663. if ac_fn_c_try_link "$LINENO"; then :
  20664. gcc_cv_math_func_ynl=yes
  20665. else
  20666. gcc_cv_math_func_ynl=no
  20667. fi
  20668. rm -f core conftest.err conftest.$ac_objext \
  20669. conftest$ac_exeext conftest.$ac_ext
  20670. fi
  20671. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
  20672. $as_echo "$gcc_cv_math_func_ynl" >&6; }
  20673. if test $gcc_cv_math_func_ynl = yes; then
  20674. cat >>confdefs.h <<_ACEOF
  20675. #define HAVE_YNL 1
  20676. _ACEOF
  20677. fi
  20678. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
  20679. $as_echo_n "checking for tgamma... " >&6; }
  20680. if ${gcc_cv_math_func_tgamma+:} false; then :
  20681. $as_echo_n "(cached) " >&6
  20682. else
  20683. if test x$gcc_no_link = xyes; then
  20684. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20685. fi
  20686. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20687. /* end confdefs.h. */
  20688. #ifdef HAVE_COMPLEX_H
  20689. #include <complex.h>
  20690. #endif
  20691. #ifdef HAVE_MATH_H
  20692. #include <math.h>
  20693. #endif
  20694. int (*ptr)() = (int (*)())tgamma;
  20695. int
  20696. main ()
  20697. {
  20698. return 0;
  20699. }
  20700. _ACEOF
  20701. if ac_fn_c_try_link "$LINENO"; then :
  20702. gcc_cv_math_func_tgamma=yes
  20703. else
  20704. gcc_cv_math_func_tgamma=no
  20705. fi
  20706. rm -f core conftest.err conftest.$ac_objext \
  20707. conftest$ac_exeext conftest.$ac_ext
  20708. fi
  20709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
  20710. $as_echo "$gcc_cv_math_func_tgamma" >&6; }
  20711. if test $gcc_cv_math_func_tgamma = yes; then
  20712. cat >>confdefs.h <<_ACEOF
  20713. #define HAVE_TGAMMA 1
  20714. _ACEOF
  20715. fi
  20716. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
  20717. $as_echo_n "checking for tgammaf... " >&6; }
  20718. if ${gcc_cv_math_func_tgammaf+:} false; then :
  20719. $as_echo_n "(cached) " >&6
  20720. else
  20721. if test x$gcc_no_link = xyes; then
  20722. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20723. fi
  20724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20725. /* end confdefs.h. */
  20726. #ifdef HAVE_COMPLEX_H
  20727. #include <complex.h>
  20728. #endif
  20729. #ifdef HAVE_MATH_H
  20730. #include <math.h>
  20731. #endif
  20732. int (*ptr)() = (int (*)())tgammaf;
  20733. int
  20734. main ()
  20735. {
  20736. return 0;
  20737. }
  20738. _ACEOF
  20739. if ac_fn_c_try_link "$LINENO"; then :
  20740. gcc_cv_math_func_tgammaf=yes
  20741. else
  20742. gcc_cv_math_func_tgammaf=no
  20743. fi
  20744. rm -f core conftest.err conftest.$ac_objext \
  20745. conftest$ac_exeext conftest.$ac_ext
  20746. fi
  20747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
  20748. $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
  20749. if test $gcc_cv_math_func_tgammaf = yes; then
  20750. cat >>confdefs.h <<_ACEOF
  20751. #define HAVE_TGAMMAF 1
  20752. _ACEOF
  20753. fi
  20754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
  20755. $as_echo_n "checking for lgamma... " >&6; }
  20756. if ${gcc_cv_math_func_lgamma+:} false; then :
  20757. $as_echo_n "(cached) " >&6
  20758. else
  20759. if test x$gcc_no_link = xyes; then
  20760. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20761. fi
  20762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20763. /* end confdefs.h. */
  20764. #ifdef HAVE_COMPLEX_H
  20765. #include <complex.h>
  20766. #endif
  20767. #ifdef HAVE_MATH_H
  20768. #include <math.h>
  20769. #endif
  20770. int (*ptr)() = (int (*)())lgamma;
  20771. int
  20772. main ()
  20773. {
  20774. return 0;
  20775. }
  20776. _ACEOF
  20777. if ac_fn_c_try_link "$LINENO"; then :
  20778. gcc_cv_math_func_lgamma=yes
  20779. else
  20780. gcc_cv_math_func_lgamma=no
  20781. fi
  20782. rm -f core conftest.err conftest.$ac_objext \
  20783. conftest$ac_exeext conftest.$ac_ext
  20784. fi
  20785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
  20786. $as_echo "$gcc_cv_math_func_lgamma" >&6; }
  20787. if test $gcc_cv_math_func_lgamma = yes; then
  20788. cat >>confdefs.h <<_ACEOF
  20789. #define HAVE_LGAMMA 1
  20790. _ACEOF
  20791. fi
  20792. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
  20793. $as_echo_n "checking for lgammaf... " >&6; }
  20794. if ${gcc_cv_math_func_lgammaf+:} false; then :
  20795. $as_echo_n "(cached) " >&6
  20796. else
  20797. if test x$gcc_no_link = xyes; then
  20798. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20799. fi
  20800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20801. /* end confdefs.h. */
  20802. #ifdef HAVE_COMPLEX_H
  20803. #include <complex.h>
  20804. #endif
  20805. #ifdef HAVE_MATH_H
  20806. #include <math.h>
  20807. #endif
  20808. int (*ptr)() = (int (*)())lgammaf;
  20809. int
  20810. main ()
  20811. {
  20812. return 0;
  20813. }
  20814. _ACEOF
  20815. if ac_fn_c_try_link "$LINENO"; then :
  20816. gcc_cv_math_func_lgammaf=yes
  20817. else
  20818. gcc_cv_math_func_lgammaf=no
  20819. fi
  20820. rm -f core conftest.err conftest.$ac_objext \
  20821. conftest$ac_exeext conftest.$ac_ext
  20822. fi
  20823. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
  20824. $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
  20825. if test $gcc_cv_math_func_lgammaf = yes; then
  20826. cat >>confdefs.h <<_ACEOF
  20827. #define HAVE_LGAMMAF 1
  20828. _ACEOF
  20829. fi
  20830. # Check for GFORTRAN_C99_1.1 funcs
  20831. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
  20832. $as_echo_n "checking for cacos... " >&6; }
  20833. if ${gcc_cv_math_func_cacos+:} false; then :
  20834. $as_echo_n "(cached) " >&6
  20835. else
  20836. if test x$gcc_no_link = xyes; then
  20837. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20838. fi
  20839. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20840. /* end confdefs.h. */
  20841. #ifdef HAVE_COMPLEX_H
  20842. #include <complex.h>
  20843. #endif
  20844. #ifdef HAVE_MATH_H
  20845. #include <math.h>
  20846. #endif
  20847. int (*ptr)() = (int (*)())cacos;
  20848. int
  20849. main ()
  20850. {
  20851. return 0;
  20852. }
  20853. _ACEOF
  20854. if ac_fn_c_try_link "$LINENO"; then :
  20855. gcc_cv_math_func_cacos=yes
  20856. else
  20857. gcc_cv_math_func_cacos=no
  20858. fi
  20859. rm -f core conftest.err conftest.$ac_objext \
  20860. conftest$ac_exeext conftest.$ac_ext
  20861. fi
  20862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
  20863. $as_echo "$gcc_cv_math_func_cacos" >&6; }
  20864. if test $gcc_cv_math_func_cacos = yes; then
  20865. cat >>confdefs.h <<_ACEOF
  20866. #define HAVE_CACOS 1
  20867. _ACEOF
  20868. fi
  20869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
  20870. $as_echo_n "checking for cacosf... " >&6; }
  20871. if ${gcc_cv_math_func_cacosf+:} false; then :
  20872. $as_echo_n "(cached) " >&6
  20873. else
  20874. if test x$gcc_no_link = xyes; then
  20875. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20876. fi
  20877. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20878. /* end confdefs.h. */
  20879. #ifdef HAVE_COMPLEX_H
  20880. #include <complex.h>
  20881. #endif
  20882. #ifdef HAVE_MATH_H
  20883. #include <math.h>
  20884. #endif
  20885. int (*ptr)() = (int (*)())cacosf;
  20886. int
  20887. main ()
  20888. {
  20889. return 0;
  20890. }
  20891. _ACEOF
  20892. if ac_fn_c_try_link "$LINENO"; then :
  20893. gcc_cv_math_func_cacosf=yes
  20894. else
  20895. gcc_cv_math_func_cacosf=no
  20896. fi
  20897. rm -f core conftest.err conftest.$ac_objext \
  20898. conftest$ac_exeext conftest.$ac_ext
  20899. fi
  20900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
  20901. $as_echo "$gcc_cv_math_func_cacosf" >&6; }
  20902. if test $gcc_cv_math_func_cacosf = yes; then
  20903. cat >>confdefs.h <<_ACEOF
  20904. #define HAVE_CACOSF 1
  20905. _ACEOF
  20906. fi
  20907. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
  20908. $as_echo_n "checking for cacosh... " >&6; }
  20909. if ${gcc_cv_math_func_cacosh+:} false; then :
  20910. $as_echo_n "(cached) " >&6
  20911. else
  20912. if test x$gcc_no_link = xyes; then
  20913. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20914. fi
  20915. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20916. /* end confdefs.h. */
  20917. #ifdef HAVE_COMPLEX_H
  20918. #include <complex.h>
  20919. #endif
  20920. #ifdef HAVE_MATH_H
  20921. #include <math.h>
  20922. #endif
  20923. int (*ptr)() = (int (*)())cacosh;
  20924. int
  20925. main ()
  20926. {
  20927. return 0;
  20928. }
  20929. _ACEOF
  20930. if ac_fn_c_try_link "$LINENO"; then :
  20931. gcc_cv_math_func_cacosh=yes
  20932. else
  20933. gcc_cv_math_func_cacosh=no
  20934. fi
  20935. rm -f core conftest.err conftest.$ac_objext \
  20936. conftest$ac_exeext conftest.$ac_ext
  20937. fi
  20938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
  20939. $as_echo "$gcc_cv_math_func_cacosh" >&6; }
  20940. if test $gcc_cv_math_func_cacosh = yes; then
  20941. cat >>confdefs.h <<_ACEOF
  20942. #define HAVE_CACOSH 1
  20943. _ACEOF
  20944. fi
  20945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
  20946. $as_echo_n "checking for cacoshf... " >&6; }
  20947. if ${gcc_cv_math_func_cacoshf+:} false; then :
  20948. $as_echo_n "(cached) " >&6
  20949. else
  20950. if test x$gcc_no_link = xyes; then
  20951. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20952. fi
  20953. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20954. /* end confdefs.h. */
  20955. #ifdef HAVE_COMPLEX_H
  20956. #include <complex.h>
  20957. #endif
  20958. #ifdef HAVE_MATH_H
  20959. #include <math.h>
  20960. #endif
  20961. int (*ptr)() = (int (*)())cacoshf;
  20962. int
  20963. main ()
  20964. {
  20965. return 0;
  20966. }
  20967. _ACEOF
  20968. if ac_fn_c_try_link "$LINENO"; then :
  20969. gcc_cv_math_func_cacoshf=yes
  20970. else
  20971. gcc_cv_math_func_cacoshf=no
  20972. fi
  20973. rm -f core conftest.err conftest.$ac_objext \
  20974. conftest$ac_exeext conftest.$ac_ext
  20975. fi
  20976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
  20977. $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
  20978. if test $gcc_cv_math_func_cacoshf = yes; then
  20979. cat >>confdefs.h <<_ACEOF
  20980. #define HAVE_CACOSHF 1
  20981. _ACEOF
  20982. fi
  20983. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
  20984. $as_echo_n "checking for cacoshl... " >&6; }
  20985. if ${gcc_cv_math_func_cacoshl+:} false; then :
  20986. $as_echo_n "(cached) " >&6
  20987. else
  20988. if test x$gcc_no_link = xyes; then
  20989. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20990. fi
  20991. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20992. /* end confdefs.h. */
  20993. #ifdef HAVE_COMPLEX_H
  20994. #include <complex.h>
  20995. #endif
  20996. #ifdef HAVE_MATH_H
  20997. #include <math.h>
  20998. #endif
  20999. int (*ptr)() = (int (*)())cacoshl;
  21000. int
  21001. main ()
  21002. {
  21003. return 0;
  21004. }
  21005. _ACEOF
  21006. if ac_fn_c_try_link "$LINENO"; then :
  21007. gcc_cv_math_func_cacoshl=yes
  21008. else
  21009. gcc_cv_math_func_cacoshl=no
  21010. fi
  21011. rm -f core conftest.err conftest.$ac_objext \
  21012. conftest$ac_exeext conftest.$ac_ext
  21013. fi
  21014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
  21015. $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
  21016. if test $gcc_cv_math_func_cacoshl = yes; then
  21017. cat >>confdefs.h <<_ACEOF
  21018. #define HAVE_CACOSHL 1
  21019. _ACEOF
  21020. fi
  21021. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
  21022. $as_echo_n "checking for cacosl... " >&6; }
  21023. if ${gcc_cv_math_func_cacosl+:} false; then :
  21024. $as_echo_n "(cached) " >&6
  21025. else
  21026. if test x$gcc_no_link = xyes; then
  21027. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21028. fi
  21029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21030. /* end confdefs.h. */
  21031. #ifdef HAVE_COMPLEX_H
  21032. #include <complex.h>
  21033. #endif
  21034. #ifdef HAVE_MATH_H
  21035. #include <math.h>
  21036. #endif
  21037. int (*ptr)() = (int (*)())cacosl;
  21038. int
  21039. main ()
  21040. {
  21041. return 0;
  21042. }
  21043. _ACEOF
  21044. if ac_fn_c_try_link "$LINENO"; then :
  21045. gcc_cv_math_func_cacosl=yes
  21046. else
  21047. gcc_cv_math_func_cacosl=no
  21048. fi
  21049. rm -f core conftest.err conftest.$ac_objext \
  21050. conftest$ac_exeext conftest.$ac_ext
  21051. fi
  21052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
  21053. $as_echo "$gcc_cv_math_func_cacosl" >&6; }
  21054. if test $gcc_cv_math_func_cacosl = yes; then
  21055. cat >>confdefs.h <<_ACEOF
  21056. #define HAVE_CACOSL 1
  21057. _ACEOF
  21058. fi
  21059. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
  21060. $as_echo_n "checking for casin... " >&6; }
  21061. if ${gcc_cv_math_func_casin+:} false; then :
  21062. $as_echo_n "(cached) " >&6
  21063. else
  21064. if test x$gcc_no_link = xyes; then
  21065. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21066. fi
  21067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21068. /* end confdefs.h. */
  21069. #ifdef HAVE_COMPLEX_H
  21070. #include <complex.h>
  21071. #endif
  21072. #ifdef HAVE_MATH_H
  21073. #include <math.h>
  21074. #endif
  21075. int (*ptr)() = (int (*)())casin;
  21076. int
  21077. main ()
  21078. {
  21079. return 0;
  21080. }
  21081. _ACEOF
  21082. if ac_fn_c_try_link "$LINENO"; then :
  21083. gcc_cv_math_func_casin=yes
  21084. else
  21085. gcc_cv_math_func_casin=no
  21086. fi
  21087. rm -f core conftest.err conftest.$ac_objext \
  21088. conftest$ac_exeext conftest.$ac_ext
  21089. fi
  21090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
  21091. $as_echo "$gcc_cv_math_func_casin" >&6; }
  21092. if test $gcc_cv_math_func_casin = yes; then
  21093. cat >>confdefs.h <<_ACEOF
  21094. #define HAVE_CASIN 1
  21095. _ACEOF
  21096. fi
  21097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
  21098. $as_echo_n "checking for casinf... " >&6; }
  21099. if ${gcc_cv_math_func_casinf+:} false; then :
  21100. $as_echo_n "(cached) " >&6
  21101. else
  21102. if test x$gcc_no_link = xyes; then
  21103. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21104. fi
  21105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21106. /* end confdefs.h. */
  21107. #ifdef HAVE_COMPLEX_H
  21108. #include <complex.h>
  21109. #endif
  21110. #ifdef HAVE_MATH_H
  21111. #include <math.h>
  21112. #endif
  21113. int (*ptr)() = (int (*)())casinf;
  21114. int
  21115. main ()
  21116. {
  21117. return 0;
  21118. }
  21119. _ACEOF
  21120. if ac_fn_c_try_link "$LINENO"; then :
  21121. gcc_cv_math_func_casinf=yes
  21122. else
  21123. gcc_cv_math_func_casinf=no
  21124. fi
  21125. rm -f core conftest.err conftest.$ac_objext \
  21126. conftest$ac_exeext conftest.$ac_ext
  21127. fi
  21128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
  21129. $as_echo "$gcc_cv_math_func_casinf" >&6; }
  21130. if test $gcc_cv_math_func_casinf = yes; then
  21131. cat >>confdefs.h <<_ACEOF
  21132. #define HAVE_CASINF 1
  21133. _ACEOF
  21134. fi
  21135. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
  21136. $as_echo_n "checking for casinh... " >&6; }
  21137. if ${gcc_cv_math_func_casinh+:} false; then :
  21138. $as_echo_n "(cached) " >&6
  21139. else
  21140. if test x$gcc_no_link = xyes; then
  21141. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21142. fi
  21143. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21144. /* end confdefs.h. */
  21145. #ifdef HAVE_COMPLEX_H
  21146. #include <complex.h>
  21147. #endif
  21148. #ifdef HAVE_MATH_H
  21149. #include <math.h>
  21150. #endif
  21151. int (*ptr)() = (int (*)())casinh;
  21152. int
  21153. main ()
  21154. {
  21155. return 0;
  21156. }
  21157. _ACEOF
  21158. if ac_fn_c_try_link "$LINENO"; then :
  21159. gcc_cv_math_func_casinh=yes
  21160. else
  21161. gcc_cv_math_func_casinh=no
  21162. fi
  21163. rm -f core conftest.err conftest.$ac_objext \
  21164. conftest$ac_exeext conftest.$ac_ext
  21165. fi
  21166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
  21167. $as_echo "$gcc_cv_math_func_casinh" >&6; }
  21168. if test $gcc_cv_math_func_casinh = yes; then
  21169. cat >>confdefs.h <<_ACEOF
  21170. #define HAVE_CASINH 1
  21171. _ACEOF
  21172. fi
  21173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
  21174. $as_echo_n "checking for casinhf... " >&6; }
  21175. if ${gcc_cv_math_func_casinhf+:} false; then :
  21176. $as_echo_n "(cached) " >&6
  21177. else
  21178. if test x$gcc_no_link = xyes; then
  21179. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21180. fi
  21181. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21182. /* end confdefs.h. */
  21183. #ifdef HAVE_COMPLEX_H
  21184. #include <complex.h>
  21185. #endif
  21186. #ifdef HAVE_MATH_H
  21187. #include <math.h>
  21188. #endif
  21189. int (*ptr)() = (int (*)())casinhf;
  21190. int
  21191. main ()
  21192. {
  21193. return 0;
  21194. }
  21195. _ACEOF
  21196. if ac_fn_c_try_link "$LINENO"; then :
  21197. gcc_cv_math_func_casinhf=yes
  21198. else
  21199. gcc_cv_math_func_casinhf=no
  21200. fi
  21201. rm -f core conftest.err conftest.$ac_objext \
  21202. conftest$ac_exeext conftest.$ac_ext
  21203. fi
  21204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
  21205. $as_echo "$gcc_cv_math_func_casinhf" >&6; }
  21206. if test $gcc_cv_math_func_casinhf = yes; then
  21207. cat >>confdefs.h <<_ACEOF
  21208. #define HAVE_CASINHF 1
  21209. _ACEOF
  21210. fi
  21211. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
  21212. $as_echo_n "checking for casinhl... " >&6; }
  21213. if ${gcc_cv_math_func_casinhl+:} false; then :
  21214. $as_echo_n "(cached) " >&6
  21215. else
  21216. if test x$gcc_no_link = xyes; then
  21217. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21218. fi
  21219. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21220. /* end confdefs.h. */
  21221. #ifdef HAVE_COMPLEX_H
  21222. #include <complex.h>
  21223. #endif
  21224. #ifdef HAVE_MATH_H
  21225. #include <math.h>
  21226. #endif
  21227. int (*ptr)() = (int (*)())casinhl;
  21228. int
  21229. main ()
  21230. {
  21231. return 0;
  21232. }
  21233. _ACEOF
  21234. if ac_fn_c_try_link "$LINENO"; then :
  21235. gcc_cv_math_func_casinhl=yes
  21236. else
  21237. gcc_cv_math_func_casinhl=no
  21238. fi
  21239. rm -f core conftest.err conftest.$ac_objext \
  21240. conftest$ac_exeext conftest.$ac_ext
  21241. fi
  21242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
  21243. $as_echo "$gcc_cv_math_func_casinhl" >&6; }
  21244. if test $gcc_cv_math_func_casinhl = yes; then
  21245. cat >>confdefs.h <<_ACEOF
  21246. #define HAVE_CASINHL 1
  21247. _ACEOF
  21248. fi
  21249. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
  21250. $as_echo_n "checking for casinl... " >&6; }
  21251. if ${gcc_cv_math_func_casinl+:} false; then :
  21252. $as_echo_n "(cached) " >&6
  21253. else
  21254. if test x$gcc_no_link = xyes; then
  21255. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21256. fi
  21257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21258. /* end confdefs.h. */
  21259. #ifdef HAVE_COMPLEX_H
  21260. #include <complex.h>
  21261. #endif
  21262. #ifdef HAVE_MATH_H
  21263. #include <math.h>
  21264. #endif
  21265. int (*ptr)() = (int (*)())casinl;
  21266. int
  21267. main ()
  21268. {
  21269. return 0;
  21270. }
  21271. _ACEOF
  21272. if ac_fn_c_try_link "$LINENO"; then :
  21273. gcc_cv_math_func_casinl=yes
  21274. else
  21275. gcc_cv_math_func_casinl=no
  21276. fi
  21277. rm -f core conftest.err conftest.$ac_objext \
  21278. conftest$ac_exeext conftest.$ac_ext
  21279. fi
  21280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
  21281. $as_echo "$gcc_cv_math_func_casinl" >&6; }
  21282. if test $gcc_cv_math_func_casinl = yes; then
  21283. cat >>confdefs.h <<_ACEOF
  21284. #define HAVE_CASINL 1
  21285. _ACEOF
  21286. fi
  21287. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
  21288. $as_echo_n "checking for catan... " >&6; }
  21289. if ${gcc_cv_math_func_catan+:} false; then :
  21290. $as_echo_n "(cached) " >&6
  21291. else
  21292. if test x$gcc_no_link = xyes; then
  21293. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21294. fi
  21295. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21296. /* end confdefs.h. */
  21297. #ifdef HAVE_COMPLEX_H
  21298. #include <complex.h>
  21299. #endif
  21300. #ifdef HAVE_MATH_H
  21301. #include <math.h>
  21302. #endif
  21303. int (*ptr)() = (int (*)())catan;
  21304. int
  21305. main ()
  21306. {
  21307. return 0;
  21308. }
  21309. _ACEOF
  21310. if ac_fn_c_try_link "$LINENO"; then :
  21311. gcc_cv_math_func_catan=yes
  21312. else
  21313. gcc_cv_math_func_catan=no
  21314. fi
  21315. rm -f core conftest.err conftest.$ac_objext \
  21316. conftest$ac_exeext conftest.$ac_ext
  21317. fi
  21318. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
  21319. $as_echo "$gcc_cv_math_func_catan" >&6; }
  21320. if test $gcc_cv_math_func_catan = yes; then
  21321. cat >>confdefs.h <<_ACEOF
  21322. #define HAVE_CATAN 1
  21323. _ACEOF
  21324. fi
  21325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
  21326. $as_echo_n "checking for catanf... " >&6; }
  21327. if ${gcc_cv_math_func_catanf+:} false; then :
  21328. $as_echo_n "(cached) " >&6
  21329. else
  21330. if test x$gcc_no_link = xyes; then
  21331. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21332. fi
  21333. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21334. /* end confdefs.h. */
  21335. #ifdef HAVE_COMPLEX_H
  21336. #include <complex.h>
  21337. #endif
  21338. #ifdef HAVE_MATH_H
  21339. #include <math.h>
  21340. #endif
  21341. int (*ptr)() = (int (*)())catanf;
  21342. int
  21343. main ()
  21344. {
  21345. return 0;
  21346. }
  21347. _ACEOF
  21348. if ac_fn_c_try_link "$LINENO"; then :
  21349. gcc_cv_math_func_catanf=yes
  21350. else
  21351. gcc_cv_math_func_catanf=no
  21352. fi
  21353. rm -f core conftest.err conftest.$ac_objext \
  21354. conftest$ac_exeext conftest.$ac_ext
  21355. fi
  21356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
  21357. $as_echo "$gcc_cv_math_func_catanf" >&6; }
  21358. if test $gcc_cv_math_func_catanf = yes; then
  21359. cat >>confdefs.h <<_ACEOF
  21360. #define HAVE_CATANF 1
  21361. _ACEOF
  21362. fi
  21363. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
  21364. $as_echo_n "checking for catanh... " >&6; }
  21365. if ${gcc_cv_math_func_catanh+:} false; then :
  21366. $as_echo_n "(cached) " >&6
  21367. else
  21368. if test x$gcc_no_link = xyes; then
  21369. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21370. fi
  21371. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21372. /* end confdefs.h. */
  21373. #ifdef HAVE_COMPLEX_H
  21374. #include <complex.h>
  21375. #endif
  21376. #ifdef HAVE_MATH_H
  21377. #include <math.h>
  21378. #endif
  21379. int (*ptr)() = (int (*)())catanh;
  21380. int
  21381. main ()
  21382. {
  21383. return 0;
  21384. }
  21385. _ACEOF
  21386. if ac_fn_c_try_link "$LINENO"; then :
  21387. gcc_cv_math_func_catanh=yes
  21388. else
  21389. gcc_cv_math_func_catanh=no
  21390. fi
  21391. rm -f core conftest.err conftest.$ac_objext \
  21392. conftest$ac_exeext conftest.$ac_ext
  21393. fi
  21394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
  21395. $as_echo "$gcc_cv_math_func_catanh" >&6; }
  21396. if test $gcc_cv_math_func_catanh = yes; then
  21397. cat >>confdefs.h <<_ACEOF
  21398. #define HAVE_CATANH 1
  21399. _ACEOF
  21400. fi
  21401. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
  21402. $as_echo_n "checking for catanhf... " >&6; }
  21403. if ${gcc_cv_math_func_catanhf+:} false; then :
  21404. $as_echo_n "(cached) " >&6
  21405. else
  21406. if test x$gcc_no_link = xyes; then
  21407. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21408. fi
  21409. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21410. /* end confdefs.h. */
  21411. #ifdef HAVE_COMPLEX_H
  21412. #include <complex.h>
  21413. #endif
  21414. #ifdef HAVE_MATH_H
  21415. #include <math.h>
  21416. #endif
  21417. int (*ptr)() = (int (*)())catanhf;
  21418. int
  21419. main ()
  21420. {
  21421. return 0;
  21422. }
  21423. _ACEOF
  21424. if ac_fn_c_try_link "$LINENO"; then :
  21425. gcc_cv_math_func_catanhf=yes
  21426. else
  21427. gcc_cv_math_func_catanhf=no
  21428. fi
  21429. rm -f core conftest.err conftest.$ac_objext \
  21430. conftest$ac_exeext conftest.$ac_ext
  21431. fi
  21432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
  21433. $as_echo "$gcc_cv_math_func_catanhf" >&6; }
  21434. if test $gcc_cv_math_func_catanhf = yes; then
  21435. cat >>confdefs.h <<_ACEOF
  21436. #define HAVE_CATANHF 1
  21437. _ACEOF
  21438. fi
  21439. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
  21440. $as_echo_n "checking for catanhl... " >&6; }
  21441. if ${gcc_cv_math_func_catanhl+:} false; then :
  21442. $as_echo_n "(cached) " >&6
  21443. else
  21444. if test x$gcc_no_link = xyes; then
  21445. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21446. fi
  21447. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21448. /* end confdefs.h. */
  21449. #ifdef HAVE_COMPLEX_H
  21450. #include <complex.h>
  21451. #endif
  21452. #ifdef HAVE_MATH_H
  21453. #include <math.h>
  21454. #endif
  21455. int (*ptr)() = (int (*)())catanhl;
  21456. int
  21457. main ()
  21458. {
  21459. return 0;
  21460. }
  21461. _ACEOF
  21462. if ac_fn_c_try_link "$LINENO"; then :
  21463. gcc_cv_math_func_catanhl=yes
  21464. else
  21465. gcc_cv_math_func_catanhl=no
  21466. fi
  21467. rm -f core conftest.err conftest.$ac_objext \
  21468. conftest$ac_exeext conftest.$ac_ext
  21469. fi
  21470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
  21471. $as_echo "$gcc_cv_math_func_catanhl" >&6; }
  21472. if test $gcc_cv_math_func_catanhl = yes; then
  21473. cat >>confdefs.h <<_ACEOF
  21474. #define HAVE_CATANHL 1
  21475. _ACEOF
  21476. fi
  21477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
  21478. $as_echo_n "checking for catanl... " >&6; }
  21479. if ${gcc_cv_math_func_catanl+:} false; then :
  21480. $as_echo_n "(cached) " >&6
  21481. else
  21482. if test x$gcc_no_link = xyes; then
  21483. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21484. fi
  21485. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21486. /* end confdefs.h. */
  21487. #ifdef HAVE_COMPLEX_H
  21488. #include <complex.h>
  21489. #endif
  21490. #ifdef HAVE_MATH_H
  21491. #include <math.h>
  21492. #endif
  21493. int (*ptr)() = (int (*)())catanl;
  21494. int
  21495. main ()
  21496. {
  21497. return 0;
  21498. }
  21499. _ACEOF
  21500. if ac_fn_c_try_link "$LINENO"; then :
  21501. gcc_cv_math_func_catanl=yes
  21502. else
  21503. gcc_cv_math_func_catanl=no
  21504. fi
  21505. rm -f core conftest.err conftest.$ac_objext \
  21506. conftest$ac_exeext conftest.$ac_ext
  21507. fi
  21508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
  21509. $as_echo "$gcc_cv_math_func_catanl" >&6; }
  21510. if test $gcc_cv_math_func_catanl = yes; then
  21511. cat >>confdefs.h <<_ACEOF
  21512. #define HAVE_CATANL 1
  21513. _ACEOF
  21514. fi
  21515. # For POWER, check the ieee128 math functions
  21516. if test "x$have_real_17" = "xyes"; then
  21517. cat >>confdefs.h <<_ACEOF
  21518. #define HAVE_REAL_17 1
  21519. _ACEOF
  21520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
  21521. $as_echo_n "checking for __acoshieee128... " >&6; }
  21522. if ${gcc_cv_math_func___acoshieee128+:} false; then :
  21523. $as_echo_n "(cached) " >&6
  21524. else
  21525. if test x$gcc_no_link = xyes; then
  21526. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21527. fi
  21528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21529. /* end confdefs.h. */
  21530. __float128 __acoshieee128 (__float128);
  21531. __float128 (*ptr)(__float128) = __acoshieee128;
  21532. int
  21533. main ()
  21534. {
  21535. return 0;
  21536. }
  21537. _ACEOF
  21538. if ac_fn_c_try_link "$LINENO"; then :
  21539. gcc_cv_math_func___acoshieee128=yes
  21540. else
  21541. gcc_cv_math_func___acoshieee128=no
  21542. fi
  21543. rm -f core conftest.err conftest.$ac_objext \
  21544. conftest$ac_exeext conftest.$ac_ext
  21545. fi
  21546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
  21547. $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
  21548. if test $gcc_cv_math_func___acoshieee128 = yes; then
  21549. cat >>confdefs.h <<_ACEOF
  21550. #define HAVE___ACOSHIEEE128 1
  21551. _ACEOF
  21552. fi
  21553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
  21554. $as_echo_n "checking for __acosieee128... " >&6; }
  21555. if ${gcc_cv_math_func___acosieee128+:} false; then :
  21556. $as_echo_n "(cached) " >&6
  21557. else
  21558. if test x$gcc_no_link = xyes; then
  21559. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21560. fi
  21561. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21562. /* end confdefs.h. */
  21563. __float128 __acosieee128 (__float128);
  21564. __float128 (*ptr)(__float128) = __acosieee128;
  21565. int
  21566. main ()
  21567. {
  21568. return 0;
  21569. }
  21570. _ACEOF
  21571. if ac_fn_c_try_link "$LINENO"; then :
  21572. gcc_cv_math_func___acosieee128=yes
  21573. else
  21574. gcc_cv_math_func___acosieee128=no
  21575. fi
  21576. rm -f core conftest.err conftest.$ac_objext \
  21577. conftest$ac_exeext conftest.$ac_ext
  21578. fi
  21579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
  21580. $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
  21581. if test $gcc_cv_math_func___acosieee128 = yes; then
  21582. cat >>confdefs.h <<_ACEOF
  21583. #define HAVE___ACOSIEEE128 1
  21584. _ACEOF
  21585. fi
  21586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
  21587. $as_echo_n "checking for __asinhieee128... " >&6; }
  21588. if ${gcc_cv_math_func___asinhieee128+:} false; then :
  21589. $as_echo_n "(cached) " >&6
  21590. else
  21591. if test x$gcc_no_link = xyes; then
  21592. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21593. fi
  21594. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21595. /* end confdefs.h. */
  21596. __float128 __asinhieee128 (__float128);
  21597. __float128 (*ptr)(__float128) = __asinhieee128;
  21598. int
  21599. main ()
  21600. {
  21601. return 0;
  21602. }
  21603. _ACEOF
  21604. if ac_fn_c_try_link "$LINENO"; then :
  21605. gcc_cv_math_func___asinhieee128=yes
  21606. else
  21607. gcc_cv_math_func___asinhieee128=no
  21608. fi
  21609. rm -f core conftest.err conftest.$ac_objext \
  21610. conftest$ac_exeext conftest.$ac_ext
  21611. fi
  21612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
  21613. $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
  21614. if test $gcc_cv_math_func___asinhieee128 = yes; then
  21615. cat >>confdefs.h <<_ACEOF
  21616. #define HAVE___ASINHIEEE128 1
  21617. _ACEOF
  21618. fi
  21619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
  21620. $as_echo_n "checking for __asinieee128... " >&6; }
  21621. if ${gcc_cv_math_func___asinieee128+:} false; then :
  21622. $as_echo_n "(cached) " >&6
  21623. else
  21624. if test x$gcc_no_link = xyes; then
  21625. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21626. fi
  21627. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21628. /* end confdefs.h. */
  21629. __float128 __asinieee128 (__float128);
  21630. __float128 (*ptr)(__float128) = __asinieee128;
  21631. int
  21632. main ()
  21633. {
  21634. return 0;
  21635. }
  21636. _ACEOF
  21637. if ac_fn_c_try_link "$LINENO"; then :
  21638. gcc_cv_math_func___asinieee128=yes
  21639. else
  21640. gcc_cv_math_func___asinieee128=no
  21641. fi
  21642. rm -f core conftest.err conftest.$ac_objext \
  21643. conftest$ac_exeext conftest.$ac_ext
  21644. fi
  21645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
  21646. $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
  21647. if test $gcc_cv_math_func___asinieee128 = yes; then
  21648. cat >>confdefs.h <<_ACEOF
  21649. #define HAVE___ASINIEEE128 1
  21650. _ACEOF
  21651. fi
  21652. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
  21653. $as_echo_n "checking for __atan2ieee128... " >&6; }
  21654. if ${gcc_cv_math_func___atan2ieee128+:} false; then :
  21655. $as_echo_n "(cached) " >&6
  21656. else
  21657. if test x$gcc_no_link = xyes; then
  21658. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21659. fi
  21660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21661. /* end confdefs.h. */
  21662. __float128 __atan2ieee128 (__float128);
  21663. __float128 (*ptr)(__float128) = __atan2ieee128;
  21664. int
  21665. main ()
  21666. {
  21667. return 0;
  21668. }
  21669. _ACEOF
  21670. if ac_fn_c_try_link "$LINENO"; then :
  21671. gcc_cv_math_func___atan2ieee128=yes
  21672. else
  21673. gcc_cv_math_func___atan2ieee128=no
  21674. fi
  21675. rm -f core conftest.err conftest.$ac_objext \
  21676. conftest$ac_exeext conftest.$ac_ext
  21677. fi
  21678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
  21679. $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
  21680. if test $gcc_cv_math_func___atan2ieee128 = yes; then
  21681. cat >>confdefs.h <<_ACEOF
  21682. #define HAVE___ATAN2IEEE128 1
  21683. _ACEOF
  21684. fi
  21685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
  21686. $as_echo_n "checking for __atanhieee128... " >&6; }
  21687. if ${gcc_cv_math_func___atanhieee128+:} false; then :
  21688. $as_echo_n "(cached) " >&6
  21689. else
  21690. if test x$gcc_no_link = xyes; then
  21691. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21692. fi
  21693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21694. /* end confdefs.h. */
  21695. __float128 __atanhieee128 (__float128);
  21696. __float128 (*ptr)(__float128) = __atanhieee128;
  21697. int
  21698. main ()
  21699. {
  21700. return 0;
  21701. }
  21702. _ACEOF
  21703. if ac_fn_c_try_link "$LINENO"; then :
  21704. gcc_cv_math_func___atanhieee128=yes
  21705. else
  21706. gcc_cv_math_func___atanhieee128=no
  21707. fi
  21708. rm -f core conftest.err conftest.$ac_objext \
  21709. conftest$ac_exeext conftest.$ac_ext
  21710. fi
  21711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
  21712. $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
  21713. if test $gcc_cv_math_func___atanhieee128 = yes; then
  21714. cat >>confdefs.h <<_ACEOF
  21715. #define HAVE___ATANHIEEE128 1
  21716. _ACEOF
  21717. fi
  21718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
  21719. $as_echo_n "checking for __atanieee128... " >&6; }
  21720. if ${gcc_cv_math_func___atanieee128+:} false; then :
  21721. $as_echo_n "(cached) " >&6
  21722. else
  21723. if test x$gcc_no_link = xyes; then
  21724. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21725. fi
  21726. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21727. /* end confdefs.h. */
  21728. __float128 __atanieee128 (__float128);
  21729. __float128 (*ptr)(__float128) = __atanieee128;
  21730. int
  21731. main ()
  21732. {
  21733. return 0;
  21734. }
  21735. _ACEOF
  21736. if ac_fn_c_try_link "$LINENO"; then :
  21737. gcc_cv_math_func___atanieee128=yes
  21738. else
  21739. gcc_cv_math_func___atanieee128=no
  21740. fi
  21741. rm -f core conftest.err conftest.$ac_objext \
  21742. conftest$ac_exeext conftest.$ac_ext
  21743. fi
  21744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
  21745. $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
  21746. if test $gcc_cv_math_func___atanieee128 = yes; then
  21747. cat >>confdefs.h <<_ACEOF
  21748. #define HAVE___ATANIEEE128 1
  21749. _ACEOF
  21750. fi
  21751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
  21752. $as_echo_n "checking for __coshieee128... " >&6; }
  21753. if ${gcc_cv_math_func___coshieee128+:} false; then :
  21754. $as_echo_n "(cached) " >&6
  21755. else
  21756. if test x$gcc_no_link = xyes; then
  21757. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21758. fi
  21759. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21760. /* end confdefs.h. */
  21761. __float128 __coshieee128 (__float128);
  21762. __float128 (*ptr)(__float128) = __coshieee128;
  21763. int
  21764. main ()
  21765. {
  21766. return 0;
  21767. }
  21768. _ACEOF
  21769. if ac_fn_c_try_link "$LINENO"; then :
  21770. gcc_cv_math_func___coshieee128=yes
  21771. else
  21772. gcc_cv_math_func___coshieee128=no
  21773. fi
  21774. rm -f core conftest.err conftest.$ac_objext \
  21775. conftest$ac_exeext conftest.$ac_ext
  21776. fi
  21777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
  21778. $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
  21779. if test $gcc_cv_math_func___coshieee128 = yes; then
  21780. cat >>confdefs.h <<_ACEOF
  21781. #define HAVE___COSHIEEE128 1
  21782. _ACEOF
  21783. fi
  21784. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
  21785. $as_echo_n "checking for __cosieee128... " >&6; }
  21786. if ${gcc_cv_math_func___cosieee128+:} false; then :
  21787. $as_echo_n "(cached) " >&6
  21788. else
  21789. if test x$gcc_no_link = xyes; then
  21790. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21791. fi
  21792. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21793. /* end confdefs.h. */
  21794. __float128 __cosieee128 (__float128);
  21795. __float128 (*ptr)(__float128) = __cosieee128;
  21796. int
  21797. main ()
  21798. {
  21799. return 0;
  21800. }
  21801. _ACEOF
  21802. if ac_fn_c_try_link "$LINENO"; then :
  21803. gcc_cv_math_func___cosieee128=yes
  21804. else
  21805. gcc_cv_math_func___cosieee128=no
  21806. fi
  21807. rm -f core conftest.err conftest.$ac_objext \
  21808. conftest$ac_exeext conftest.$ac_ext
  21809. fi
  21810. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
  21811. $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
  21812. if test $gcc_cv_math_func___cosieee128 = yes; then
  21813. cat >>confdefs.h <<_ACEOF
  21814. #define HAVE___COSIEEE128 1
  21815. _ACEOF
  21816. fi
  21817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
  21818. $as_echo_n "checking for __erfieee128... " >&6; }
  21819. if ${gcc_cv_math_func___erfieee128+:} false; then :
  21820. $as_echo_n "(cached) " >&6
  21821. else
  21822. if test x$gcc_no_link = xyes; then
  21823. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21824. fi
  21825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21826. /* end confdefs.h. */
  21827. __float128 __erfieee128 (__float128);
  21828. __float128 (*ptr)(__float128) = __erfieee128;
  21829. int
  21830. main ()
  21831. {
  21832. return 0;
  21833. }
  21834. _ACEOF
  21835. if ac_fn_c_try_link "$LINENO"; then :
  21836. gcc_cv_math_func___erfieee128=yes
  21837. else
  21838. gcc_cv_math_func___erfieee128=no
  21839. fi
  21840. rm -f core conftest.err conftest.$ac_objext \
  21841. conftest$ac_exeext conftest.$ac_ext
  21842. fi
  21843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
  21844. $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
  21845. if test $gcc_cv_math_func___erfieee128 = yes; then
  21846. cat >>confdefs.h <<_ACEOF
  21847. #define HAVE___ERFIEEE128 1
  21848. _ACEOF
  21849. fi
  21850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
  21851. $as_echo_n "checking for __expieee128... " >&6; }
  21852. if ${gcc_cv_math_func___expieee128+:} false; then :
  21853. $as_echo_n "(cached) " >&6
  21854. else
  21855. if test x$gcc_no_link = xyes; then
  21856. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21857. fi
  21858. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21859. /* end confdefs.h. */
  21860. __float128 __expieee128 (__float128);
  21861. __float128 (*ptr)(__float128) = __expieee128;
  21862. int
  21863. main ()
  21864. {
  21865. return 0;
  21866. }
  21867. _ACEOF
  21868. if ac_fn_c_try_link "$LINENO"; then :
  21869. gcc_cv_math_func___expieee128=yes
  21870. else
  21871. gcc_cv_math_func___expieee128=no
  21872. fi
  21873. rm -f core conftest.err conftest.$ac_objext \
  21874. conftest$ac_exeext conftest.$ac_ext
  21875. fi
  21876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
  21877. $as_echo "$gcc_cv_math_func___expieee128" >&6; }
  21878. if test $gcc_cv_math_func___expieee128 = yes; then
  21879. cat >>confdefs.h <<_ACEOF
  21880. #define HAVE___EXPIEEE128 1
  21881. _ACEOF
  21882. fi
  21883. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
  21884. $as_echo_n "checking for __fabsieee128... " >&6; }
  21885. if ${gcc_cv_math_func___fabsieee128+:} false; then :
  21886. $as_echo_n "(cached) " >&6
  21887. else
  21888. if test x$gcc_no_link = xyes; then
  21889. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21890. fi
  21891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21892. /* end confdefs.h. */
  21893. __float128 __fabsieee128 (__float128);
  21894. __float128 (*ptr)(__float128) = __fabsieee128;
  21895. int
  21896. main ()
  21897. {
  21898. return 0;
  21899. }
  21900. _ACEOF
  21901. if ac_fn_c_try_link "$LINENO"; then :
  21902. gcc_cv_math_func___fabsieee128=yes
  21903. else
  21904. gcc_cv_math_func___fabsieee128=no
  21905. fi
  21906. rm -f core conftest.err conftest.$ac_objext \
  21907. conftest$ac_exeext conftest.$ac_ext
  21908. fi
  21909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
  21910. $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
  21911. if test $gcc_cv_math_func___fabsieee128 = yes; then
  21912. cat >>confdefs.h <<_ACEOF
  21913. #define HAVE___FABSIEEE128 1
  21914. _ACEOF
  21915. fi
  21916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
  21917. $as_echo_n "checking for __jnieee128... " >&6; }
  21918. if ${gcc_cv_math_func___jnieee128+:} false; then :
  21919. $as_echo_n "(cached) " >&6
  21920. else
  21921. if test x$gcc_no_link = xyes; then
  21922. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21923. fi
  21924. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21925. /* end confdefs.h. */
  21926. __float128 __jnieee128 (__float128);
  21927. __float128 (*ptr)(__float128) = __jnieee128;
  21928. int
  21929. main ()
  21930. {
  21931. return 0;
  21932. }
  21933. _ACEOF
  21934. if ac_fn_c_try_link "$LINENO"; then :
  21935. gcc_cv_math_func___jnieee128=yes
  21936. else
  21937. gcc_cv_math_func___jnieee128=no
  21938. fi
  21939. rm -f core conftest.err conftest.$ac_objext \
  21940. conftest$ac_exeext conftest.$ac_ext
  21941. fi
  21942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
  21943. $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
  21944. if test $gcc_cv_math_func___jnieee128 = yes; then
  21945. cat >>confdefs.h <<_ACEOF
  21946. #define HAVE___JNIEEE128 1
  21947. _ACEOF
  21948. fi
  21949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
  21950. $as_echo_n "checking for __log10ieee128... " >&6; }
  21951. if ${gcc_cv_math_func___log10ieee128+:} false; then :
  21952. $as_echo_n "(cached) " >&6
  21953. else
  21954. if test x$gcc_no_link = xyes; then
  21955. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21956. fi
  21957. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21958. /* end confdefs.h. */
  21959. __float128 __log10ieee128 (__float128);
  21960. __float128 (*ptr)(__float128) = __log10ieee128;
  21961. int
  21962. main ()
  21963. {
  21964. return 0;
  21965. }
  21966. _ACEOF
  21967. if ac_fn_c_try_link "$LINENO"; then :
  21968. gcc_cv_math_func___log10ieee128=yes
  21969. else
  21970. gcc_cv_math_func___log10ieee128=no
  21971. fi
  21972. rm -f core conftest.err conftest.$ac_objext \
  21973. conftest$ac_exeext conftest.$ac_ext
  21974. fi
  21975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
  21976. $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
  21977. if test $gcc_cv_math_func___log10ieee128 = yes; then
  21978. cat >>confdefs.h <<_ACEOF
  21979. #define HAVE___LOG10IEEE128 1
  21980. _ACEOF
  21981. fi
  21982. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
  21983. $as_echo_n "checking for __logieee128... " >&6; }
  21984. if ${gcc_cv_math_func___logieee128+:} false; then :
  21985. $as_echo_n "(cached) " >&6
  21986. else
  21987. if test x$gcc_no_link = xyes; then
  21988. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21989. fi
  21990. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21991. /* end confdefs.h. */
  21992. __float128 __logieee128 (__float128);
  21993. __float128 (*ptr)(__float128) = __logieee128;
  21994. int
  21995. main ()
  21996. {
  21997. return 0;
  21998. }
  21999. _ACEOF
  22000. if ac_fn_c_try_link "$LINENO"; then :
  22001. gcc_cv_math_func___logieee128=yes
  22002. else
  22003. gcc_cv_math_func___logieee128=no
  22004. fi
  22005. rm -f core conftest.err conftest.$ac_objext \
  22006. conftest$ac_exeext conftest.$ac_ext
  22007. fi
  22008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
  22009. $as_echo "$gcc_cv_math_func___logieee128" >&6; }
  22010. if test $gcc_cv_math_func___logieee128 = yes; then
  22011. cat >>confdefs.h <<_ACEOF
  22012. #define HAVE___LOGIEEE128 1
  22013. _ACEOF
  22014. fi
  22015. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
  22016. $as_echo_n "checking for __powieee128... " >&6; }
  22017. if ${gcc_cv_math_func___powieee128+:} false; then :
  22018. $as_echo_n "(cached) " >&6
  22019. else
  22020. if test x$gcc_no_link = xyes; then
  22021. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22022. fi
  22023. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22024. /* end confdefs.h. */
  22025. __float128 __powieee128 (__float128);
  22026. __float128 (*ptr)(__float128) = __powieee128;
  22027. int
  22028. main ()
  22029. {
  22030. return 0;
  22031. }
  22032. _ACEOF
  22033. if ac_fn_c_try_link "$LINENO"; then :
  22034. gcc_cv_math_func___powieee128=yes
  22035. else
  22036. gcc_cv_math_func___powieee128=no
  22037. fi
  22038. rm -f core conftest.err conftest.$ac_objext \
  22039. conftest$ac_exeext conftest.$ac_ext
  22040. fi
  22041. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
  22042. $as_echo "$gcc_cv_math_func___powieee128" >&6; }
  22043. if test $gcc_cv_math_func___powieee128 = yes; then
  22044. cat >>confdefs.h <<_ACEOF
  22045. #define HAVE___POWIEEE128 1
  22046. _ACEOF
  22047. fi
  22048. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
  22049. $as_echo_n "checking for __sinhieee128... " >&6; }
  22050. if ${gcc_cv_math_func___sinhieee128+:} false; then :
  22051. $as_echo_n "(cached) " >&6
  22052. else
  22053. if test x$gcc_no_link = xyes; then
  22054. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22055. fi
  22056. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22057. /* end confdefs.h. */
  22058. __float128 __sinhieee128 (__float128);
  22059. __float128 (*ptr)(__float128) = __sinhieee128;
  22060. int
  22061. main ()
  22062. {
  22063. return 0;
  22064. }
  22065. _ACEOF
  22066. if ac_fn_c_try_link "$LINENO"; then :
  22067. gcc_cv_math_func___sinhieee128=yes
  22068. else
  22069. gcc_cv_math_func___sinhieee128=no
  22070. fi
  22071. rm -f core conftest.err conftest.$ac_objext \
  22072. conftest$ac_exeext conftest.$ac_ext
  22073. fi
  22074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
  22075. $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
  22076. if test $gcc_cv_math_func___sinhieee128 = yes; then
  22077. cat >>confdefs.h <<_ACEOF
  22078. #define HAVE___SINHIEEE128 1
  22079. _ACEOF
  22080. fi
  22081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
  22082. $as_echo_n "checking for __sinieee128... " >&6; }
  22083. if ${gcc_cv_math_func___sinieee128+:} false; then :
  22084. $as_echo_n "(cached) " >&6
  22085. else
  22086. if test x$gcc_no_link = xyes; then
  22087. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22088. fi
  22089. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22090. /* end confdefs.h. */
  22091. __float128 __sinieee128 (__float128);
  22092. __float128 (*ptr)(__float128) = __sinieee128;
  22093. int
  22094. main ()
  22095. {
  22096. return 0;
  22097. }
  22098. _ACEOF
  22099. if ac_fn_c_try_link "$LINENO"; then :
  22100. gcc_cv_math_func___sinieee128=yes
  22101. else
  22102. gcc_cv_math_func___sinieee128=no
  22103. fi
  22104. rm -f core conftest.err conftest.$ac_objext \
  22105. conftest$ac_exeext conftest.$ac_ext
  22106. fi
  22107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
  22108. $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
  22109. if test $gcc_cv_math_func___sinieee128 = yes; then
  22110. cat >>confdefs.h <<_ACEOF
  22111. #define HAVE___SINIEEE128 1
  22112. _ACEOF
  22113. fi
  22114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
  22115. $as_echo_n "checking for __sqrtieee128... " >&6; }
  22116. if ${gcc_cv_math_func___sqrtieee128+:} false; then :
  22117. $as_echo_n "(cached) " >&6
  22118. else
  22119. if test x$gcc_no_link = xyes; then
  22120. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22121. fi
  22122. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22123. /* end confdefs.h. */
  22124. __float128 __sqrtieee128 (__float128);
  22125. __float128 (*ptr)(__float128) = __sqrtieee128;
  22126. int
  22127. main ()
  22128. {
  22129. return 0;
  22130. }
  22131. _ACEOF
  22132. if ac_fn_c_try_link "$LINENO"; then :
  22133. gcc_cv_math_func___sqrtieee128=yes
  22134. else
  22135. gcc_cv_math_func___sqrtieee128=no
  22136. fi
  22137. rm -f core conftest.err conftest.$ac_objext \
  22138. conftest$ac_exeext conftest.$ac_ext
  22139. fi
  22140. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
  22141. $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
  22142. if test $gcc_cv_math_func___sqrtieee128 = yes; then
  22143. cat >>confdefs.h <<_ACEOF
  22144. #define HAVE___SQRTIEEE128 1
  22145. _ACEOF
  22146. fi
  22147. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
  22148. $as_echo_n "checking for __tanhieee128... " >&6; }
  22149. if ${gcc_cv_math_func___tanhieee128+:} false; then :
  22150. $as_echo_n "(cached) " >&6
  22151. else
  22152. if test x$gcc_no_link = xyes; then
  22153. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22154. fi
  22155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22156. /* end confdefs.h. */
  22157. __float128 __tanhieee128 (__float128);
  22158. __float128 (*ptr)(__float128) = __tanhieee128;
  22159. int
  22160. main ()
  22161. {
  22162. return 0;
  22163. }
  22164. _ACEOF
  22165. if ac_fn_c_try_link "$LINENO"; then :
  22166. gcc_cv_math_func___tanhieee128=yes
  22167. else
  22168. gcc_cv_math_func___tanhieee128=no
  22169. fi
  22170. rm -f core conftest.err conftest.$ac_objext \
  22171. conftest$ac_exeext conftest.$ac_ext
  22172. fi
  22173. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
  22174. $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
  22175. if test $gcc_cv_math_func___tanhieee128 = yes; then
  22176. cat >>confdefs.h <<_ACEOF
  22177. #define HAVE___TANHIEEE128 1
  22178. _ACEOF
  22179. fi
  22180. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
  22181. $as_echo_n "checking for __tanieee128... " >&6; }
  22182. if ${gcc_cv_math_func___tanieee128+:} false; then :
  22183. $as_echo_n "(cached) " >&6
  22184. else
  22185. if test x$gcc_no_link = xyes; then
  22186. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22187. fi
  22188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22189. /* end confdefs.h. */
  22190. __float128 __tanieee128 (__float128);
  22191. __float128 (*ptr)(__float128) = __tanieee128;
  22192. int
  22193. main ()
  22194. {
  22195. return 0;
  22196. }
  22197. _ACEOF
  22198. if ac_fn_c_try_link "$LINENO"; then :
  22199. gcc_cv_math_func___tanieee128=yes
  22200. else
  22201. gcc_cv_math_func___tanieee128=no
  22202. fi
  22203. rm -f core conftest.err conftest.$ac_objext \
  22204. conftest$ac_exeext conftest.$ac_ext
  22205. fi
  22206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
  22207. $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
  22208. if test $gcc_cv_math_func___tanieee128 = yes; then
  22209. cat >>confdefs.h <<_ACEOF
  22210. #define HAVE___TANIEEE128 1
  22211. _ACEOF
  22212. fi
  22213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
  22214. $as_echo_n "checking for __ynieee128... " >&6; }
  22215. if ${gcc_cv_math_func___ynieee128+:} false; then :
  22216. $as_echo_n "(cached) " >&6
  22217. else
  22218. if test x$gcc_no_link = xyes; then
  22219. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22220. fi
  22221. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22222. /* end confdefs.h. */
  22223. __float128 __ynieee128 (__float128);
  22224. __float128 (*ptr)(__float128) = __ynieee128;
  22225. int
  22226. main ()
  22227. {
  22228. return 0;
  22229. }
  22230. _ACEOF
  22231. if ac_fn_c_try_link "$LINENO"; then :
  22232. gcc_cv_math_func___ynieee128=yes
  22233. else
  22234. gcc_cv_math_func___ynieee128=no
  22235. fi
  22236. rm -f core conftest.err conftest.$ac_objext \
  22237. conftest$ac_exeext conftest.$ac_ext
  22238. fi
  22239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
  22240. $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
  22241. if test $gcc_cv_math_func___ynieee128 = yes; then
  22242. cat >>confdefs.h <<_ACEOF
  22243. #define HAVE___YNIEEE128 1
  22244. _ACEOF
  22245. fi
  22246. fi
  22247. # On AIX, clog is present in libm as __clog
  22248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
  22249. $as_echo_n "checking for __clog in -lm... " >&6; }
  22250. if ${ac_cv_lib_m___clog+:} false; then :
  22251. $as_echo_n "(cached) " >&6
  22252. else
  22253. ac_check_lib_save_LIBS=$LIBS
  22254. LIBS="-lm $LIBS"
  22255. if test x$gcc_no_link = xyes; then
  22256. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22257. fi
  22258. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22259. /* end confdefs.h. */
  22260. /* Override any GCC internal prototype to avoid an error.
  22261. Use char because int might match the return type of a GCC
  22262. builtin and then its argument prototype would still apply. */
  22263. #ifdef __cplusplus
  22264. extern "C"
  22265. #endif
  22266. char __clog ();
  22267. int
  22268. main ()
  22269. {
  22270. return __clog ();
  22271. ;
  22272. return 0;
  22273. }
  22274. _ACEOF
  22275. if ac_fn_c_try_link "$LINENO"; then :
  22276. ac_cv_lib_m___clog=yes
  22277. else
  22278. ac_cv_lib_m___clog=no
  22279. fi
  22280. rm -f core conftest.err conftest.$ac_objext \
  22281. conftest$ac_exeext conftest.$ac_ext
  22282. LIBS=$ac_check_lib_save_LIBS
  22283. fi
  22284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
  22285. $as_echo "$ac_cv_lib_m___clog" >&6; }
  22286. if test "x$ac_cv_lib_m___clog" = xyes; then :
  22287. $as_echo "#define HAVE_CLOG 1" >>confdefs.h
  22288. fi
  22289. if test $gcc_cv_math_func_copysign = no; then
  22290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
  22291. $as_echo_n "checking for inline __builtin_copysign... " >&6; }
  22292. if ${gcc_cv_math_inline_builtin_copysign+:} false; then :
  22293. $as_echo_n "(cached) " >&6
  22294. else
  22295. if test x$gcc_no_link = xyes; then
  22296. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22297. fi
  22298. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22299. /* end confdefs.h. */
  22300. double
  22301. copysign_fallback (double x, double y)
  22302. {
  22303. return __builtin_copysign (x, y);
  22304. }
  22305. int
  22306. main ()
  22307. {
  22308. return 0;
  22309. }
  22310. _ACEOF
  22311. if ac_fn_c_try_link "$LINENO"; then :
  22312. gcc_cv_math_inline_builtin_copysign=yes
  22313. else
  22314. gcc_cv_math_inline_builtin_copysign=no
  22315. fi
  22316. rm -f core conftest.err conftest.$ac_objext \
  22317. conftest$ac_exeext conftest.$ac_ext
  22318. fi
  22319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
  22320. $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
  22321. if test $gcc_cv_math_inline_builtin_copysign = yes; then
  22322. cat >>confdefs.h <<_ACEOF
  22323. #define HAVE_INLINE_BUILTIN_COPYSIGN 1
  22324. _ACEOF
  22325. fi
  22326. fi
  22327. if test $gcc_cv_math_func_copysignl = no; then
  22328. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
  22329. $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
  22330. if ${gcc_cv_math_inline_builtin_copysignl+:} false; then :
  22331. $as_echo_n "(cached) " >&6
  22332. else
  22333. if test x$gcc_no_link = xyes; then
  22334. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22335. fi
  22336. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22337. /* end confdefs.h. */
  22338. long double
  22339. copysignl_fallback (long double x, long double y)
  22340. {
  22341. return __builtin_copysignl (x, y);
  22342. }
  22343. int
  22344. main ()
  22345. {
  22346. return 0;
  22347. }
  22348. _ACEOF
  22349. if ac_fn_c_try_link "$LINENO"; then :
  22350. gcc_cv_math_inline_builtin_copysignl=yes
  22351. else
  22352. gcc_cv_math_inline_builtin_copysignl=no
  22353. fi
  22354. rm -f core conftest.err conftest.$ac_objext \
  22355. conftest$ac_exeext conftest.$ac_ext
  22356. fi
  22357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
  22358. $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
  22359. if test $gcc_cv_math_inline_builtin_copysignl = yes; then
  22360. cat >>confdefs.h <<_ACEOF
  22361. #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
  22362. _ACEOF
  22363. fi
  22364. fi
  22365. if test $gcc_cv_math_func_fabs = no; then
  22366. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
  22367. $as_echo_n "checking for inline __builtin_fabs... " >&6; }
  22368. if ${gcc_cv_math_inline_builtin_fabs+:} false; then :
  22369. $as_echo_n "(cached) " >&6
  22370. else
  22371. if test x$gcc_no_link = xyes; then
  22372. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22373. fi
  22374. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22375. /* end confdefs.h. */
  22376. double
  22377. fabs_fallback (double x)
  22378. {
  22379. return __builtin_fabs (x);
  22380. }
  22381. int
  22382. main ()
  22383. {
  22384. return 0;
  22385. }
  22386. _ACEOF
  22387. if ac_fn_c_try_link "$LINENO"; then :
  22388. gcc_cv_math_inline_builtin_fabs=yes
  22389. else
  22390. gcc_cv_math_inline_builtin_fabs=no
  22391. fi
  22392. rm -f core conftest.err conftest.$ac_objext \
  22393. conftest$ac_exeext conftest.$ac_ext
  22394. fi
  22395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
  22396. $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
  22397. if test $gcc_cv_math_inline_builtin_fabs = yes; then
  22398. cat >>confdefs.h <<_ACEOF
  22399. #define HAVE_INLINE_BUILTIN_FABS 1
  22400. _ACEOF
  22401. fi
  22402. fi
  22403. if test $gcc_cv_math_func_fabsl = no; then
  22404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
  22405. $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
  22406. if ${gcc_cv_math_inline_builtin_fabsl+:} false; then :
  22407. $as_echo_n "(cached) " >&6
  22408. else
  22409. if test x$gcc_no_link = xyes; then
  22410. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22411. fi
  22412. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22413. /* end confdefs.h. */
  22414. long double
  22415. fabsl_fallback (long double x)
  22416. {
  22417. return __builtin_fabsl (x);
  22418. }
  22419. int
  22420. main ()
  22421. {
  22422. return 0;
  22423. }
  22424. _ACEOF
  22425. if ac_fn_c_try_link "$LINENO"; then :
  22426. gcc_cv_math_inline_builtin_fabsl=yes
  22427. else
  22428. gcc_cv_math_inline_builtin_fabsl=no
  22429. fi
  22430. rm -f core conftest.err conftest.$ac_objext \
  22431. conftest$ac_exeext conftest.$ac_ext
  22432. fi
  22433. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
  22434. $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
  22435. if test $gcc_cv_math_inline_builtin_fabsl = yes; then
  22436. cat >>confdefs.h <<_ACEOF
  22437. #define HAVE_INLINE_BUILTIN_FABSL 1
  22438. _ACEOF
  22439. fi
  22440. fi
  22441. # Check whether the system has a working stat()
  22442. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
  22443. $as_echo_n "checking whether the target stat is reliable... " >&6; }
  22444. if ${libgfor_cv_have_working_stat+:} false; then :
  22445. $as_echo_n "(cached) " >&6
  22446. else
  22447. if test "$cross_compiling" = yes; then :
  22448. case "${target}" in
  22449. *mingw*) libgfor_cv_have_working_stat=no ;;
  22450. *) libgfor_cv_have_working_stat=yes;;
  22451. esac
  22452. else
  22453. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22454. /* end confdefs.h. */
  22455. #include <stdio.h>
  22456. #include <sys/types.h>
  22457. #include <sys/stat.h>
  22458. #include <unistd.h>
  22459. int main ()
  22460. {
  22461. FILE *f, *g;
  22462. struct stat st1, st2;
  22463. f = fopen ("foo", "w");
  22464. g = fopen ("bar", "w");
  22465. if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
  22466. return 1;
  22467. if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
  22468. return 1;
  22469. fclose(f);
  22470. fclose(g);
  22471. return 0;
  22472. }
  22473. _ACEOF
  22474. if ac_fn_c_try_run "$LINENO"; then :
  22475. libgfor_cv_have_working_stat=yes
  22476. else
  22477. libgfor_cv_have_working_stat=no
  22478. fi
  22479. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22480. conftest.$ac_objext conftest.beam conftest.$ac_ext
  22481. fi
  22482. fi
  22483. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
  22484. $as_echo "$libgfor_cv_have_working_stat" >&6; }
  22485. if test x"$libgfor_cv_have_working_stat" = xyes; then
  22486. $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
  22487. fi
  22488. # Check whether __mingw_snprintf() is present
  22489. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
  22490. $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
  22491. if ${libgfor_cv_have_mingw_snprintf+:} false; then :
  22492. $as_echo_n "(cached) " >&6
  22493. else
  22494. if test x$gcc_no_link = xyes; then
  22495. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22496. fi
  22497. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22498. /* end confdefs.h. */
  22499. #include <stdio.h>
  22500. extern int __mingw_snprintf (char *, size_t, const char *, ...);
  22501. int
  22502. main ()
  22503. {
  22504. __mingw_snprintf (NULL, 0, "%d\n", 1);
  22505. ;
  22506. return 0;
  22507. }
  22508. _ACEOF
  22509. if ac_fn_c_try_link "$LINENO"; then :
  22510. eval "libgfor_cv_have_mingw_snprintf=yes"
  22511. else
  22512. eval "libgfor_cv_have_mingw_snprintf=no"
  22513. fi
  22514. rm -f core conftest.err conftest.$ac_objext \
  22515. conftest$ac_exeext conftest.$ac_ext
  22516. fi
  22517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
  22518. $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
  22519. if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
  22520. $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
  22521. fi
  22522. # Check whether libquadmath should be used
  22523. # Check whether --enable-libquadmath-support was given.
  22524. if test "${enable_libquadmath_support+set}" = set; then :
  22525. enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
  22526. else
  22527. ENABLE_LIBQUADMATH_SUPPORT=yes
  22528. fi
  22529. enable_libquadmath_support=
  22530. if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
  22531. enable_libquadmath_support=no
  22532. fi
  22533. # Check whether we have a __float128 type, depends on enable_libquadmath_support
  22534. LIBQUADSPEC=
  22535. if test "x$enable_libquadmath_support" != xno; then
  22536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
  22537. $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
  22538. if ${libgfor_cv_have_float128+:} false; then :
  22539. $as_echo_n "(cached) " >&6
  22540. else
  22541. if test x$gcc_no_link = xyes; then
  22542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22543. /* end confdefs.h. */
  22544. typedef _Complex float __attribute__((mode(TC))) __complex128;
  22545. __float128 foo (__float128 x)
  22546. {
  22547. __complex128 z1, z2;
  22548. z1 = x;
  22549. z2 = x / 7.Q;
  22550. z2 /= z1;
  22551. return (__float128) z2;
  22552. }
  22553. __float128 bar (__float128 x)
  22554. {
  22555. return x * __builtin_huge_valq ();
  22556. }
  22557. int
  22558. main ()
  22559. {
  22560. foo (1.2Q);
  22561. bar (1.2Q);
  22562. ;
  22563. return 0;
  22564. }
  22565. _ACEOF
  22566. if ac_fn_c_try_compile "$LINENO"; then :
  22567. libgfor_cv_have_float128=yes
  22568. else
  22569. libgfor_cv_have_float128=no
  22570. fi
  22571. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22572. else
  22573. if test x$gcc_no_link = xyes; then
  22574. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22575. fi
  22576. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22577. /* end confdefs.h. */
  22578. typedef _Complex float __attribute__((mode(TC))) __complex128;
  22579. __float128 foo (__float128 x)
  22580. {
  22581. __complex128 z1, z2;
  22582. z1 = x;
  22583. z2 = x / 7.Q;
  22584. z2 /= z1;
  22585. return (__float128) z2;
  22586. }
  22587. __float128 bar (__float128 x)
  22588. {
  22589. return x * __builtin_huge_valq ();
  22590. }
  22591. int
  22592. main ()
  22593. {
  22594. foo (1.2Q);
  22595. bar (1.2Q);
  22596. ;
  22597. return 0;
  22598. }
  22599. _ACEOF
  22600. if ac_fn_c_try_link "$LINENO"; then :
  22601. libgfor_cv_have_float128=yes
  22602. else
  22603. libgfor_cv_have_float128=no
  22604. fi
  22605. rm -f core conftest.err conftest.$ac_objext \
  22606. conftest$ac_exeext conftest.$ac_ext
  22607. fi
  22608. fi
  22609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
  22610. $as_echo "$libgfor_cv_have_float128" >&6; }
  22611. if test "x$libgfor_cv_have_float128" = xyes; then
  22612. $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
  22613. ac_xsave_c_werror_flag=$ac_c_werror_flag
  22614. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
  22615. $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
  22616. if ${libgfor_cv_have_as_needed+:} false; then :
  22617. $as_echo_n "(cached) " >&6
  22618. else
  22619. # Test for native Solaris options first.
  22620. # No whitespace after -z to pass it through -Wl.
  22621. libgfor_cv_as_needed_option="-zignore"
  22622. libgfor_cv_no_as_needed_option="-zrecord"
  22623. save_LDFLAGS="$LDFLAGS"
  22624. LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
  22625. libgfor_cv_have_as_needed=no
  22626. ac_c_werror_flag=yes
  22627. if test x$gcc_no_link = xyes; then
  22628. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22629. fi
  22630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22631. /* end confdefs.h. */
  22632. int
  22633. main ()
  22634. {
  22635. ;
  22636. return 0;
  22637. }
  22638. _ACEOF
  22639. if ac_fn_c_try_link "$LINENO"; then :
  22640. libgfor_cv_have_as_needed=yes
  22641. else
  22642. libgfor_cv_have_as_needed=no
  22643. fi
  22644. rm -f core conftest.err conftest.$ac_objext \
  22645. conftest$ac_exeext conftest.$ac_ext
  22646. LDFLAGS="$save_LDFLAGS"
  22647. if test "x$libgfor_cv_have_as_needed" = xno; then
  22648. libgfor_cv_as_needed_option="--as-needed"
  22649. libgfor_cv_no_as_needed_option="--no-as-needed"
  22650. save_LDFLAGS="$LDFLAGS"
  22651. LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
  22652. libgfor_cv_have_as_needed=no
  22653. ac_c_werror_flag=yes
  22654. if test x$gcc_no_link = xyes; then
  22655. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22656. fi
  22657. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22658. /* end confdefs.h. */
  22659. int
  22660. main ()
  22661. {
  22662. ;
  22663. return 0;
  22664. }
  22665. _ACEOF
  22666. if ac_fn_c_try_link "$LINENO"; then :
  22667. libgfor_cv_have_as_needed=yes
  22668. else
  22669. libgfor_cv_have_as_needed=no
  22670. fi
  22671. rm -f core conftest.err conftest.$ac_objext \
  22672. conftest$ac_exeext conftest.$ac_ext
  22673. LDFLAGS="$save_LDFLAGS"
  22674. fi
  22675. ac_c_werror_flag=$ac_xsave_c_werror_flag
  22676. fi
  22677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
  22678. $as_echo "$libgfor_cv_have_as_needed" >&6; }
  22679. if test "x$libgfor_cv_have_as_needed" = xyes; then
  22680. LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
  22681. else
  22682. LIBQUADSPEC="-lquadmath"
  22683. fi
  22684. if test -f ../libquadmath/libquadmath.la; then
  22685. LIBQUADLIB=../libquadmath/libquadmath.la
  22686. LIBQUADLIB_DEP=../libquadmath/libquadmath.la
  22687. LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
  22688. else
  22689. LIBQUADLIB="-lquadmath"
  22690. LIBQUADLIB_DEP=
  22691. LIBQUADINCLUDE=
  22692. fi
  22693. fi
  22694. else
  22695. # for --disable-quadmath
  22696. LIBQUADLIB=
  22697. LIBQUADLIB_DEP=
  22698. LIBQUADINCLUDE=
  22699. fi
  22700. if test "x$libgfor_cv_have_float128" = xyes; then
  22701. LIBGFOR_BUILD_QUAD_TRUE=
  22702. LIBGFOR_BUILD_QUAD_FALSE='#'
  22703. else
  22704. LIBGFOR_BUILD_QUAD_TRUE='#'
  22705. LIBGFOR_BUILD_QUAD_FALSE=
  22706. fi
  22707. # Check for GNU libc feenableexcept
  22708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
  22709. $as_echo_n "checking for feenableexcept in -lm... " >&6; }
  22710. if ${ac_cv_lib_m_feenableexcept+:} false; then :
  22711. $as_echo_n "(cached) " >&6
  22712. else
  22713. ac_check_lib_save_LIBS=$LIBS
  22714. LIBS="-lm $LIBS"
  22715. if test x$gcc_no_link = xyes; then
  22716. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22717. fi
  22718. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22719. /* end confdefs.h. */
  22720. /* Override any GCC internal prototype to avoid an error.
  22721. Use char because int might match the return type of a GCC
  22722. builtin and then its argument prototype would still apply. */
  22723. #ifdef __cplusplus
  22724. extern "C"
  22725. #endif
  22726. char feenableexcept ();
  22727. int
  22728. main ()
  22729. {
  22730. return feenableexcept ();
  22731. ;
  22732. return 0;
  22733. }
  22734. _ACEOF
  22735. if ac_fn_c_try_link "$LINENO"; then :
  22736. ac_cv_lib_m_feenableexcept=yes
  22737. else
  22738. ac_cv_lib_m_feenableexcept=no
  22739. fi
  22740. rm -f core conftest.err conftest.$ac_objext \
  22741. conftest$ac_exeext conftest.$ac_ext
  22742. LIBS=$ac_check_lib_save_LIBS
  22743. fi
  22744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
  22745. $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
  22746. if test "x$ac_cv_lib_m_feenableexcept" = xyes; then :
  22747. have_feenableexcept=yes
  22748. $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
  22749. fi
  22750. # At least for glibc, clock_gettime is in librt. But don't
  22751. # pull that in if it still doesn't give us the function we want. This
  22752. # test is copied from libgomp, and modified to not link in -lrt as
  22753. # libgfortran calls clock_gettime via a weak reference if it's found
  22754. # in librt.
  22755. if test "$ac_cv_func_clock_gettime" = no; then
  22756. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
  22757. $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  22758. if ${ac_cv_lib_rt_clock_gettime+:} false; then :
  22759. $as_echo_n "(cached) " >&6
  22760. else
  22761. ac_check_lib_save_LIBS=$LIBS
  22762. LIBS="-lrt $LIBS"
  22763. if test x$gcc_no_link = xyes; then
  22764. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22765. fi
  22766. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22767. /* end confdefs.h. */
  22768. /* Override any GCC internal prototype to avoid an error.
  22769. Use char because int might match the return type of a GCC
  22770. builtin and then its argument prototype would still apply. */
  22771. #ifdef __cplusplus
  22772. extern "C"
  22773. #endif
  22774. char clock_gettime ();
  22775. int
  22776. main ()
  22777. {
  22778. return clock_gettime ();
  22779. ;
  22780. return 0;
  22781. }
  22782. _ACEOF
  22783. if ac_fn_c_try_link "$LINENO"; then :
  22784. ac_cv_lib_rt_clock_gettime=yes
  22785. else
  22786. ac_cv_lib_rt_clock_gettime=no
  22787. fi
  22788. rm -f core conftest.err conftest.$ac_objext \
  22789. conftest$ac_exeext conftest.$ac_ext
  22790. LIBS=$ac_check_lib_save_LIBS
  22791. fi
  22792. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
  22793. $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  22794. if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
  22795. $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
  22796. fi
  22797. fi
  22798. # Check for SysV fpsetmask
  22799. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
  22800. $as_echo_n "checking whether fpsetmask is present... " >&6; }
  22801. if ${libgfor_cv_have_fpsetmask+:} false; then :
  22802. $as_echo_n "(cached) " >&6
  22803. else
  22804. if test x$gcc_no_link = xyes; then
  22805. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22806. fi
  22807. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22808. /* end confdefs.h. */
  22809. #if HAVE_FLOATINGPOINT_H
  22810. # include <floatingpoint.h>
  22811. #endif /* HAVE_FLOATINGPOINT_H */
  22812. #if HAVE_IEEEFP_H
  22813. # include <ieeefp.h>
  22814. #endif /* HAVE_IEEEFP_H */
  22815. int
  22816. main ()
  22817. {
  22818. fpsetmask(0);
  22819. ;
  22820. return 0;
  22821. }
  22822. _ACEOF
  22823. if ac_fn_c_try_link "$LINENO"; then :
  22824. eval "libgfor_cv_have_fpsetmask=yes"
  22825. else
  22826. eval "libgfor_cv_have_fpsetmask=no"
  22827. fi
  22828. rm -f core conftest.err conftest.$ac_objext \
  22829. conftest$ac_exeext conftest.$ac_ext
  22830. fi
  22831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
  22832. $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
  22833. if test x"$libgfor_cv_have_fpsetmask" = xyes; then
  22834. have_fpsetmask=yes
  22835. $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
  22836. fi
  22837. ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
  22838. #ifdef HAVE_IEEEFP_H
  22839. #include <ieeefp.h>
  22840. #endif
  22841. #include <math.h>
  22842. "
  22843. if test "x$ac_cv_type_fp_except" = xyes; then :
  22844. cat >>confdefs.h <<_ACEOF
  22845. #define HAVE_FP_EXCEPT 1
  22846. _ACEOF
  22847. fi
  22848. ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
  22849. #ifdef HAVE_IEEEFP_H
  22850. #include <ieeefp.h>
  22851. #endif
  22852. #include <math.h>
  22853. "
  22854. if test "x$ac_cv_type_fp_except_t" = xyes; then :
  22855. cat >>confdefs.h <<_ACEOF
  22856. #define HAVE_FP_EXCEPT_T 1
  22857. _ACEOF
  22858. fi
  22859. ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
  22860. #ifdef HAVE_IEEEFP_H
  22861. #include <ieeefp.h>
  22862. #endif
  22863. #include <math.h>
  22864. "
  22865. if test "x$ac_cv_type_fp_rnd" = xyes; then :
  22866. cat >>confdefs.h <<_ACEOF
  22867. #define HAVE_FP_RND 1
  22868. _ACEOF
  22869. fi
  22870. ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
  22871. #ifdef HAVE_IEEEFP_H
  22872. #include <ieeefp.h>
  22873. #endif
  22874. #include <math.h>
  22875. "
  22876. if test "x$ac_cv_type_fp_rnd_t" = xyes; then :
  22877. cat >>confdefs.h <<_ACEOF
  22878. #define HAVE_FP_RND_T 1
  22879. _ACEOF
  22880. fi
  22881. # Check whether we have fpsetsticky or fpresetsticky
  22882. ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
  22883. if test "x$ac_cv_func_fpsetsticky" = xyes; then :
  22884. have_fpsetsticky=yes
  22885. $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
  22886. fi
  22887. ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
  22888. if test "x$ac_cv_func_fpresetsticky" = xyes; then :
  22889. have_fpresetsticky=yes
  22890. $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
  22891. fi
  22892. # Check for AIX fp_trap and fp_enable
  22893. ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
  22894. if test "x$ac_cv_func_fp_trap" = xyes; then :
  22895. have_fp_trap=yes
  22896. $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
  22897. fi
  22898. ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
  22899. if test "x$ac_cv_func_fp_enable" = xyes; then :
  22900. have_fp_enable=yes
  22901. $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
  22902. fi
  22903. # Check if _SOFT_FLOAT is defined
  22904. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
  22905. $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
  22906. if ${ac_cv_defined__SOFT_FLOAT+:} false; then :
  22907. $as_echo_n "(cached) " >&6
  22908. else
  22909. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22910. /* end confdefs.h. */
  22911. int
  22912. main ()
  22913. {
  22914. #ifdef _SOFT_FLOAT
  22915. int ok;
  22916. #else
  22917. choke me
  22918. #endif
  22919. ;
  22920. return 0;
  22921. }
  22922. _ACEOF
  22923. if ac_fn_c_try_compile "$LINENO"; then :
  22924. ac_cv_defined__SOFT_FLOAT=yes
  22925. else
  22926. ac_cv_defined__SOFT_FLOAT=no
  22927. fi
  22928. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22929. fi
  22930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
  22931. $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
  22932. if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
  22933. have_soft_float=yes
  22934. fi
  22935. # Runs configure.host to set up necessary host-dependent shell variables.
  22936. # We then display a message about it, and propagate them through the
  22937. # build chain.
  22938. . ${srcdir}/configure.host
  22939. { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
  22940. $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
  22941. { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
  22942. $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
  22943. FPU_HOST_HEADER=config/${fpu_host}.h
  22944. # Whether we will build the IEEE modules
  22945. if test x${ieee_support} = xyes; then
  22946. IEEE_SUPPORT_TRUE=
  22947. IEEE_SUPPORT_FALSE='#'
  22948. else
  22949. IEEE_SUPPORT_TRUE='#'
  22950. IEEE_SUPPORT_FALSE=
  22951. fi
  22952. # Some targets require additional compiler options for IEEE compatibility.
  22953. IEEE_FLAGS="${ieee_flags}"
  22954. # Conditionalize the makefile for this target machine.
  22955. tmake_file_=
  22956. for f in ${tmake_file}
  22957. do
  22958. if test -f ${srcdir}/config/$f
  22959. then
  22960. tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
  22961. fi
  22962. done
  22963. tmake_file="${tmake_file_}"
  22964. # Check for POSIX getpwuid_r
  22965. #
  22966. # There are two versions of getpwuid_r, the POSIX one with 5
  22967. # arguments, and another one with 4 arguments used by at least HP-UX
  22968. # 10.2.
  22969. if test "$ac_cv_func_getpwuid_r" = "yes"; then
  22970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
  22971. $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
  22972. if ${libgfor_cv_posix_getpwuid_r+:} false; then :
  22973. $as_echo_n "(cached) " >&6
  22974. else
  22975. if test x$gcc_no_link = xyes; then
  22976. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  22977. fi
  22978. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22979. /* end confdefs.h. */
  22980. #include <stdio.h>
  22981. #include <sys/types.h>
  22982. #include <pwd.h>
  22983. int
  22984. main ()
  22985. {
  22986. getpwuid_r(0, NULL, NULL, 0, NULL);
  22987. ;
  22988. return 0;
  22989. }
  22990. _ACEOF
  22991. if ac_fn_c_try_link "$LINENO"; then :
  22992. libgfor_cv_posix_getpwuid_r="yes"
  22993. else
  22994. libgfor_cv_posix_getpwuid_r="no"
  22995. fi
  22996. rm -f core conftest.err conftest.$ac_objext \
  22997. conftest$ac_exeext conftest.$ac_ext
  22998. fi
  22999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
  23000. $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
  23001. fi
  23002. if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
  23003. $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
  23004. fi
  23005. # Check out attribute support.
  23006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
  23007. $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
  23008. if ${libgfor_cv_have_attribute_visibility+:} false; then :
  23009. $as_echo_n "(cached) " >&6
  23010. else
  23011. save_CFLAGS="$CFLAGS"
  23012. CFLAGS="$CFLAGS -Werror"
  23013. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23014. /* end confdefs.h. */
  23015. void __attribute__((visibility("hidden"))) foo(void) { }
  23016. int
  23017. main ()
  23018. {
  23019. ;
  23020. return 0;
  23021. }
  23022. _ACEOF
  23023. if ac_fn_c_try_compile "$LINENO"; then :
  23024. libgfor_cv_have_attribute_visibility=yes
  23025. else
  23026. libgfor_cv_have_attribute_visibility=no
  23027. fi
  23028. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23029. CFLAGS="$save_CFLAGS"
  23030. fi
  23031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
  23032. $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
  23033. if test $libgfor_cv_have_attribute_visibility = yes; then
  23034. $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
  23035. fi
  23036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
  23037. $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
  23038. if ${libgfor_cv_have_attribute_alias+:} false; then :
  23039. $as_echo_n "(cached) " >&6
  23040. else
  23041. if test x$gcc_no_link = xyes; then
  23042. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  23043. fi
  23044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23045. /* end confdefs.h. */
  23046. void foo(void) { }
  23047. extern void bar(void) __attribute__((alias("foo")));
  23048. int
  23049. main ()
  23050. {
  23051. bar();
  23052. ;
  23053. return 0;
  23054. }
  23055. _ACEOF
  23056. if ac_fn_c_try_link "$LINENO"; then :
  23057. libgfor_cv_have_attribute_alias=yes
  23058. else
  23059. libgfor_cv_have_attribute_alias=no
  23060. fi
  23061. rm -f core conftest.err conftest.$ac_objext \
  23062. conftest$ac_exeext conftest.$ac_ext
  23063. fi
  23064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
  23065. $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
  23066. if test $libgfor_cv_have_attribute_alias = yes; then
  23067. $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
  23068. fi
  23069. # Check out atomic builtins support.
  23070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
  23071. $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
  23072. if ${libgfor_cv_have_atomic_fetch_add+:} false; then :
  23073. $as_echo_n "(cached) " >&6
  23074. else
  23075. if test x$gcc_no_link = xyes; then
  23076. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  23077. fi
  23078. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23079. /* end confdefs.h. */
  23080. int foovar = 0;
  23081. int
  23082. main ()
  23083. {
  23084. if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
  23085. if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
  23086. ;
  23087. return 0;
  23088. }
  23089. _ACEOF
  23090. if ac_fn_c_try_link "$LINENO"; then :
  23091. libgfor_cv_have_atomic_fetch_add=yes
  23092. else
  23093. libgfor_cv_have_atomic_fetch_add=no
  23094. fi
  23095. rm -f core conftest.err conftest.$ac_objext \
  23096. conftest$ac_exeext conftest.$ac_ext
  23097. fi
  23098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
  23099. $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
  23100. if test $libgfor_cv_have_atomic_fetch_add = yes; then
  23101. $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
  23102. fi
  23103. # Check out #pragma weak.
  23104. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
  23105. $as_echo_n "checking whether pragma weak works... " >&6; }
  23106. if ${libgfor_cv_have_pragma_weak+:} false; then :
  23107. $as_echo_n "(cached) " >&6
  23108. else
  23109. gfor_save_CFLAGS="$CFLAGS"
  23110. CFLAGS="$CFLAGS -Wunknown-pragmas"
  23111. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23112. /* end confdefs.h. */
  23113. void foo (void);
  23114. #pragma weak foo
  23115. int
  23116. main ()
  23117. {
  23118. if (foo) foo ();
  23119. ;
  23120. return 0;
  23121. }
  23122. _ACEOF
  23123. if ac_fn_c_try_compile "$LINENO"; then :
  23124. libgfor_cv_have_pragma_weak=yes
  23125. else
  23126. libgfor_cv_have_pragma_weak=no
  23127. fi
  23128. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23129. fi
  23130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
  23131. $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
  23132. if test $libgfor_cv_have_pragma_weak = yes; then
  23133. $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
  23134. fi
  23135. case "$host" in
  23136. *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
  23137. $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
  23138. ;;
  23139. esac
  23140. # Check out weakref support.
  23141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
  23142. $as_echo_n "checking whether the target supports weakref... " >&6; }
  23143. if ${libgfor_cv_have_weakref+:} false; then :
  23144. $as_echo_n "(cached) " >&6
  23145. else
  23146. save_CFLAGS="$CFLAGS"
  23147. CFLAGS="$CFLAGS -Wunknown-pragmas -Werror"
  23148. if test x$gcc_no_link = xyes; then
  23149. as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  23150. fi
  23151. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23152. /* end confdefs.h. */
  23153. static int mytoto (int) __attribute__((__weakref__("toto")));
  23154. int
  23155. main ()
  23156. {
  23157. return (mytoto != 0);
  23158. ;
  23159. return 0;
  23160. }
  23161. _ACEOF
  23162. if ac_fn_c_try_link "$LINENO"; then :
  23163. libgfor_cv_have_weakref=yes
  23164. else
  23165. libgfor_cv_have_weakref=no
  23166. fi
  23167. rm -f core conftest.err conftest.$ac_objext \
  23168. conftest$ac_exeext conftest.$ac_ext
  23169. CFLAGS="$save_CFLAGS"
  23170. fi
  23171. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
  23172. $as_echo "$libgfor_cv_have_weakref" >&6; }
  23173. if test $libgfor_cv_have_weakref = yes; then
  23174. $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
  23175. fi
  23176. # Various other checks on target
  23177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
  23178. $as_echo_n "checking whether the target can unlink an open file... " >&6; }
  23179. if ${libgfor_cv_have_unlink_open_file+:} false; then :
  23180. $as_echo_n "(cached) " >&6
  23181. else
  23182. if test "$cross_compiling" = yes; then :
  23183. case "${target}" in
  23184. *mingw*) libgfor_cv_have_unlink_open_file=no ;;
  23185. *) libgfor_cv_have_unlink_open_file=yes;;
  23186. esac
  23187. else
  23188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23189. /* end confdefs.h. */
  23190. #include <errno.h>
  23191. #include <fcntl.h>
  23192. #include <unistd.h>
  23193. #include <sys/stat.h>
  23194. int main ()
  23195. {
  23196. int fd;
  23197. fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
  23198. if (fd <= 0)
  23199. return 0;
  23200. if (unlink ("testfile") == -1)
  23201. return 1;
  23202. write (fd, "This is a test\n", 15);
  23203. close (fd);
  23204. if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
  23205. return 0;
  23206. else
  23207. return 1;
  23208. }
  23209. _ACEOF
  23210. if ac_fn_c_try_run "$LINENO"; then :
  23211. libgfor_cv_have_unlink_open_file=yes
  23212. else
  23213. libgfor_cv_have_unlink_open_file=no
  23214. fi
  23215. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23216. conftest.$ac_objext conftest.beam conftest.$ac_ext
  23217. fi
  23218. fi
  23219. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
  23220. $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
  23221. if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
  23222. $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
  23223. fi
  23224. # Check whether line terminator is LF or CRLF
  23225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
  23226. $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
  23227. if ${libgfor_cv_have_crlf+:} false; then :
  23228. $as_echo_n "(cached) " >&6
  23229. else
  23230. if test "$cross_compiling" = yes; then :
  23231. case "${target}" in
  23232. *mingw*) libgfor_cv_have_crlf=yes ;;
  23233. *) libgfor_cv_have_crlf=no;;
  23234. esac
  23235. else
  23236. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23237. /* end confdefs.h. */
  23238. /* This test program should exit with status 0 if system uses a CRLF as
  23239. line terminator, and status 1 otherwise.
  23240. Since it is used to check for mingw systems, and should return 0 in any
  23241. other case, in case of a failure we will not use CRLF. */
  23242. #include <sys/stat.h>
  23243. #include <stdlib.h>
  23244. #include <fcntl.h>
  23245. #include <stdio.h>
  23246. int main ()
  23247. {
  23248. #ifndef O_BINARY
  23249. exit(1);
  23250. #else
  23251. int fd, bytes;
  23252. char buff[5];
  23253. fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
  23254. if (fd < 0)
  23255. exit(1);
  23256. if (write (fd, "\n", 1) < 0)
  23257. perror ("write");
  23258. close (fd);
  23259. if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
  23260. exit(1);
  23261. bytes = read (fd, buff, 5);
  23262. if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
  23263. exit(0);
  23264. else
  23265. exit(1);
  23266. #endif
  23267. }
  23268. _ACEOF
  23269. if ac_fn_c_try_run "$LINENO"; then :
  23270. libgfor_cv_have_crlf=yes
  23271. else
  23272. libgfor_cv_have_crlf=no
  23273. fi
  23274. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23275. conftest.$ac_objext conftest.beam conftest.$ac_ext
  23276. fi
  23277. fi
  23278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
  23279. $as_echo "$libgfor_cv_have_crlf" >&6; }
  23280. if test x"$libgfor_cv_have_crlf" = xyes; then
  23281. $as_echo "#define HAVE_CRLF 1" >>confdefs.h
  23282. fi
  23283. # Check whether we support AVX extensions
  23284. ac_save_CFLAGS="$CFLAGS"
  23285. CFLAGS="-O2 -mavx"
  23286. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23287. /* end confdefs.h. */
  23288. void _mm256_zeroall (void)
  23289. {
  23290. __builtin_ia32_vzeroall ();
  23291. }
  23292. int
  23293. main ()
  23294. {
  23295. ;
  23296. return 0;
  23297. }
  23298. _ACEOF
  23299. if ac_fn_c_try_compile "$LINENO"; then :
  23300. $as_echo "#define HAVE_AVX 1" >>confdefs.h
  23301. fi
  23302. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23303. CFLAGS="$ac_save_CFLAGS"
  23304. # Check whether we support AVX2 extensions
  23305. ac_save_CFLAGS="$CFLAGS"
  23306. CFLAGS="-O2 -mavx2"
  23307. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23308. /* end confdefs.h. */
  23309. typedef long long __v4di __attribute__ ((__vector_size__ (32)));
  23310. __v4di
  23311. mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
  23312. {
  23313. return __builtin_ia32_andnotsi256 (__X, __Y);
  23314. }
  23315. int
  23316. main ()
  23317. {
  23318. ;
  23319. return 0;
  23320. }
  23321. _ACEOF
  23322. if ac_fn_c_try_compile "$LINENO"; then :
  23323. $as_echo "#define HAVE_AVX2 1" >>confdefs.h
  23324. fi
  23325. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23326. CFLAGS="$ac_save_CFLAGS"
  23327. # Check whether we support AVX512f extensions
  23328. ac_save_CFLAGS="$CFLAGS"
  23329. CFLAGS="-O2 -mavx512f"
  23330. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23331. /* end confdefs.h. */
  23332. typedef double __m512d __attribute__ ((__vector_size__ (64)));
  23333. __m512d _mm512_add (__m512d a)
  23334. {
  23335. __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
  23336. /* For -m64/-mx32 also verify that code will work even if
  23337. the target uses call saved zmm16+ and needs to emit
  23338. unwind info for them (e.g. on mingw). See PR79127. */
  23339. #ifdef __x86_64__
  23340. asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
  23341. #endif
  23342. return b;
  23343. }
  23344. int
  23345. main ()
  23346. {
  23347. ;
  23348. return 0;
  23349. }
  23350. _ACEOF
  23351. if ac_fn_c_try_compile "$LINENO"; then :
  23352. $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
  23353. fi
  23354. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23355. CFLAGS="$ac_save_CFLAGS"
  23356. # Check for FMA3 extensions
  23357. ac_save_CFLAGS="$CFLAGS"
  23358. CFLAGS="-O2 -mfma -mno-fma4"
  23359. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23360. /* end confdefs.h. */
  23361. typedef float __m128 __attribute__ ((__vector_size__ (16)));
  23362. typedef float __v4sf __attribute__ ((__vector_size__ (16)));
  23363. __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
  23364. {
  23365. return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
  23366. (__v4sf)__B,
  23367. (__v4sf)__C);
  23368. }
  23369. int
  23370. main ()
  23371. {
  23372. ;
  23373. return 0;
  23374. }
  23375. _ACEOF
  23376. if ac_fn_c_try_compile "$LINENO"; then :
  23377. $as_echo "#define HAVE_FMA3 1" >>confdefs.h
  23378. fi
  23379. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23380. CFLAGS="$ac_save_CFLAGS"
  23381. # Check for FMA4 extensions
  23382. ac_save_CFLAGS="$CFLAGS"
  23383. CFLAGS="-O2 -mfma4 -mno-fma"
  23384. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23385. /* end confdefs.h. */
  23386. typedef float __m128 __attribute__ ((__vector_size__ (16)));
  23387. typedef float __v4sf __attribute__ ((__vector_size__ (16)));
  23388. __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
  23389. {
  23390. return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
  23391. (__v4sf)__B,
  23392. (__v4sf)__C);
  23393. }
  23394. int
  23395. main ()
  23396. {
  23397. ;
  23398. return 0;
  23399. }
  23400. _ACEOF
  23401. if ac_fn_c_try_compile "$LINENO"; then :
  23402. $as_echo "#define HAVE_FMA4 1" >>confdefs.h
  23403. fi
  23404. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23405. CFLAGS="$ac_save_CFLAGS"
  23406. # Check if AVX128 works
  23407. ac_save_CFLAGS="$CFLAGS"
  23408. CFLAGS="-O2 -mavx -mprefer-avx128"
  23409. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23410. /* end confdefs.h. */
  23411. void foo()
  23412. {
  23413. }
  23414. int
  23415. main ()
  23416. {
  23417. ;
  23418. return 0;
  23419. }
  23420. _ACEOF
  23421. if ac_fn_c_try_compile "$LINENO"; then :
  23422. $as_echo "#define HAVE_AVX128 1" >>confdefs.h
  23423. if true; then
  23424. HAVE_AVX128_TRUE=
  23425. HAVE_AVX128_FALSE='#'
  23426. else
  23427. HAVE_AVX128_TRUE='#'
  23428. HAVE_AVX128_FALSE=
  23429. fi
  23430. else
  23431. if false; then
  23432. HAVE_AVX128_TRUE=
  23433. HAVE_AVX128_FALSE='#'
  23434. else
  23435. HAVE_AVX128_TRUE='#'
  23436. HAVE_AVX128_FALSE=
  23437. fi
  23438. fi
  23439. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23440. CFLAGS="$ac_save_CFLAGS"
  23441. # Determine what GCC version number to use in filesystem paths.
  23442. get_gcc_base_ver="cat"
  23443. # Check whether --with-gcc-major-version-only was given.
  23444. if test "${with_gcc_major_version_only+set}" = set; then :
  23445. withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
  23446. get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
  23447. fi
  23448. fi
  23449. cat >confcache <<\_ACEOF
  23450. # This file is a shell script that caches the results of configure
  23451. # tests run on this system so they can be shared between configure
  23452. # scripts and configure runs, see configure's option --config-cache.
  23453. # It is not useful on other systems. If it contains results you don't
  23454. # want to keep, you may remove or edit it.
  23455. #
  23456. # config.status only pays attention to the cache file if you give it
  23457. # the --recheck option to rerun configure.
  23458. #
  23459. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  23460. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  23461. # following values.
  23462. _ACEOF
  23463. # The following way of writing the cache mishandles newlines in values,
  23464. # but we know of no workaround that is simple, portable, and efficient.
  23465. # So, we kill variables containing newlines.
  23466. # Ultrix sh set writes to stderr and can't be redirected directly,
  23467. # and sets the high bit in the cache file unless we assign to the vars.
  23468. (
  23469. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  23470. eval ac_val=\$$ac_var
  23471. case $ac_val in #(
  23472. *${as_nl}*)
  23473. case $ac_var in #(
  23474. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  23475. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  23476. esac
  23477. case $ac_var in #(
  23478. _ | IFS | as_nl) ;; #(
  23479. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  23480. *) { eval $ac_var=; unset $ac_var;} ;;
  23481. esac ;;
  23482. esac
  23483. done
  23484. (set) 2>&1 |
  23485. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  23486. *${as_nl}ac_space=\ *)
  23487. # `set' does not quote correctly, so add quotes: double-quote
  23488. # substitution turns \\\\ into \\, and sed turns \\ into \.
  23489. sed -n \
  23490. "s/'/'\\\\''/g;
  23491. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  23492. ;; #(
  23493. *)
  23494. # `set' quotes correctly as required by POSIX, so do not add quotes.
  23495. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  23496. ;;
  23497. esac |
  23498. sort
  23499. ) |
  23500. sed '
  23501. /^ac_cv_env_/b end
  23502. t clear
  23503. :clear
  23504. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  23505. t end
  23506. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  23507. :end' >>confcache
  23508. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  23509. if test -w "$cache_file"; then
  23510. if test "x$cache_file" != "x/dev/null"; then
  23511. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  23512. $as_echo "$as_me: updating cache $cache_file" >&6;}
  23513. if test ! -f "$cache_file" || test -h "$cache_file"; then
  23514. cat confcache >"$cache_file"
  23515. else
  23516. case $cache_file in #(
  23517. */* | ?:*)
  23518. mv -f confcache "$cache_file"$$ &&
  23519. mv -f "$cache_file"$$ "$cache_file" ;; #(
  23520. *)
  23521. mv -f confcache "$cache_file" ;;
  23522. esac
  23523. fi
  23524. fi
  23525. else
  23526. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  23527. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  23528. fi
  23529. fi
  23530. rm -f confcache
  23531. if test ${multilib} = yes; then
  23532. multilib_arg="--enable-multilib"
  23533. else
  23534. multilib_arg=
  23535. fi
  23536. # Write our Makefile and spec file.
  23537. ac_config_files="$ac_config_files Makefile libgfortran.spec"
  23538. cat >confcache <<\_ACEOF
  23539. # This file is a shell script that caches the results of configure
  23540. # tests run on this system so they can be shared between configure
  23541. # scripts and configure runs, see configure's option --config-cache.
  23542. # It is not useful on other systems. If it contains results you don't
  23543. # want to keep, you may remove or edit it.
  23544. #
  23545. # config.status only pays attention to the cache file if you give it
  23546. # the --recheck option to rerun configure.
  23547. #
  23548. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  23549. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  23550. # following values.
  23551. _ACEOF
  23552. # The following way of writing the cache mishandles newlines in values,
  23553. # but we know of no workaround that is simple, portable, and efficient.
  23554. # So, we kill variables containing newlines.
  23555. # Ultrix sh set writes to stderr and can't be redirected directly,
  23556. # and sets the high bit in the cache file unless we assign to the vars.
  23557. (
  23558. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  23559. eval ac_val=\$$ac_var
  23560. case $ac_val in #(
  23561. *${as_nl}*)
  23562. case $ac_var in #(
  23563. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  23564. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  23565. esac
  23566. case $ac_var in #(
  23567. _ | IFS | as_nl) ;; #(
  23568. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  23569. *) { eval $ac_var=; unset $ac_var;} ;;
  23570. esac ;;
  23571. esac
  23572. done
  23573. (set) 2>&1 |
  23574. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  23575. *${as_nl}ac_space=\ *)
  23576. # `set' does not quote correctly, so add quotes: double-quote
  23577. # substitution turns \\\\ into \\, and sed turns \\ into \.
  23578. sed -n \
  23579. "s/'/'\\\\''/g;
  23580. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  23581. ;; #(
  23582. *)
  23583. # `set' quotes correctly as required by POSIX, so do not add quotes.
  23584. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  23585. ;;
  23586. esac |
  23587. sort
  23588. ) |
  23589. sed '
  23590. /^ac_cv_env_/b end
  23591. t clear
  23592. :clear
  23593. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  23594. t end
  23595. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  23596. :end' >>confcache
  23597. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  23598. if test -w "$cache_file"; then
  23599. if test "x$cache_file" != "x/dev/null"; then
  23600. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  23601. $as_echo "$as_me: updating cache $cache_file" >&6;}
  23602. if test ! -f "$cache_file" || test -h "$cache_file"; then
  23603. cat confcache >"$cache_file"
  23604. else
  23605. case $cache_file in #(
  23606. */* | ?:*)
  23607. mv -f confcache "$cache_file"$$ &&
  23608. mv -f "$cache_file"$$ "$cache_file" ;; #(
  23609. *)
  23610. mv -f confcache "$cache_file" ;;
  23611. esac
  23612. fi
  23613. fi
  23614. else
  23615. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  23616. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  23617. fi
  23618. fi
  23619. rm -f confcache
  23620. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  23621. # Let make expand exec_prefix.
  23622. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  23623. DEFS=-DHAVE_CONFIG_H
  23624. ac_libobjs=
  23625. ac_ltlibobjs=
  23626. U=
  23627. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  23628. # 1. Remove the extension, and $U if already installed.
  23629. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  23630. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  23631. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  23632. # will be set to the directory where LIBOBJS objects are built.
  23633. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  23634. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  23635. done
  23636. LIBOBJS=$ac_libobjs
  23637. LTLIBOBJS=$ac_ltlibobjs
  23638. if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
  23639. as_fn_error $? "conditional \"onestep\" was never defined.
  23640. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23641. fi
  23642. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  23643. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  23644. if test -n "$am_sleep_pid"; then
  23645. # Hide warnings about reused PIDs.
  23646. wait $am_sleep_pid 2>/dev/null
  23647. fi
  23648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  23649. $as_echo "done" >&6; }
  23650. if test -n "$EXEEXT"; then
  23651. am__EXEEXT_TRUE=
  23652. am__EXEEXT_FALSE='#'
  23653. else
  23654. am__EXEEXT_TRUE='#'
  23655. am__EXEEXT_FALSE=
  23656. fi
  23657. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  23658. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  23659. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23660. fi
  23661. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  23662. as_fn_error $? "conditional \"AMDEP\" was never defined.
  23663. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23664. fi
  23665. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  23666. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  23667. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23668. fi
  23669. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  23670. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  23671. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23672. fi
  23673. if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
  23674. as_fn_error $? "conditional \"HAVE_REAL_17\" was never defined.
  23675. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23676. fi
  23677. if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
  23678. as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
  23679. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23680. fi
  23681. if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
  23682. as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
  23683. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23684. fi
  23685. if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
  23686. as_fn_error $? "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
  23687. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23688. fi
  23689. if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
  23690. as_fn_error $? "conditional \"LIBGFOR_MINIMAL\" was never defined.
  23691. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23692. fi
  23693. if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
  23694. as_fn_error $? "conditional \"HAVE_HWCAP\" was never defined.
  23695. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23696. fi
  23697. if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
  23698. as_fn_error $? "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
  23699. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23700. fi
  23701. if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
  23702. as_fn_error $? "conditional \"IEEE_SUPPORT\" was never defined.
  23703. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23704. fi
  23705. if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
  23706. as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
  23707. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23708. fi
  23709. if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
  23710. as_fn_error $? "conditional \"HAVE_AVX128\" was never defined.
  23711. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23712. fi
  23713. : "${CONFIG_STATUS=./config.status}"
  23714. ac_write_fail=0
  23715. ac_clean_files_save=$ac_clean_files
  23716. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  23717. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  23718. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  23719. as_write_fail=0
  23720. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  23721. #! $SHELL
  23722. # Generated by $as_me.
  23723. # Run this file to recreate the current configuration.
  23724. # Compiler output produced by configure, useful for debugging
  23725. # configure, is in config.log if it exists.
  23726. debug=false
  23727. ac_cs_recheck=false
  23728. ac_cs_silent=false
  23729. SHELL=\${CONFIG_SHELL-$SHELL}
  23730. export SHELL
  23731. _ASEOF
  23732. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  23733. ## -------------------- ##
  23734. ## M4sh Initialization. ##
  23735. ## -------------------- ##
  23736. # Be more Bourne compatible
  23737. DUALCASE=1; export DUALCASE # for MKS sh
  23738. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  23739. emulate sh
  23740. NULLCMD=:
  23741. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23742. # is contrary to our usage. Disable this feature.
  23743. alias -g '${1+"$@"}'='"$@"'
  23744. setopt NO_GLOB_SUBST
  23745. else
  23746. case `(set -o) 2>/dev/null` in #(
  23747. *posix*) :
  23748. set -o posix ;; #(
  23749. *) :
  23750. ;;
  23751. esac
  23752. fi
  23753. as_nl='
  23754. '
  23755. export as_nl
  23756. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  23757. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  23758. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  23759. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  23760. # Prefer a ksh shell builtin over an external printf program on Solaris,
  23761. # but without wasting forks for bash or zsh.
  23762. if test -z "$BASH_VERSION$ZSH_VERSION" \
  23763. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  23764. as_echo='print -r --'
  23765. as_echo_n='print -rn --'
  23766. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  23767. as_echo='printf %s\n'
  23768. as_echo_n='printf %s'
  23769. else
  23770. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  23771. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  23772. as_echo_n='/usr/ucb/echo -n'
  23773. else
  23774. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  23775. as_echo_n_body='eval
  23776. arg=$1;
  23777. case $arg in #(
  23778. *"$as_nl"*)
  23779. expr "X$arg" : "X\\(.*\\)$as_nl";
  23780. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  23781. esac;
  23782. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  23783. '
  23784. export as_echo_n_body
  23785. as_echo_n='sh -c $as_echo_n_body as_echo'
  23786. fi
  23787. export as_echo_body
  23788. as_echo='sh -c $as_echo_body as_echo'
  23789. fi
  23790. # The user is always right.
  23791. if test "${PATH_SEPARATOR+set}" != set; then
  23792. PATH_SEPARATOR=:
  23793. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  23794. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  23795. PATH_SEPARATOR=';'
  23796. }
  23797. fi
  23798. # IFS
  23799. # We need space, tab and new line, in precisely that order. Quoting is
  23800. # there to prevent editors from complaining about space-tab.
  23801. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  23802. # splitting by setting IFS to empty value.)
  23803. IFS=" "" $as_nl"
  23804. # Find who we are. Look in the path if we contain no directory separator.
  23805. as_myself=
  23806. case $0 in #((
  23807. *[\\/]* ) as_myself=$0 ;;
  23808. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23809. for as_dir in $PATH
  23810. do
  23811. IFS=$as_save_IFS
  23812. test -z "$as_dir" && as_dir=.
  23813. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  23814. done
  23815. IFS=$as_save_IFS
  23816. ;;
  23817. esac
  23818. # We did not find ourselves, most probably we were run as `sh COMMAND'
  23819. # in which case we are not to be found in the path.
  23820. if test "x$as_myself" = x; then
  23821. as_myself=$0
  23822. fi
  23823. if test ! -f "$as_myself"; then
  23824. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  23825. exit 1
  23826. fi
  23827. # Unset variables that we do not need and which cause bugs (e.g. in
  23828. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  23829. # suppresses any "Segmentation fault" message there. '((' could
  23830. # trigger a bug in pdksh 5.2.14.
  23831. for as_var in BASH_ENV ENV MAIL MAILPATH
  23832. do eval test x\${$as_var+set} = xset \
  23833. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  23834. done
  23835. PS1='$ '
  23836. PS2='> '
  23837. PS4='+ '
  23838. # NLS nuisances.
  23839. LC_ALL=C
  23840. export LC_ALL
  23841. LANGUAGE=C
  23842. export LANGUAGE
  23843. # CDPATH.
  23844. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  23845. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  23846. # ----------------------------------------
  23847. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  23848. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  23849. # script with STATUS, using 1 if that was 0.
  23850. as_fn_error ()
  23851. {
  23852. as_status=$1; test $as_status -eq 0 && as_status=1
  23853. if test "$4"; then
  23854. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  23855. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  23856. fi
  23857. $as_echo "$as_me: error: $2" >&2
  23858. as_fn_exit $as_status
  23859. } # as_fn_error
  23860. # as_fn_set_status STATUS
  23861. # -----------------------
  23862. # Set $? to STATUS, without forking.
  23863. as_fn_set_status ()
  23864. {
  23865. return $1
  23866. } # as_fn_set_status
  23867. # as_fn_exit STATUS
  23868. # -----------------
  23869. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  23870. as_fn_exit ()
  23871. {
  23872. set +e
  23873. as_fn_set_status $1
  23874. exit $1
  23875. } # as_fn_exit
  23876. # as_fn_unset VAR
  23877. # ---------------
  23878. # Portably unset VAR.
  23879. as_fn_unset ()
  23880. {
  23881. { eval $1=; unset $1;}
  23882. }
  23883. as_unset=as_fn_unset
  23884. # as_fn_append VAR VALUE
  23885. # ----------------------
  23886. # Append the text in VALUE to the end of the definition contained in VAR. Take
  23887. # advantage of any shell optimizations that allow amortized linear growth over
  23888. # repeated appends, instead of the typical quadratic growth present in naive
  23889. # implementations.
  23890. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  23891. eval 'as_fn_append ()
  23892. {
  23893. eval $1+=\$2
  23894. }'
  23895. else
  23896. as_fn_append ()
  23897. {
  23898. eval $1=\$$1\$2
  23899. }
  23900. fi # as_fn_append
  23901. # as_fn_arith ARG...
  23902. # ------------------
  23903. # Perform arithmetic evaluation on the ARGs, and store the result in the
  23904. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  23905. # must be portable across $(()) and expr.
  23906. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  23907. eval 'as_fn_arith ()
  23908. {
  23909. as_val=$(( $* ))
  23910. }'
  23911. else
  23912. as_fn_arith ()
  23913. {
  23914. as_val=`expr "$@" || test $? -eq 1`
  23915. }
  23916. fi # as_fn_arith
  23917. if expr a : '\(a\)' >/dev/null 2>&1 &&
  23918. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  23919. as_expr=expr
  23920. else
  23921. as_expr=false
  23922. fi
  23923. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  23924. as_basename=basename
  23925. else
  23926. as_basename=false
  23927. fi
  23928. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  23929. as_dirname=dirname
  23930. else
  23931. as_dirname=false
  23932. fi
  23933. as_me=`$as_basename -- "$0" ||
  23934. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  23935. X"$0" : 'X\(//\)$' \| \
  23936. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  23937. $as_echo X/"$0" |
  23938. sed '/^.*\/\([^/][^/]*\)\/*$/{
  23939. s//\1/
  23940. q
  23941. }
  23942. /^X\/\(\/\/\)$/{
  23943. s//\1/
  23944. q
  23945. }
  23946. /^X\/\(\/\).*/{
  23947. s//\1/
  23948. q
  23949. }
  23950. s/.*/./; q'`
  23951. # Avoid depending upon Character Ranges.
  23952. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  23953. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  23954. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  23955. as_cr_digits='0123456789'
  23956. as_cr_alnum=$as_cr_Letters$as_cr_digits
  23957. ECHO_C= ECHO_N= ECHO_T=
  23958. case `echo -n x` in #(((((
  23959. -n*)
  23960. case `echo 'xy\c'` in
  23961. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  23962. xy) ECHO_C='\c';;
  23963. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  23964. ECHO_T=' ';;
  23965. esac;;
  23966. *)
  23967. ECHO_N='-n';;
  23968. esac
  23969. rm -f conf$$ conf$$.exe conf$$.file
  23970. if test -d conf$$.dir; then
  23971. rm -f conf$$.dir/conf$$.file
  23972. else
  23973. rm -f conf$$.dir
  23974. mkdir conf$$.dir 2>/dev/null
  23975. fi
  23976. if (echo >conf$$.file) 2>/dev/null; then
  23977. if ln -s conf$$.file conf$$ 2>/dev/null; then
  23978. as_ln_s='ln -s'
  23979. # ... but there are two gotchas:
  23980. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  23981. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  23982. # In both cases, we have to default to `cp -pR'.
  23983. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  23984. as_ln_s='cp -pR'
  23985. elif ln conf$$.file conf$$ 2>/dev/null; then
  23986. as_ln_s=ln
  23987. else
  23988. as_ln_s='cp -pR'
  23989. fi
  23990. else
  23991. as_ln_s='cp -pR'
  23992. fi
  23993. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  23994. rmdir conf$$.dir 2>/dev/null
  23995. # as_fn_mkdir_p
  23996. # -------------
  23997. # Create "$as_dir" as a directory, including parents if necessary.
  23998. as_fn_mkdir_p ()
  23999. {
  24000. case $as_dir in #(
  24001. -*) as_dir=./$as_dir;;
  24002. esac
  24003. test -d "$as_dir" || eval $as_mkdir_p || {
  24004. as_dirs=
  24005. while :; do
  24006. case $as_dir in #(
  24007. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  24008. *) as_qdir=$as_dir;;
  24009. esac
  24010. as_dirs="'$as_qdir' $as_dirs"
  24011. as_dir=`$as_dirname -- "$as_dir" ||
  24012. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24013. X"$as_dir" : 'X\(//\)[^/]' \| \
  24014. X"$as_dir" : 'X\(//\)$' \| \
  24015. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  24016. $as_echo X"$as_dir" |
  24017. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24018. s//\1/
  24019. q
  24020. }
  24021. /^X\(\/\/\)[^/].*/{
  24022. s//\1/
  24023. q
  24024. }
  24025. /^X\(\/\/\)$/{
  24026. s//\1/
  24027. q
  24028. }
  24029. /^X\(\/\).*/{
  24030. s//\1/
  24031. q
  24032. }
  24033. s/.*/./; q'`
  24034. test -d "$as_dir" && break
  24035. done
  24036. test -z "$as_dirs" || eval "mkdir $as_dirs"
  24037. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  24038. } # as_fn_mkdir_p
  24039. if mkdir -p . 2>/dev/null; then
  24040. as_mkdir_p='mkdir -p "$as_dir"'
  24041. else
  24042. test -d ./-p && rmdir ./-p
  24043. as_mkdir_p=false
  24044. fi
  24045. # as_fn_executable_p FILE
  24046. # -----------------------
  24047. # Test if FILE is an executable regular file.
  24048. as_fn_executable_p ()
  24049. {
  24050. test -f "$1" && test -x "$1"
  24051. } # as_fn_executable_p
  24052. as_test_x='test -x'
  24053. as_executable_p=as_fn_executable_p
  24054. # Sed expression to map a string onto a valid CPP name.
  24055. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  24056. # Sed expression to map a string onto a valid variable name.
  24057. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  24058. exec 6>&1
  24059. ## ----------------------------------- ##
  24060. ## Main body of $CONFIG_STATUS script. ##
  24061. ## ----------------------------------- ##
  24062. _ASEOF
  24063. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  24064. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24065. # Save the log message, to keep $0 and so on meaningful, and to
  24066. # report actual input values of CONFIG_FILES etc. instead of their
  24067. # values after options handling.
  24068. ac_log="
  24069. This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
  24070. generated by GNU Autoconf 2.69. Invocation command line was
  24071. CONFIG_FILES = $CONFIG_FILES
  24072. CONFIG_HEADERS = $CONFIG_HEADERS
  24073. CONFIG_LINKS = $CONFIG_LINKS
  24074. CONFIG_COMMANDS = $CONFIG_COMMANDS
  24075. $ $0 $@
  24076. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  24077. "
  24078. _ACEOF
  24079. case $ac_config_files in *"
  24080. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  24081. esac
  24082. case $ac_config_headers in *"
  24083. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  24084. esac
  24085. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24086. # Files that config.status was made for.
  24087. config_files="$ac_config_files"
  24088. config_headers="$ac_config_headers"
  24089. config_commands="$ac_config_commands"
  24090. _ACEOF
  24091. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24092. ac_cs_usage="\
  24093. \`$as_me' instantiates files and other configuration actions
  24094. from templates according to the current configuration. Unless the files
  24095. and actions are specified as TAGs, all are instantiated by default.
  24096. Usage: $0 [OPTION]... [TAG]...
  24097. -h, --help print this help, then exit
  24098. -V, --version print version number and configuration settings, then exit
  24099. --config print configuration, then exit
  24100. -q, --quiet, --silent
  24101. do not print progress messages
  24102. -d, --debug don't remove temporary files
  24103. --recheck update $as_me by reconfiguring in the same conditions
  24104. --file=FILE[:TEMPLATE]
  24105. instantiate the configuration file FILE
  24106. --header=FILE[:TEMPLATE]
  24107. instantiate the configuration header FILE
  24108. Configuration files:
  24109. $config_files
  24110. Configuration headers:
  24111. $config_headers
  24112. Configuration commands:
  24113. $config_commands
  24114. Report bugs to the package provider.
  24115. GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
  24116. General help using GNU software: <http://www.gnu.org/gethelp/>."
  24117. _ACEOF
  24118. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24119. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  24120. ac_cs_version="\\
  24121. GNU Fortran Runtime Library config.status 0.3
  24122. configured by $0, generated by GNU Autoconf 2.69,
  24123. with options \\"\$ac_cs_config\\"
  24124. Copyright (C) 2012 Free Software Foundation, Inc.
  24125. This config.status script is free software; the Free Software Foundation
  24126. gives unlimited permission to copy, distribute and modify it."
  24127. ac_pwd='$ac_pwd'
  24128. srcdir='$srcdir'
  24129. INSTALL='$INSTALL'
  24130. MKDIR_P='$MKDIR_P'
  24131. AWK='$AWK'
  24132. test -n "\$AWK" || AWK=awk
  24133. _ACEOF
  24134. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24135. # The default lists apply if the user does not specify any file.
  24136. ac_need_defaults=:
  24137. while test $# != 0
  24138. do
  24139. case $1 in
  24140. --*=?*)
  24141. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  24142. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  24143. ac_shift=:
  24144. ;;
  24145. --*=)
  24146. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  24147. ac_optarg=
  24148. ac_shift=:
  24149. ;;
  24150. *)
  24151. ac_option=$1
  24152. ac_optarg=$2
  24153. ac_shift=shift
  24154. ;;
  24155. esac
  24156. case $ac_option in
  24157. # Handling of the options.
  24158. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  24159. ac_cs_recheck=: ;;
  24160. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  24161. $as_echo "$ac_cs_version"; exit ;;
  24162. --config | --confi | --conf | --con | --co | --c )
  24163. $as_echo "$ac_cs_config"; exit ;;
  24164. --debug | --debu | --deb | --de | --d | -d )
  24165. debug=: ;;
  24166. --file | --fil | --fi | --f )
  24167. $ac_shift
  24168. case $ac_optarg in
  24169. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  24170. '') as_fn_error $? "missing file argument" ;;
  24171. esac
  24172. as_fn_append CONFIG_FILES " '$ac_optarg'"
  24173. ac_need_defaults=false;;
  24174. --header | --heade | --head | --hea )
  24175. $ac_shift
  24176. case $ac_optarg in
  24177. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  24178. esac
  24179. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  24180. ac_need_defaults=false;;
  24181. --he | --h)
  24182. # Conflict between --help and --header
  24183. as_fn_error $? "ambiguous option: \`$1'
  24184. Try \`$0 --help' for more information.";;
  24185. --help | --hel | -h )
  24186. $as_echo "$ac_cs_usage"; exit ;;
  24187. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  24188. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  24189. ac_cs_silent=: ;;
  24190. # This is an error.
  24191. -*) as_fn_error $? "unrecognized option: \`$1'
  24192. Try \`$0 --help' for more information." ;;
  24193. *) as_fn_append ac_config_targets " $1"
  24194. ac_need_defaults=false ;;
  24195. esac
  24196. shift
  24197. done
  24198. ac_configure_extra_args=
  24199. if $ac_cs_silent; then
  24200. exec 6>/dev/null
  24201. ac_configure_extra_args="$ac_configure_extra_args --silent"
  24202. fi
  24203. _ACEOF
  24204. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24205. if \$ac_cs_recheck; then
  24206. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  24207. shift
  24208. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  24209. CONFIG_SHELL='$SHELL'
  24210. export CONFIG_SHELL
  24211. exec "\$@"
  24212. fi
  24213. _ACEOF
  24214. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24215. exec 5>>config.log
  24216. {
  24217. echo
  24218. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  24219. ## Running $as_me. ##
  24220. _ASBOX
  24221. $as_echo "$ac_log"
  24222. } >&5
  24223. _ACEOF
  24224. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24225. #
  24226. # INIT-COMMANDS
  24227. #
  24228. srcdir="$srcdir"
  24229. host="$host"
  24230. target="$target"
  24231. with_multisubdir="$with_multisubdir"
  24232. with_multisrctop="$with_multisrctop"
  24233. with_target_subdir="$with_target_subdir"
  24234. ac_configure_args="${multilib_arg} ${ac_configure_args}"
  24235. multi_basedir="$multi_basedir"
  24236. CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  24237. CC="$CC"
  24238. CXX="$CXX"
  24239. GFORTRAN="$GFORTRAN"
  24240. GDC="$GDC"
  24241. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  24242. # The HP-UX ksh and POSIX shell print the target directory to stdout
  24243. # if CDPATH is set.
  24244. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24245. sed_quote_subst='$sed_quote_subst'
  24246. double_quote_subst='$double_quote_subst'
  24247. delay_variable_subst='$delay_variable_subst'
  24248. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  24249. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  24250. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  24251. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  24252. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  24253. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  24254. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  24255. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  24256. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  24257. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  24258. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  24259. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  24260. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  24261. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  24262. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  24263. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  24264. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  24265. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  24266. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  24267. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  24268. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  24269. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  24270. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  24271. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  24272. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  24273. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  24274. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  24275. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  24276. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  24277. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  24278. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  24279. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  24280. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  24281. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  24282. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  24283. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  24284. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  24285. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  24286. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  24287. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  24288. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  24289. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  24290. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  24291. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  24292. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  24293. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  24294. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  24295. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  24296. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  24297. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  24298. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  24299. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  24300. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  24301. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  24302. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  24303. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  24304. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  24305. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  24306. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  24307. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  24308. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  24309. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  24310. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  24311. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  24312. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  24313. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  24314. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  24315. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  24316. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  24317. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  24318. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  24319. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  24320. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  24321. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  24322. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  24323. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  24324. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  24325. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  24326. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  24327. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  24328. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  24329. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  24330. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  24331. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  24332. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  24333. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  24334. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  24335. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  24336. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  24337. fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  24338. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  24339. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  24340. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  24341. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  24342. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  24343. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  24344. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  24345. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  24346. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  24347. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  24348. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  24349. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  24350. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  24351. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  24352. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  24353. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  24354. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  24355. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  24356. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  24357. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  24358. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  24359. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  24360. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  24361. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  24362. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  24363. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  24364. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  24365. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  24366. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  24367. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  24368. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  24369. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  24370. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  24371. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  24372. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  24373. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  24374. LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
  24375. reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
  24376. reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24377. old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24378. compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
  24379. GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
  24380. lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
  24381. lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
  24382. lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
  24383. lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
  24384. lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
  24385. archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
  24386. enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
  24387. export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  24388. whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  24389. compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
  24390. old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24391. old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24392. archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24393. archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24394. module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24395. module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24396. with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
  24397. allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
  24398. no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
  24399. hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  24400. hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
  24401. hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
  24402. hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
  24403. hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
  24404. hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
  24405. hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
  24406. hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
  24407. inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
  24408. link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
  24409. fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
  24410. always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
  24411. export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24412. exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
  24413. include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
  24414. prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
  24415. file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
  24416. hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
  24417. compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
  24418. predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
  24419. postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
  24420. predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
  24421. postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
  24422. compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
  24423. LTCC='$LTCC'
  24424. LTCFLAGS='$LTCFLAGS'
  24425. compiler='$compiler_DEFAULT'
  24426. # A function that is used when there is no print builtin or printf.
  24427. func_fallback_echo ()
  24428. {
  24429. eval 'cat <<_LTECHO_EOF
  24430. \$1
  24431. _LTECHO_EOF'
  24432. }
  24433. # Quote evaled strings.
  24434. for var in SED \
  24435. GREP \
  24436. EGREP \
  24437. FGREP \
  24438. SHELL \
  24439. ECHO \
  24440. LD \
  24441. NM \
  24442. LN_S \
  24443. lt_SP2NL \
  24444. lt_NL2SP \
  24445. reload_flag \
  24446. OBJDUMP \
  24447. deplibs_check_method \
  24448. file_magic_cmd \
  24449. AR \
  24450. AR_FLAGS \
  24451. STRIP \
  24452. RANLIB \
  24453. CC \
  24454. CFLAGS \
  24455. compiler \
  24456. lt_cv_sys_global_symbol_pipe \
  24457. lt_cv_sys_global_symbol_to_cdecl \
  24458. lt_cv_sys_global_symbol_to_c_name_address \
  24459. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  24460. lt_prog_compiler_no_builtin_flag \
  24461. lt_prog_compiler_wl \
  24462. lt_prog_compiler_pic \
  24463. lt_prog_compiler_static \
  24464. lt_cv_prog_compiler_c_o \
  24465. need_locks \
  24466. DSYMUTIL \
  24467. NMEDIT \
  24468. LIPO \
  24469. OTOOL \
  24470. OTOOL64 \
  24471. shrext_cmds \
  24472. export_dynamic_flag_spec \
  24473. whole_archive_flag_spec \
  24474. compiler_needs_object \
  24475. with_gnu_ld \
  24476. allow_undefined_flag \
  24477. no_undefined_flag \
  24478. hardcode_libdir_flag_spec \
  24479. hardcode_libdir_flag_spec_ld \
  24480. hardcode_libdir_separator \
  24481. fix_srcfile_path \
  24482. exclude_expsyms \
  24483. include_expsyms \
  24484. file_list_spec \
  24485. variables_saved_for_relink \
  24486. libname_spec \
  24487. library_names_spec \
  24488. soname_spec \
  24489. install_override_mode \
  24490. finish_eval \
  24491. old_striplib \
  24492. striplib \
  24493. compiler_lib_search_dirs \
  24494. predep_objects \
  24495. postdep_objects \
  24496. predeps \
  24497. postdeps \
  24498. compiler_lib_search_path \
  24499. LD_FC \
  24500. reload_flag_FC \
  24501. compiler_FC \
  24502. lt_prog_compiler_no_builtin_flag_FC \
  24503. lt_prog_compiler_wl_FC \
  24504. lt_prog_compiler_pic_FC \
  24505. lt_prog_compiler_static_FC \
  24506. lt_cv_prog_compiler_c_o_FC \
  24507. export_dynamic_flag_spec_FC \
  24508. whole_archive_flag_spec_FC \
  24509. compiler_needs_object_FC \
  24510. with_gnu_ld_FC \
  24511. allow_undefined_flag_FC \
  24512. no_undefined_flag_FC \
  24513. hardcode_libdir_flag_spec_FC \
  24514. hardcode_libdir_flag_spec_ld_FC \
  24515. hardcode_libdir_separator_FC \
  24516. fix_srcfile_path_FC \
  24517. exclude_expsyms_FC \
  24518. include_expsyms_FC \
  24519. file_list_spec_FC \
  24520. compiler_lib_search_dirs_FC \
  24521. predep_objects_FC \
  24522. postdep_objects_FC \
  24523. predeps_FC \
  24524. postdeps_FC \
  24525. compiler_lib_search_path_FC; do
  24526. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  24527. *[\\\\\\\`\\"\\\$]*)
  24528. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  24529. ;;
  24530. *)
  24531. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  24532. ;;
  24533. esac
  24534. done
  24535. # Double-quote double-evaled strings.
  24536. for var in reload_cmds \
  24537. old_postinstall_cmds \
  24538. old_postuninstall_cmds \
  24539. old_archive_cmds \
  24540. extract_expsyms_cmds \
  24541. old_archive_from_new_cmds \
  24542. old_archive_from_expsyms_cmds \
  24543. archive_cmds \
  24544. archive_expsym_cmds \
  24545. module_cmds \
  24546. module_expsym_cmds \
  24547. export_symbols_cmds \
  24548. prelink_cmds \
  24549. postinstall_cmds \
  24550. postuninstall_cmds \
  24551. finish_cmds \
  24552. sys_lib_search_path_spec \
  24553. sys_lib_dlsearch_path_spec \
  24554. reload_cmds_FC \
  24555. old_archive_cmds_FC \
  24556. old_archive_from_new_cmds_FC \
  24557. old_archive_from_expsyms_cmds_FC \
  24558. archive_cmds_FC \
  24559. archive_expsym_cmds_FC \
  24560. module_cmds_FC \
  24561. module_expsym_cmds_FC \
  24562. export_symbols_cmds_FC \
  24563. prelink_cmds_FC; do
  24564. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  24565. *[\\\\\\\`\\"\\\$]*)
  24566. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  24567. ;;
  24568. *)
  24569. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  24570. ;;
  24571. esac
  24572. done
  24573. ac_aux_dir='$ac_aux_dir'
  24574. xsi_shell='$xsi_shell'
  24575. lt_shell_append='$lt_shell_append'
  24576. # See if we are running on zsh, and set the options which allow our
  24577. # commands through without removal of \ escapes INIT.
  24578. if test -n "\${ZSH_VERSION+set}" ; then
  24579. setopt NO_GLOB_SUBST
  24580. fi
  24581. PACKAGE='$PACKAGE'
  24582. VERSION='$VERSION'
  24583. TIMESTAMP='$TIMESTAMP'
  24584. RM='$RM'
  24585. ofile='$ofile'
  24586. GCC="$GCC"
  24587. CC="$CC"
  24588. acx_cv_header_stdint="$acx_cv_header_stdint"
  24589. acx_cv_type_int8_t="$acx_cv_type_int8_t"
  24590. acx_cv_type_int16_t="$acx_cv_type_int16_t"
  24591. acx_cv_type_int32_t="$acx_cv_type_int32_t"
  24592. acx_cv_type_int64_t="$acx_cv_type_int64_t"
  24593. acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
  24594. ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
  24595. ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
  24596. ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
  24597. ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
  24598. ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
  24599. ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
  24600. ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
  24601. ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
  24602. _ACEOF
  24603. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24604. # Handling of arguments.
  24605. for ac_config_target in $ac_config_targets
  24606. do
  24607. case $ac_config_target in
  24608. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  24609. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  24610. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  24611. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  24612. "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
  24613. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  24614. "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
  24615. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  24616. esac
  24617. done
  24618. # If the user did not use the arguments to specify the items to instantiate,
  24619. # then the envvar interface is used. Set only those that are not.
  24620. # We use the long form for the default assignment because of an extremely
  24621. # bizarre bug on SunOS 4.1.3.
  24622. if $ac_need_defaults; then
  24623. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  24624. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  24625. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  24626. fi
  24627. # Have a temporary directory for convenience. Make it in the build tree
  24628. # simply because there is no reason against having it here, and in addition,
  24629. # creating and moving files from /tmp can sometimes cause problems.
  24630. # Hook for its removal unless debugging.
  24631. # Note that there is a small window in which the directory will not be cleaned:
  24632. # after its creation but before its name has been assigned to `$tmp'.
  24633. $debug ||
  24634. {
  24635. tmp= ac_tmp=
  24636. trap 'exit_status=$?
  24637. : "${ac_tmp:=$tmp}"
  24638. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  24639. ' 0
  24640. trap 'as_fn_exit 1' 1 2 13 15
  24641. }
  24642. # Create a (secure) tmp directory for tmp files.
  24643. {
  24644. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  24645. test -d "$tmp"
  24646. } ||
  24647. {
  24648. tmp=./conf$$-$RANDOM
  24649. (umask 077 && mkdir "$tmp")
  24650. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  24651. ac_tmp=$tmp
  24652. # Set up the scripts for CONFIG_FILES section.
  24653. # No need to generate them if there are no CONFIG_FILES.
  24654. # This happens for instance with `./config.status config.h'.
  24655. if test -n "$CONFIG_FILES"; then
  24656. ac_cr=`echo X | tr X '\015'`
  24657. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  24658. # But we know of no other shell where ac_cr would be empty at this
  24659. # point, so we can use a bashism as a fallback.
  24660. if test "x$ac_cr" = x; then
  24661. eval ac_cr=\$\'\\r\'
  24662. fi
  24663. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  24664. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  24665. ac_cs_awk_cr='\\r'
  24666. else
  24667. ac_cs_awk_cr=$ac_cr
  24668. fi
  24669. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  24670. _ACEOF
  24671. {
  24672. echo "cat >conf$$subs.awk <<_ACEOF" &&
  24673. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  24674. echo "_ACEOF"
  24675. } >conf$$subs.sh ||
  24676. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24677. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  24678. ac_delim='%!_!# '
  24679. for ac_last_try in false false false false false :; do
  24680. . ./conf$$subs.sh ||
  24681. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24682. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  24683. if test $ac_delim_n = $ac_delim_num; then
  24684. break
  24685. elif $ac_last_try; then
  24686. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24687. else
  24688. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  24689. fi
  24690. done
  24691. rm -f conf$$subs.sh
  24692. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24693. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  24694. _ACEOF
  24695. sed -n '
  24696. h
  24697. s/^/S["/; s/!.*/"]=/
  24698. p
  24699. g
  24700. s/^[^!]*!//
  24701. :repl
  24702. t repl
  24703. s/'"$ac_delim"'$//
  24704. t delim
  24705. :nl
  24706. h
  24707. s/\(.\{148\}\)..*/\1/
  24708. t more1
  24709. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  24710. p
  24711. n
  24712. b repl
  24713. :more1
  24714. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24715. p
  24716. g
  24717. s/.\{148\}//
  24718. t nl
  24719. :delim
  24720. h
  24721. s/\(.\{148\}\)..*/\1/
  24722. t more2
  24723. s/["\\]/\\&/g; s/^/"/; s/$/"/
  24724. p
  24725. b
  24726. :more2
  24727. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24728. p
  24729. g
  24730. s/.\{148\}//
  24731. t delim
  24732. ' <conf$$subs.awk | sed '
  24733. /^[^""]/{
  24734. N
  24735. s/\n//
  24736. }
  24737. ' >>$CONFIG_STATUS || ac_write_fail=1
  24738. rm -f conf$$subs.awk
  24739. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24740. _ACAWK
  24741. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  24742. for (key in S) S_is_set[key] = 1
  24743. FS = ""
  24744. }
  24745. {
  24746. line = $ 0
  24747. nfields = split(line, field, "@")
  24748. substed = 0
  24749. len = length(field[1])
  24750. for (i = 2; i < nfields; i++) {
  24751. key = field[i]
  24752. keylen = length(key)
  24753. if (S_is_set[key]) {
  24754. value = S[key]
  24755. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  24756. len += length(value) + length(field[++i])
  24757. substed = 1
  24758. } else
  24759. len += 1 + keylen
  24760. }
  24761. print line
  24762. }
  24763. _ACAWK
  24764. _ACEOF
  24765. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24766. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  24767. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  24768. else
  24769. cat
  24770. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  24771. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  24772. _ACEOF
  24773. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  24774. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  24775. # trailing colons and then remove the whole line if VPATH becomes empty
  24776. # (actually we leave an empty line to preserve line numbers).
  24777. if test "x$srcdir" = x.; then
  24778. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  24779. h
  24780. s///
  24781. s/^/:/
  24782. s/[ ]*$/:/
  24783. s/:\$(srcdir):/:/g
  24784. s/:\${srcdir}:/:/g
  24785. s/:@srcdir@:/:/g
  24786. s/^:*//
  24787. s/:*$//
  24788. x
  24789. s/\(=[ ]*\).*/\1/
  24790. G
  24791. s/\n//
  24792. s/^[^=]*=[ ]*$//
  24793. }'
  24794. fi
  24795. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24796. fi # test -n "$CONFIG_FILES"
  24797. # Set up the scripts for CONFIG_HEADERS section.
  24798. # No need to generate them if there are no CONFIG_HEADERS.
  24799. # This happens for instance with `./config.status Makefile'.
  24800. if test -n "$CONFIG_HEADERS"; then
  24801. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  24802. BEGIN {
  24803. _ACEOF
  24804. # Transform confdefs.h into an awk script `defines.awk', embedded as
  24805. # here-document in config.status, that substitutes the proper values into
  24806. # config.h.in to produce config.h.
  24807. # Create a delimiter string that does not exist in confdefs.h, to ease
  24808. # handling of long lines.
  24809. ac_delim='%!_!# '
  24810. for ac_last_try in false false :; do
  24811. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  24812. if test -z "$ac_tt"; then
  24813. break
  24814. elif $ac_last_try; then
  24815. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  24816. else
  24817. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  24818. fi
  24819. done
  24820. # For the awk script, D is an array of macro values keyed by name,
  24821. # likewise P contains macro parameters if any. Preserve backslash
  24822. # newline sequences.
  24823. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  24824. sed -n '
  24825. s/.\{148\}/&'"$ac_delim"'/g
  24826. t rset
  24827. :rset
  24828. s/^[ ]*#[ ]*define[ ][ ]*/ /
  24829. t def
  24830. d
  24831. :def
  24832. s/\\$//
  24833. t bsnl
  24834. s/["\\]/\\&/g
  24835. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  24836. D["\1"]=" \3"/p
  24837. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  24838. d
  24839. :bsnl
  24840. s/["\\]/\\&/g
  24841. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  24842. D["\1"]=" \3\\\\\\n"\\/p
  24843. t cont
  24844. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  24845. t cont
  24846. d
  24847. :cont
  24848. n
  24849. s/.\{148\}/&'"$ac_delim"'/g
  24850. t clear
  24851. :clear
  24852. s/\\$//
  24853. t bsnlc
  24854. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  24855. d
  24856. :bsnlc
  24857. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  24858. b cont
  24859. ' <confdefs.h | sed '
  24860. s/'"$ac_delim"'/"\\\
  24861. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  24862. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24863. for (key in D) D_is_set[key] = 1
  24864. FS = ""
  24865. }
  24866. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  24867. line = \$ 0
  24868. split(line, arg, " ")
  24869. if (arg[1] == "#") {
  24870. defundef = arg[2]
  24871. mac1 = arg[3]
  24872. } else {
  24873. defundef = substr(arg[1], 2)
  24874. mac1 = arg[2]
  24875. }
  24876. split(mac1, mac2, "(") #)
  24877. macro = mac2[1]
  24878. prefix = substr(line, 1, index(line, defundef) - 1)
  24879. if (D_is_set[macro]) {
  24880. # Preserve the white space surrounding the "#".
  24881. print prefix "define", macro P[macro] D[macro]
  24882. next
  24883. } else {
  24884. # Replace #undef with comments. This is necessary, for example,
  24885. # in the case of _POSIX_SOURCE, which is predefined and required
  24886. # on some systems where configure will not decide to define it.
  24887. if (defundef == "undef") {
  24888. print "/*", prefix defundef, macro, "*/"
  24889. next
  24890. }
  24891. }
  24892. }
  24893. { print }
  24894. _ACAWK
  24895. _ACEOF
  24896. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24897. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  24898. fi # test -n "$CONFIG_HEADERS"
  24899. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  24900. shift
  24901. for ac_tag
  24902. do
  24903. case $ac_tag in
  24904. :[FHLC]) ac_mode=$ac_tag; continue;;
  24905. esac
  24906. case $ac_mode$ac_tag in
  24907. :[FHL]*:*);;
  24908. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  24909. :[FH]-) ac_tag=-:-;;
  24910. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  24911. esac
  24912. ac_save_IFS=$IFS
  24913. IFS=:
  24914. set x $ac_tag
  24915. IFS=$ac_save_IFS
  24916. shift
  24917. ac_file=$1
  24918. shift
  24919. case $ac_mode in
  24920. :L) ac_source=$1;;
  24921. :[FH])
  24922. ac_file_inputs=
  24923. for ac_f
  24924. do
  24925. case $ac_f in
  24926. -) ac_f="$ac_tmp/stdin";;
  24927. *) # Look for the file first in the build tree, then in the source tree
  24928. # (if the path is not absolute). The absolute path cannot be DOS-style,
  24929. # because $ac_f cannot contain `:'.
  24930. test -f "$ac_f" ||
  24931. case $ac_f in
  24932. [\\/$]*) false;;
  24933. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  24934. esac ||
  24935. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  24936. esac
  24937. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  24938. as_fn_append ac_file_inputs " '$ac_f'"
  24939. done
  24940. # Let's still pretend it is `configure' which instantiates (i.e., don't
  24941. # use $as_me), people would be surprised to read:
  24942. # /* config.h. Generated by config.status. */
  24943. configure_input='Generated from '`
  24944. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  24945. `' by configure.'
  24946. if test x"$ac_file" != x-; then
  24947. configure_input="$ac_file. $configure_input"
  24948. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  24949. $as_echo "$as_me: creating $ac_file" >&6;}
  24950. fi
  24951. # Neutralize special characters interpreted by sed in replacement strings.
  24952. case $configure_input in #(
  24953. *\&* | *\|* | *\\* )
  24954. ac_sed_conf_input=`$as_echo "$configure_input" |
  24955. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  24956. *) ac_sed_conf_input=$configure_input;;
  24957. esac
  24958. case $ac_tag in
  24959. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  24960. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  24961. esac
  24962. ;;
  24963. esac
  24964. ac_dir=`$as_dirname -- "$ac_file" ||
  24965. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24966. X"$ac_file" : 'X\(//\)[^/]' \| \
  24967. X"$ac_file" : 'X\(//\)$' \| \
  24968. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  24969. $as_echo X"$ac_file" |
  24970. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24971. s//\1/
  24972. q
  24973. }
  24974. /^X\(\/\/\)[^/].*/{
  24975. s//\1/
  24976. q
  24977. }
  24978. /^X\(\/\/\)$/{
  24979. s//\1/
  24980. q
  24981. }
  24982. /^X\(\/\).*/{
  24983. s//\1/
  24984. q
  24985. }
  24986. s/.*/./; q'`
  24987. as_dir="$ac_dir"; as_fn_mkdir_p
  24988. ac_builddir=.
  24989. case "$ac_dir" in
  24990. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24991. *)
  24992. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  24993. # A ".." for each directory in $ac_dir_suffix.
  24994. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  24995. case $ac_top_builddir_sub in
  24996. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24997. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  24998. esac ;;
  24999. esac
  25000. ac_abs_top_builddir=$ac_pwd
  25001. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  25002. # for backward compatibility:
  25003. ac_top_builddir=$ac_top_build_prefix
  25004. case $srcdir in
  25005. .) # We are building in place.
  25006. ac_srcdir=.
  25007. ac_top_srcdir=$ac_top_builddir_sub
  25008. ac_abs_top_srcdir=$ac_pwd ;;
  25009. [\\/]* | ?:[\\/]* ) # Absolute name.
  25010. ac_srcdir=$srcdir$ac_dir_suffix;
  25011. ac_top_srcdir=$srcdir
  25012. ac_abs_top_srcdir=$srcdir ;;
  25013. *) # Relative name.
  25014. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  25015. ac_top_srcdir=$ac_top_build_prefix$srcdir
  25016. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  25017. esac
  25018. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  25019. case $ac_mode in
  25020. :F)
  25021. #
  25022. # CONFIG_FILE
  25023. #
  25024. case $INSTALL in
  25025. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  25026. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  25027. esac
  25028. ac_MKDIR_P=$MKDIR_P
  25029. case $MKDIR_P in
  25030. [\\/$]* | ?:[\\/]* ) ;;
  25031. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  25032. esac
  25033. _ACEOF
  25034. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  25035. # If the template does not know about datarootdir, expand it.
  25036. # FIXME: This hack should be removed a few years after 2.60.
  25037. ac_datarootdir_hack=; ac_datarootdir_seen=
  25038. ac_sed_dataroot='
  25039. /datarootdir/ {
  25040. p
  25041. q
  25042. }
  25043. /@datadir@/p
  25044. /@docdir@/p
  25045. /@infodir@/p
  25046. /@localedir@/p
  25047. /@mandir@/p'
  25048. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  25049. *datarootdir*) ac_datarootdir_seen=yes;;
  25050. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  25051. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  25052. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  25053. _ACEOF
  25054. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  25055. ac_datarootdir_hack='
  25056. s&@datadir@&$datadir&g
  25057. s&@docdir@&$docdir&g
  25058. s&@infodir@&$infodir&g
  25059. s&@localedir@&$localedir&g
  25060. s&@mandir@&$mandir&g
  25061. s&\\\${datarootdir}&$datarootdir&g' ;;
  25062. esac
  25063. _ACEOF
  25064. # Neutralize VPATH when `$srcdir' = `.'.
  25065. # Shell code in configure.ac might set extrasub.
  25066. # FIXME: do we really want to maintain this feature?
  25067. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  25068. ac_sed_extra="$ac_vpsub
  25069. $extrasub
  25070. _ACEOF
  25071. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  25072. :t
  25073. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  25074. s|@configure_input@|$ac_sed_conf_input|;t t
  25075. s&@top_builddir@&$ac_top_builddir_sub&;t t
  25076. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  25077. s&@srcdir@&$ac_srcdir&;t t
  25078. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  25079. s&@top_srcdir@&$ac_top_srcdir&;t t
  25080. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  25081. s&@builddir@&$ac_builddir&;t t
  25082. s&@abs_builddir@&$ac_abs_builddir&;t t
  25083. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  25084. s&@INSTALL@&$ac_INSTALL&;t t
  25085. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  25086. $ac_datarootdir_hack
  25087. "
  25088. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  25089. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  25090. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  25091. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  25092. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  25093. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  25094. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  25095. which seems to be undefined. Please make sure it is defined" >&5
  25096. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  25097. which seems to be undefined. Please make sure it is defined" >&2;}
  25098. rm -f "$ac_tmp/stdin"
  25099. case $ac_file in
  25100. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  25101. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  25102. esac \
  25103. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  25104. ;;
  25105. :H)
  25106. #
  25107. # CONFIG_HEADER
  25108. #
  25109. if test x"$ac_file" != x-; then
  25110. {
  25111. $as_echo "/* $configure_input */" \
  25112. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  25113. } >"$ac_tmp/config.h" \
  25114. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  25115. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  25116. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  25117. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  25118. else
  25119. rm -f "$ac_file"
  25120. mv "$ac_tmp/config.h" "$ac_file" \
  25121. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  25122. fi
  25123. else
  25124. $as_echo "/* $configure_input */" \
  25125. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  25126. || as_fn_error $? "could not create -" "$LINENO" 5
  25127. fi
  25128. # Compute "$ac_file"'s index in $config_headers.
  25129. _am_arg="$ac_file"
  25130. _am_stamp_count=1
  25131. for _am_header in $config_headers :; do
  25132. case $_am_header in
  25133. $_am_arg | $_am_arg:* )
  25134. break ;;
  25135. * )
  25136. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  25137. esac
  25138. done
  25139. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  25140. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25141. X"$_am_arg" : 'X\(//\)[^/]' \| \
  25142. X"$_am_arg" : 'X\(//\)$' \| \
  25143. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  25144. $as_echo X"$_am_arg" |
  25145. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25146. s//\1/
  25147. q
  25148. }
  25149. /^X\(\/\/\)[^/].*/{
  25150. s//\1/
  25151. q
  25152. }
  25153. /^X\(\/\/\)$/{
  25154. s//\1/
  25155. q
  25156. }
  25157. /^X\(\/\).*/{
  25158. s//\1/
  25159. q
  25160. }
  25161. s/.*/./; q'`/stamp-h$_am_stamp_count
  25162. ;;
  25163. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  25164. $as_echo "$as_me: executing $ac_file commands" >&6;}
  25165. ;;
  25166. esac
  25167. case $ac_file$ac_mode in
  25168. "default-1":C)
  25169. # Only add multilib support code if we just rebuilt the top-level
  25170. # Makefile.
  25171. case " $CONFIG_FILES " in
  25172. *" Makefile "*)
  25173. ac_file=Makefile . ${multi_basedir}/config-ml.in
  25174. ;;
  25175. esac ;;
  25176. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  25177. # Older Autoconf quotes --file arguments for eval, but not when files
  25178. # are listed without --file. Let's play safe and only enable the eval
  25179. # if we detect the quoting.
  25180. case $CONFIG_FILES in
  25181. *\'*) eval set x "$CONFIG_FILES" ;;
  25182. *) set x $CONFIG_FILES ;;
  25183. esac
  25184. shift
  25185. for mf
  25186. do
  25187. # Strip MF so we end up with the name of the file.
  25188. mf=`echo "$mf" | sed -e 's/:.*$//'`
  25189. # Check whether this is an Automake generated Makefile or not.
  25190. # We used to match only the files named 'Makefile.in', but
  25191. # some people rename them; so instead we look at the file content.
  25192. # Grep'ing the first line is not enough: some people post-process
  25193. # each Makefile.in and add a new line on top of each file to say so.
  25194. # Grep'ing the whole file is not good either: AIX grep has a line
  25195. # limit of 2048, but all sed's we know have understand at least 4000.
  25196. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  25197. dirpart=`$as_dirname -- "$mf" ||
  25198. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25199. X"$mf" : 'X\(//\)[^/]' \| \
  25200. X"$mf" : 'X\(//\)$' \| \
  25201. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  25202. $as_echo X"$mf" |
  25203. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25204. s//\1/
  25205. q
  25206. }
  25207. /^X\(\/\/\)[^/].*/{
  25208. s//\1/
  25209. q
  25210. }
  25211. /^X\(\/\/\)$/{
  25212. s//\1/
  25213. q
  25214. }
  25215. /^X\(\/\).*/{
  25216. s//\1/
  25217. q
  25218. }
  25219. s/.*/./; q'`
  25220. else
  25221. continue
  25222. fi
  25223. # Extract the definition of DEPDIR, am__include, and am__quote
  25224. # from the Makefile without running 'make'.
  25225. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  25226. test -z "$DEPDIR" && continue
  25227. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  25228. test -z "$am__include" && continue
  25229. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  25230. # Find all dependency output files, they are included files with
  25231. # $(DEPDIR) in their names. We invoke sed twice because it is the
  25232. # simplest approach to changing $(DEPDIR) to its actual value in the
  25233. # expansion.
  25234. for file in `sed -n "
  25235. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  25236. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  25237. # Make sure the directory exists.
  25238. test -f "$dirpart/$file" && continue
  25239. fdir=`$as_dirname -- "$file" ||
  25240. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25241. X"$file" : 'X\(//\)[^/]' \| \
  25242. X"$file" : 'X\(//\)$' \| \
  25243. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  25244. $as_echo X"$file" |
  25245. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25246. s//\1/
  25247. q
  25248. }
  25249. /^X\(\/\/\)[^/].*/{
  25250. s//\1/
  25251. q
  25252. }
  25253. /^X\(\/\/\)$/{
  25254. s//\1/
  25255. q
  25256. }
  25257. /^X\(\/\).*/{
  25258. s//\1/
  25259. q
  25260. }
  25261. s/.*/./; q'`
  25262. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  25263. # echo "creating $dirpart/$file"
  25264. echo '# dummy' > "$dirpart/$file"
  25265. done
  25266. done
  25267. }
  25268. ;;
  25269. "libtool":C)
  25270. # See if we are running on zsh, and set the options which allow our
  25271. # commands through without removal of \ escapes.
  25272. if test -n "${ZSH_VERSION+set}" ; then
  25273. setopt NO_GLOB_SUBST
  25274. fi
  25275. cfgfile="${ofile}T"
  25276. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  25277. $RM "$cfgfile"
  25278. cat <<_LT_EOF >> "$cfgfile"
  25279. #! $SHELL
  25280. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  25281. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  25282. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  25283. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  25284. #
  25285. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  25286. # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  25287. # Written by Gordon Matzigkeit, 1996
  25288. #
  25289. # This file is part of GNU Libtool.
  25290. #
  25291. # GNU Libtool is free software; you can redistribute it and/or
  25292. # modify it under the terms of the GNU General Public License as
  25293. # published by the Free Software Foundation; either version 2 of
  25294. # the License, or (at your option) any later version.
  25295. #
  25296. # As a special exception to the GNU General Public License,
  25297. # if you distribute this file as part of a program or library that
  25298. # is built using GNU Libtool, you may include this file under the
  25299. # same distribution terms that you use for the rest of that program.
  25300. #
  25301. # GNU Libtool is distributed in the hope that it will be useful,
  25302. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  25303. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25304. # GNU General Public License for more details.
  25305. #
  25306. # You should have received a copy of the GNU General Public License
  25307. # along with GNU Libtool; see the file COPYING. If not, a copy
  25308. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  25309. # obtained by writing to the Free Software Foundation, Inc.,
  25310. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  25311. # The names of the tagged configurations supported by this script.
  25312. available_tags="FC "
  25313. # ### BEGIN LIBTOOL CONFIG
  25314. # A sed program that does not truncate output.
  25315. SED=$lt_SED
  25316. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  25317. Xsed="\$SED -e 1s/^X//"
  25318. # A grep program that handles long lines.
  25319. GREP=$lt_GREP
  25320. # An ERE matcher.
  25321. EGREP=$lt_EGREP
  25322. # A literal string matcher.
  25323. FGREP=$lt_FGREP
  25324. # Shell to use when invoking shell scripts.
  25325. SHELL=$lt_SHELL
  25326. # An echo program that protects backslashes.
  25327. ECHO=$lt_ECHO
  25328. # Which release of libtool.m4 was used?
  25329. macro_version=$macro_version
  25330. macro_revision=$macro_revision
  25331. # Whether or not to build shared libraries.
  25332. build_libtool_libs=$enable_shared
  25333. # Whether or not to build static libraries.
  25334. build_old_libs=$enable_static
  25335. # What type of objects to build.
  25336. pic_mode=$pic_mode
  25337. # Whether or not to optimize for fast installation.
  25338. fast_install=$enable_fast_install
  25339. # The host system.
  25340. host_alias=$host_alias
  25341. host=$host
  25342. host_os=$host_os
  25343. # The build system.
  25344. build_alias=$build_alias
  25345. build=$build
  25346. build_os=$build_os
  25347. # A BSD- or MS-compatible name lister.
  25348. NM=$lt_NM
  25349. # Whether we need soft or hard links.
  25350. LN_S=$lt_LN_S
  25351. # What is the maximum length of a command?
  25352. max_cmd_len=$max_cmd_len
  25353. # Object file suffix (normally "o").
  25354. objext=$ac_objext
  25355. # Executable file suffix (normally "").
  25356. exeext=$exeext
  25357. # whether the shell understands "unset".
  25358. lt_unset=$lt_unset
  25359. # turn spaces into newlines.
  25360. SP2NL=$lt_lt_SP2NL
  25361. # turn newlines into spaces.
  25362. NL2SP=$lt_lt_NL2SP
  25363. # An object symbol dumper.
  25364. OBJDUMP=$lt_OBJDUMP
  25365. # Method to check whether dependent libraries are shared objects.
  25366. deplibs_check_method=$lt_deplibs_check_method
  25367. # Command to use when deplibs_check_method == "file_magic".
  25368. file_magic_cmd=$lt_file_magic_cmd
  25369. # The archiver.
  25370. AR=$lt_AR
  25371. AR_FLAGS=$lt_AR_FLAGS
  25372. # A symbol stripping program.
  25373. STRIP=$lt_STRIP
  25374. # Commands used to install an old-style archive.
  25375. RANLIB=$lt_RANLIB
  25376. old_postinstall_cmds=$lt_old_postinstall_cmds
  25377. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  25378. # Whether to use a lock for old archive extraction.
  25379. lock_old_archive_extraction=$lock_old_archive_extraction
  25380. # A C compiler.
  25381. LTCC=$lt_CC
  25382. # LTCC compiler flags.
  25383. LTCFLAGS=$lt_CFLAGS
  25384. # Take the output of nm and produce a listing of raw symbols and C names.
  25385. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  25386. # Transform the output of nm in a proper C declaration.
  25387. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  25388. # Transform the output of nm in a C name address pair.
  25389. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  25390. # Transform the output of nm in a C name address pair when lib prefix is needed.
  25391. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  25392. # The name of the directory that contains temporary libtool files.
  25393. objdir=$objdir
  25394. # Used to examine libraries when file_magic_cmd begins with "file".
  25395. MAGIC_CMD=$MAGIC_CMD
  25396. # Must we lock files when doing compilation?
  25397. need_locks=$lt_need_locks
  25398. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  25399. DSYMUTIL=$lt_DSYMUTIL
  25400. # Tool to change global to local symbols on Mac OS X.
  25401. NMEDIT=$lt_NMEDIT
  25402. # Tool to manipulate fat objects and archives on Mac OS X.
  25403. LIPO=$lt_LIPO
  25404. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  25405. OTOOL=$lt_OTOOL
  25406. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  25407. OTOOL64=$lt_OTOOL64
  25408. # Old archive suffix (normally "a").
  25409. libext=$libext
  25410. # Shared library suffix (normally ".so").
  25411. shrext_cmds=$lt_shrext_cmds
  25412. # The commands to extract the exported symbol list from a shared archive.
  25413. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  25414. # Variables whose values should be saved in libtool wrapper scripts and
  25415. # restored at link time.
  25416. variables_saved_for_relink=$lt_variables_saved_for_relink
  25417. # Do we need the "lib" prefix for modules?
  25418. need_lib_prefix=$need_lib_prefix
  25419. # Do we need a version for libraries?
  25420. need_version=$need_version
  25421. # Library versioning type.
  25422. version_type=$version_type
  25423. # Shared library runtime path variable.
  25424. runpath_var=$runpath_var
  25425. # Shared library path variable.
  25426. shlibpath_var=$shlibpath_var
  25427. # Is shlibpath searched before the hard-coded library search path?
  25428. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  25429. # Format of library name prefix.
  25430. libname_spec=$lt_libname_spec
  25431. # List of archive names. First name is the real one, the rest are links.
  25432. # The last name is the one that the linker finds with -lNAME
  25433. library_names_spec=$lt_library_names_spec
  25434. # The coded name of the library, if different from the real name.
  25435. soname_spec=$lt_soname_spec
  25436. # Permission mode override for installation of shared libraries.
  25437. install_override_mode=$lt_install_override_mode
  25438. # Command to use after installation of a shared archive.
  25439. postinstall_cmds=$lt_postinstall_cmds
  25440. # Command to use after uninstallation of a shared archive.
  25441. postuninstall_cmds=$lt_postuninstall_cmds
  25442. # Commands used to finish a libtool library installation in a directory.
  25443. finish_cmds=$lt_finish_cmds
  25444. # As "finish_cmds", except a single script fragment to be evaled but
  25445. # not shown.
  25446. finish_eval=$lt_finish_eval
  25447. # Whether we should hardcode library paths into libraries.
  25448. hardcode_into_libs=$hardcode_into_libs
  25449. # Compile-time system search path for libraries.
  25450. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  25451. # Run-time system search path for libraries.
  25452. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  25453. # Whether dlopen is supported.
  25454. dlopen_support=$enable_dlopen
  25455. # Whether dlopen of programs is supported.
  25456. dlopen_self=$enable_dlopen_self
  25457. # Whether dlopen of statically linked programs is supported.
  25458. dlopen_self_static=$enable_dlopen_self_static
  25459. # Commands to strip libraries.
  25460. old_striplib=$lt_old_striplib
  25461. striplib=$lt_striplib
  25462. # The linker used to build libraries.
  25463. LD=$lt_LD
  25464. # How to create reloadable object files.
  25465. reload_flag=$lt_reload_flag
  25466. reload_cmds=$lt_reload_cmds
  25467. # Commands used to build an old-style archive.
  25468. old_archive_cmds=$lt_old_archive_cmds
  25469. # A language specific compiler.
  25470. CC=$lt_compiler
  25471. # Is the compiler the GNU compiler?
  25472. with_gcc=$GCC
  25473. # Compiler flag to turn off builtin functions.
  25474. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  25475. # How to pass a linker flag through the compiler.
  25476. wl=$lt_lt_prog_compiler_wl
  25477. # Additional compiler flags for building library objects.
  25478. pic_flag=$lt_lt_prog_compiler_pic
  25479. # Compiler flag to prevent dynamic linking.
  25480. link_static_flag=$lt_lt_prog_compiler_static
  25481. # Does compiler simultaneously support -c and -o options?
  25482. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  25483. # Whether or not to add -lc for building shared libraries.
  25484. build_libtool_need_lc=$archive_cmds_need_lc
  25485. # Whether or not to disallow shared libs when runtime libs are static.
  25486. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  25487. # Compiler flag to allow reflexive dlopens.
  25488. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  25489. # Compiler flag to generate shared objects directly from archives.
  25490. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  25491. # Whether the compiler copes with passing no objects directly.
  25492. compiler_needs_object=$lt_compiler_needs_object
  25493. # Create an old-style archive from a shared archive.
  25494. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  25495. # Create a temporary old-style archive to link instead of a shared archive.
  25496. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  25497. # Commands used to build a shared archive.
  25498. archive_cmds=$lt_archive_cmds
  25499. archive_expsym_cmds=$lt_archive_expsym_cmds
  25500. # Commands used to build a loadable module if different from building
  25501. # a shared archive.
  25502. module_cmds=$lt_module_cmds
  25503. module_expsym_cmds=$lt_module_expsym_cmds
  25504. # Whether we are building with GNU ld or not.
  25505. with_gnu_ld=$lt_with_gnu_ld
  25506. # Flag that allows shared libraries with undefined symbols to be built.
  25507. allow_undefined_flag=$lt_allow_undefined_flag
  25508. # Flag that enforces no undefined symbols.
  25509. no_undefined_flag=$lt_no_undefined_flag
  25510. # Flag to hardcode \$libdir into a binary during linking.
  25511. # This must work even if \$libdir does not exist
  25512. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  25513. # If ld is used when linking, flag to hardcode \$libdir into a binary
  25514. # during linking. This must work even if \$libdir does not exist.
  25515. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  25516. # Whether we need a single "-rpath" flag with a separated argument.
  25517. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  25518. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  25519. # DIR into the resulting binary.
  25520. hardcode_direct=$hardcode_direct
  25521. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  25522. # DIR into the resulting binary and the resulting library dependency is
  25523. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  25524. # library is relocated.
  25525. hardcode_direct_absolute=$hardcode_direct_absolute
  25526. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  25527. # into the resulting binary.
  25528. hardcode_minus_L=$hardcode_minus_L
  25529. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  25530. # into the resulting binary.
  25531. hardcode_shlibpath_var=$hardcode_shlibpath_var
  25532. # Set to "yes" if building a shared library automatically hardcodes DIR
  25533. # into the library and all subsequent libraries and executables linked
  25534. # against it.
  25535. hardcode_automatic=$hardcode_automatic
  25536. # Set to yes if linker adds runtime paths of dependent libraries
  25537. # to runtime path list.
  25538. inherit_rpath=$inherit_rpath
  25539. # Whether libtool must link a program against all its dependency libraries.
  25540. link_all_deplibs=$link_all_deplibs
  25541. # Fix the shell variable \$srcfile for the compiler.
  25542. fix_srcfile_path=$lt_fix_srcfile_path
  25543. # Set to "yes" if exported symbols are required.
  25544. always_export_symbols=$always_export_symbols
  25545. # The commands to list exported symbols.
  25546. export_symbols_cmds=$lt_export_symbols_cmds
  25547. # Symbols that should not be listed in the preloaded symbols.
  25548. exclude_expsyms=$lt_exclude_expsyms
  25549. # Symbols that must always be exported.
  25550. include_expsyms=$lt_include_expsyms
  25551. # Commands necessary for linking programs (against libraries) with templates.
  25552. prelink_cmds=$lt_prelink_cmds
  25553. # Specify filename containing input files.
  25554. file_list_spec=$lt_file_list_spec
  25555. # How to hardcode a shared library path into an executable.
  25556. hardcode_action=$hardcode_action
  25557. # The directories searched by this compiler when creating a shared library.
  25558. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  25559. # Dependencies to place before and after the objects being linked to
  25560. # create a shared library.
  25561. predep_objects=$lt_predep_objects
  25562. postdep_objects=$lt_postdep_objects
  25563. predeps=$lt_predeps
  25564. postdeps=$lt_postdeps
  25565. # The library search path used internally by the compiler when linking
  25566. # a shared library.
  25567. compiler_lib_search_path=$lt_compiler_lib_search_path
  25568. # ### END LIBTOOL CONFIG
  25569. _LT_EOF
  25570. case $host_os in
  25571. aix3*)
  25572. cat <<\_LT_EOF >> "$cfgfile"
  25573. # AIX sometimes has problems with the GCC collect2 program. For some
  25574. # reason, if we set the COLLECT_NAMES environment variable, the problems
  25575. # vanish in a puff of smoke.
  25576. if test "X${COLLECT_NAMES+set}" != Xset; then
  25577. COLLECT_NAMES=
  25578. export COLLECT_NAMES
  25579. fi
  25580. _LT_EOF
  25581. ;;
  25582. esac
  25583. ltmain="$ac_aux_dir/ltmain.sh"
  25584. # We use sed instead of cat because bash on DJGPP gets confused if
  25585. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  25586. # text mode, it properly converts lines to CR/LF. This bash problem
  25587. # is reportedly fixed, but why not run on old versions too?
  25588. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  25589. || (rm -f "$cfgfile"; exit 1)
  25590. case $xsi_shell in
  25591. yes)
  25592. cat << \_LT_EOF >> "$cfgfile"
  25593. # func_dirname file append nondir_replacement
  25594. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  25595. # otherwise set result to NONDIR_REPLACEMENT.
  25596. func_dirname ()
  25597. {
  25598. case ${1} in
  25599. */*) func_dirname_result="${1%/*}${2}" ;;
  25600. * ) func_dirname_result="${3}" ;;
  25601. esac
  25602. }
  25603. # func_basename file
  25604. func_basename ()
  25605. {
  25606. func_basename_result="${1##*/}"
  25607. }
  25608. # func_dirname_and_basename file append nondir_replacement
  25609. # perform func_basename and func_dirname in a single function
  25610. # call:
  25611. # dirname: Compute the dirname of FILE. If nonempty,
  25612. # add APPEND to the result, otherwise set result
  25613. # to NONDIR_REPLACEMENT.
  25614. # value returned in "$func_dirname_result"
  25615. # basename: Compute filename of FILE.
  25616. # value retuned in "$func_basename_result"
  25617. # Implementation must be kept synchronized with func_dirname
  25618. # and func_basename. For efficiency, we do not delegate to
  25619. # those functions but instead duplicate the functionality here.
  25620. func_dirname_and_basename ()
  25621. {
  25622. case ${1} in
  25623. */*) func_dirname_result="${1%/*}${2}" ;;
  25624. * ) func_dirname_result="${3}" ;;
  25625. esac
  25626. func_basename_result="${1##*/}"
  25627. }
  25628. # func_stripname prefix suffix name
  25629. # strip PREFIX and SUFFIX off of NAME.
  25630. # PREFIX and SUFFIX must not contain globbing or regex special
  25631. # characters, hashes, percent signs, but SUFFIX may contain a leading
  25632. # dot (in which case that matches only a dot).
  25633. func_stripname ()
  25634. {
  25635. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  25636. # positional parameters, so assign one to ordinary parameter first.
  25637. func_stripname_result=${3}
  25638. func_stripname_result=${func_stripname_result#"${1}"}
  25639. func_stripname_result=${func_stripname_result%"${2}"}
  25640. }
  25641. # func_opt_split
  25642. func_opt_split ()
  25643. {
  25644. func_opt_split_opt=${1%%=*}
  25645. func_opt_split_arg=${1#*=}
  25646. }
  25647. # func_lo2o object
  25648. func_lo2o ()
  25649. {
  25650. case ${1} in
  25651. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  25652. *) func_lo2o_result=${1} ;;
  25653. esac
  25654. }
  25655. # func_xform libobj-or-source
  25656. func_xform ()
  25657. {
  25658. func_xform_result=${1%.*}.lo
  25659. }
  25660. # func_arith arithmetic-term...
  25661. func_arith ()
  25662. {
  25663. func_arith_result=$(( $* ))
  25664. }
  25665. # func_len string
  25666. # STRING may not start with a hyphen.
  25667. func_len ()
  25668. {
  25669. func_len_result=${#1}
  25670. }
  25671. _LT_EOF
  25672. ;;
  25673. *) # Bourne compatible functions.
  25674. cat << \_LT_EOF >> "$cfgfile"
  25675. # func_dirname file append nondir_replacement
  25676. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  25677. # otherwise set result to NONDIR_REPLACEMENT.
  25678. func_dirname ()
  25679. {
  25680. # Extract subdirectory from the argument.
  25681. func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  25682. if test "X$func_dirname_result" = "X${1}"; then
  25683. func_dirname_result="${3}"
  25684. else
  25685. func_dirname_result="$func_dirname_result${2}"
  25686. fi
  25687. }
  25688. # func_basename file
  25689. func_basename ()
  25690. {
  25691. func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  25692. }
  25693. # func_stripname prefix suffix name
  25694. # strip PREFIX and SUFFIX off of NAME.
  25695. # PREFIX and SUFFIX must not contain globbing or regex special
  25696. # characters, hashes, percent signs, but SUFFIX may contain a leading
  25697. # dot (in which case that matches only a dot).
  25698. # func_strip_suffix prefix name
  25699. func_stripname ()
  25700. {
  25701. case ${2} in
  25702. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  25703. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  25704. esac
  25705. }
  25706. # sed scripts:
  25707. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  25708. my_sed_long_arg='1s/^-[^=]*=//'
  25709. # func_opt_split
  25710. func_opt_split ()
  25711. {
  25712. func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  25713. func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  25714. }
  25715. # func_lo2o object
  25716. func_lo2o ()
  25717. {
  25718. func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  25719. }
  25720. # func_xform libobj-or-source
  25721. func_xform ()
  25722. {
  25723. func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  25724. }
  25725. # func_arith arithmetic-term...
  25726. func_arith ()
  25727. {
  25728. func_arith_result=`expr "$@"`
  25729. }
  25730. # func_len string
  25731. # STRING may not start with a hyphen.
  25732. func_len ()
  25733. {
  25734. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  25735. }
  25736. _LT_EOF
  25737. esac
  25738. case $lt_shell_append in
  25739. yes)
  25740. cat << \_LT_EOF >> "$cfgfile"
  25741. # func_append var value
  25742. # Append VALUE to the end of shell variable VAR.
  25743. func_append ()
  25744. {
  25745. eval "$1+=\$2"
  25746. }
  25747. _LT_EOF
  25748. ;;
  25749. *)
  25750. cat << \_LT_EOF >> "$cfgfile"
  25751. # func_append var value
  25752. # Append VALUE to the end of shell variable VAR.
  25753. func_append ()
  25754. {
  25755. eval "$1=\$$1\$2"
  25756. }
  25757. _LT_EOF
  25758. ;;
  25759. esac
  25760. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  25761. || (rm -f "$cfgfile"; exit 1)
  25762. mv -f "$cfgfile" "$ofile" ||
  25763. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  25764. chmod +x "$ofile"
  25765. cat <<_LT_EOF >> "$ofile"
  25766. # ### BEGIN LIBTOOL TAG CONFIG: FC
  25767. # The linker used to build libraries.
  25768. LD=$lt_LD_FC
  25769. # How to create reloadable object files.
  25770. reload_flag=$lt_reload_flag_FC
  25771. reload_cmds=$lt_reload_cmds_FC
  25772. # Commands used to build an old-style archive.
  25773. old_archive_cmds=$lt_old_archive_cmds_FC
  25774. # A language specific compiler.
  25775. CC=$lt_compiler_FC
  25776. # Is the compiler the GNU compiler?
  25777. with_gcc=$GCC_FC
  25778. # Compiler flag to turn off builtin functions.
  25779. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
  25780. # How to pass a linker flag through the compiler.
  25781. wl=$lt_lt_prog_compiler_wl_FC
  25782. # Additional compiler flags for building library objects.
  25783. pic_flag=$lt_lt_prog_compiler_pic_FC
  25784. # Compiler flag to prevent dynamic linking.
  25785. link_static_flag=$lt_lt_prog_compiler_static_FC
  25786. # Does compiler simultaneously support -c and -o options?
  25787. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
  25788. # Whether or not to add -lc for building shared libraries.
  25789. build_libtool_need_lc=$archive_cmds_need_lc_FC
  25790. # Whether or not to disallow shared libs when runtime libs are static.
  25791. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
  25792. # Compiler flag to allow reflexive dlopens.
  25793. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
  25794. # Compiler flag to generate shared objects directly from archives.
  25795. whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
  25796. # Whether the compiler copes with passing no objects directly.
  25797. compiler_needs_object=$lt_compiler_needs_object_FC
  25798. # Create an old-style archive from a shared archive.
  25799. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
  25800. # Create a temporary old-style archive to link instead of a shared archive.
  25801. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
  25802. # Commands used to build a shared archive.
  25803. archive_cmds=$lt_archive_cmds_FC
  25804. archive_expsym_cmds=$lt_archive_expsym_cmds_FC
  25805. # Commands used to build a loadable module if different from building
  25806. # a shared archive.
  25807. module_cmds=$lt_module_cmds_FC
  25808. module_expsym_cmds=$lt_module_expsym_cmds_FC
  25809. # Whether we are building with GNU ld or not.
  25810. with_gnu_ld=$lt_with_gnu_ld_FC
  25811. # Flag that allows shared libraries with undefined symbols to be built.
  25812. allow_undefined_flag=$lt_allow_undefined_flag_FC
  25813. # Flag that enforces no undefined symbols.
  25814. no_undefined_flag=$lt_no_undefined_flag_FC
  25815. # Flag to hardcode \$libdir into a binary during linking.
  25816. # This must work even if \$libdir does not exist
  25817. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
  25818. # If ld is used when linking, flag to hardcode \$libdir into a binary
  25819. # during linking. This must work even if \$libdir does not exist.
  25820. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
  25821. # Whether we need a single "-rpath" flag with a separated argument.
  25822. hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
  25823. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  25824. # DIR into the resulting binary.
  25825. hardcode_direct=$hardcode_direct_FC
  25826. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  25827. # DIR into the resulting binary and the resulting library dependency is
  25828. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  25829. # library is relocated.
  25830. hardcode_direct_absolute=$hardcode_direct_absolute_FC
  25831. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  25832. # into the resulting binary.
  25833. hardcode_minus_L=$hardcode_minus_L_FC
  25834. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  25835. # into the resulting binary.
  25836. hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
  25837. # Set to "yes" if building a shared library automatically hardcodes DIR
  25838. # into the library and all subsequent libraries and executables linked
  25839. # against it.
  25840. hardcode_automatic=$hardcode_automatic_FC
  25841. # Set to yes if linker adds runtime paths of dependent libraries
  25842. # to runtime path list.
  25843. inherit_rpath=$inherit_rpath_FC
  25844. # Whether libtool must link a program against all its dependency libraries.
  25845. link_all_deplibs=$link_all_deplibs_FC
  25846. # Fix the shell variable \$srcfile for the compiler.
  25847. fix_srcfile_path=$lt_fix_srcfile_path_FC
  25848. # Set to "yes" if exported symbols are required.
  25849. always_export_symbols=$always_export_symbols_FC
  25850. # The commands to list exported symbols.
  25851. export_symbols_cmds=$lt_export_symbols_cmds_FC
  25852. # Symbols that should not be listed in the preloaded symbols.
  25853. exclude_expsyms=$lt_exclude_expsyms_FC
  25854. # Symbols that must always be exported.
  25855. include_expsyms=$lt_include_expsyms_FC
  25856. # Commands necessary for linking programs (against libraries) with templates.
  25857. prelink_cmds=$lt_prelink_cmds_FC
  25858. # Specify filename containing input files.
  25859. file_list_spec=$lt_file_list_spec_FC
  25860. # How to hardcode a shared library path into an executable.
  25861. hardcode_action=$hardcode_action_FC
  25862. # The directories searched by this compiler when creating a shared library.
  25863. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
  25864. # Dependencies to place before and after the objects being linked to
  25865. # create a shared library.
  25866. predep_objects=$lt_predep_objects_FC
  25867. postdep_objects=$lt_postdep_objects_FC
  25868. predeps=$lt_predeps_FC
  25869. postdeps=$lt_postdeps_FC
  25870. # The library search path used internally by the compiler when linking
  25871. # a shared library.
  25872. compiler_lib_search_path=$lt_compiler_lib_search_path_FC
  25873. # ### END LIBTOOL TAG CONFIG: FC
  25874. _LT_EOF
  25875. ;;
  25876. "gstdint.h":C)
  25877. if test "$GCC" = yes; then
  25878. echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
  25879. else
  25880. echo "/* generated for $CC */" > tmp-stdint.h
  25881. fi
  25882. sed 's/^ *//' >> tmp-stdint.h <<EOF
  25883. #ifndef GCC_GENERATED_STDINT_H
  25884. #define GCC_GENERATED_STDINT_H 1
  25885. #include <sys/types.h>
  25886. EOF
  25887. if test "$acx_cv_header_stdint" != stdint.h; then
  25888. echo "#include <stddef.h>" >> tmp-stdint.h
  25889. fi
  25890. if test "$acx_cv_header_stdint" != stddef.h; then
  25891. echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
  25892. fi
  25893. sed 's/^ *//' >> tmp-stdint.h <<EOF
  25894. /* glibc uses these symbols as guards to prevent redefinitions. */
  25895. #ifdef __int8_t_defined
  25896. #define _INT8_T
  25897. #define _INT16_T
  25898. #define _INT32_T
  25899. #endif
  25900. #ifdef __uint32_t_defined
  25901. #define _UINT32_T
  25902. #endif
  25903. EOF
  25904. # ----------------- done header, emit basic int types -------------
  25905. if test "$acx_cv_header_stdint" = stddef.h; then
  25906. sed 's/^ *//' >> tmp-stdint.h <<EOF
  25907. #ifndef _UINT8_T
  25908. #define _UINT8_T
  25909. #ifndef __uint8_t_defined
  25910. #define __uint8_t_defined
  25911. #ifndef uint8_t
  25912. typedef unsigned $acx_cv_type_int8_t uint8_t;
  25913. #endif
  25914. #endif
  25915. #endif
  25916. #ifndef _UINT16_T
  25917. #define _UINT16_T
  25918. #ifndef __uint16_t_defined
  25919. #define __uint16_t_defined
  25920. #ifndef uint16_t
  25921. typedef unsigned $acx_cv_type_int16_t uint16_t;
  25922. #endif
  25923. #endif
  25924. #endif
  25925. #ifndef _UINT32_T
  25926. #define _UINT32_T
  25927. #ifndef __uint32_t_defined
  25928. #define __uint32_t_defined
  25929. #ifndef uint32_t
  25930. typedef unsigned $acx_cv_type_int32_t uint32_t;
  25931. #endif
  25932. #endif
  25933. #endif
  25934. #ifndef _INT8_T
  25935. #define _INT8_T
  25936. #ifndef __int8_t_defined
  25937. #define __int8_t_defined
  25938. #ifndef int8_t
  25939. typedef $acx_cv_type_int8_t int8_t;
  25940. #endif
  25941. #endif
  25942. #endif
  25943. #ifndef _INT16_T
  25944. #define _INT16_T
  25945. #ifndef __int16_t_defined
  25946. #define __int16_t_defined
  25947. #ifndef int16_t
  25948. typedef $acx_cv_type_int16_t int16_t;
  25949. #endif
  25950. #endif
  25951. #endif
  25952. #ifndef _INT32_T
  25953. #define _INT32_T
  25954. #ifndef __int32_t_defined
  25955. #define __int32_t_defined
  25956. #ifndef int32_t
  25957. typedef $acx_cv_type_int32_t int32_t;
  25958. #endif
  25959. #endif
  25960. #endif
  25961. EOF
  25962. elif test "$ac_cv_type_u_int32_t" = yes; then
  25963. sed 's/^ *//' >> tmp-stdint.h <<EOF
  25964. /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
  25965. #ifndef _INT8_T
  25966. #define _INT8_T
  25967. #endif
  25968. #ifndef _INT16_T
  25969. #define _INT16_T
  25970. #endif
  25971. #ifndef _INT32_T
  25972. #define _INT32_T
  25973. #endif
  25974. #ifndef _UINT8_T
  25975. #define _UINT8_T
  25976. #ifndef __uint8_t_defined
  25977. #define __uint8_t_defined
  25978. #ifndef uint8_t
  25979. typedef u_int8_t uint8_t;
  25980. #endif
  25981. #endif
  25982. #endif
  25983. #ifndef _UINT16_T
  25984. #define _UINT16_T
  25985. #ifndef __uint16_t_defined
  25986. #define __uint16_t_defined
  25987. #ifndef uint16_t
  25988. typedef u_int16_t uint16_t;
  25989. #endif
  25990. #endif
  25991. #endif
  25992. #ifndef _UINT32_T
  25993. #define _UINT32_T
  25994. #ifndef __uint32_t_defined
  25995. #define __uint32_t_defined
  25996. #ifndef uint32_t
  25997. typedef u_int32_t uint32_t;
  25998. #endif
  25999. #endif
  26000. #endif
  26001. EOF
  26002. else
  26003. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26004. /* Some systems have guard macros to prevent redefinitions, define them. */
  26005. #ifndef _INT8_T
  26006. #define _INT8_T
  26007. #endif
  26008. #ifndef _INT16_T
  26009. #define _INT16_T
  26010. #endif
  26011. #ifndef _INT32_T
  26012. #define _INT32_T
  26013. #endif
  26014. #ifndef _UINT8_T
  26015. #define _UINT8_T
  26016. #endif
  26017. #ifndef _UINT16_T
  26018. #define _UINT16_T
  26019. #endif
  26020. #ifndef _UINT32_T
  26021. #define _UINT32_T
  26022. #endif
  26023. EOF
  26024. fi
  26025. # ------------- done basic int types, emit int64_t types ------------
  26026. if test "$ac_cv_type_uint64_t" = yes; then
  26027. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26028. /* system headers have good uint64_t and int64_t */
  26029. #ifndef _INT64_T
  26030. #define _INT64_T
  26031. #endif
  26032. #ifndef _UINT64_T
  26033. #define _UINT64_T
  26034. #endif
  26035. EOF
  26036. elif test "$ac_cv_type_u_int64_t" = yes; then
  26037. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26038. /* system headers have an u_int64_t (and int64_t) */
  26039. #ifndef _INT64_T
  26040. #define _INT64_T
  26041. #endif
  26042. #ifndef _UINT64_T
  26043. #define _UINT64_T
  26044. #ifndef __uint64_t_defined
  26045. #define __uint64_t_defined
  26046. #ifndef uint64_t
  26047. typedef u_int64_t uint64_t;
  26048. #endif
  26049. #endif
  26050. #endif
  26051. EOF
  26052. elif test -n "$acx_cv_type_int64_t"; then
  26053. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26054. /* architecture has a 64-bit type, $acx_cv_type_int64_t */
  26055. #ifndef _INT64_T
  26056. #define _INT64_T
  26057. #ifndef int64_t
  26058. typedef $acx_cv_type_int64_t int64_t;
  26059. #endif
  26060. #endif
  26061. #ifndef _UINT64_T
  26062. #define _UINT64_T
  26063. #ifndef __uint64_t_defined
  26064. #define __uint64_t_defined
  26065. #ifndef uint64_t
  26066. typedef unsigned $acx_cv_type_int64_t uint64_t;
  26067. #endif
  26068. #endif
  26069. #endif
  26070. EOF
  26071. else
  26072. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26073. /* some common heuristics for int64_t, using compiler-specific tests */
  26074. #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
  26075. #ifndef _INT64_T
  26076. #define _INT64_T
  26077. #ifndef __int64_t_defined
  26078. #ifndef int64_t
  26079. typedef long long int64_t;
  26080. #endif
  26081. #endif
  26082. #endif
  26083. #ifndef _UINT64_T
  26084. #define _UINT64_T
  26085. #ifndef uint64_t
  26086. typedef unsigned long long uint64_t;
  26087. #endif
  26088. #endif
  26089. #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
  26090. /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
  26091. does not implement __extension__. But that compiler doesn't define
  26092. __GNUC_MINOR__. */
  26093. # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
  26094. # define __extension__
  26095. # endif
  26096. # ifndef _INT64_T
  26097. # define _INT64_T
  26098. # ifndef int64_t
  26099. __extension__ typedef long long int64_t;
  26100. # endif
  26101. # endif
  26102. # ifndef _UINT64_T
  26103. # define _UINT64_T
  26104. # ifndef uint64_t
  26105. __extension__ typedef unsigned long long uint64_t;
  26106. # endif
  26107. # endif
  26108. #elif !defined __STRICT_ANSI__
  26109. # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
  26110. # ifndef _INT64_T
  26111. # define _INT64_T
  26112. # ifndef int64_t
  26113. typedef __int64 int64_t;
  26114. # endif
  26115. # endif
  26116. # ifndef _UINT64_T
  26117. # define _UINT64_T
  26118. # ifndef uint64_t
  26119. typedef unsigned __int64 uint64_t;
  26120. # endif
  26121. # endif
  26122. # endif /* compiler */
  26123. #endif /* ANSI version */
  26124. EOF
  26125. fi
  26126. # ------------- done int64_t types, emit intptr types ------------
  26127. if test "$ac_cv_type_uintptr_t" != yes; then
  26128. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26129. /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
  26130. #ifndef __uintptr_t_defined
  26131. #ifndef uintptr_t
  26132. typedef u$acx_cv_type_intptr_t uintptr_t;
  26133. #endif
  26134. #endif
  26135. #ifndef __intptr_t_defined
  26136. #ifndef intptr_t
  26137. typedef $acx_cv_type_intptr_t intptr_t;
  26138. #endif
  26139. #endif
  26140. EOF
  26141. fi
  26142. # ------------- done intptr types, emit int_least types ------------
  26143. if test "$ac_cv_type_int_least32_t" != yes; then
  26144. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26145. /* Define int_least types */
  26146. typedef int8_t int_least8_t;
  26147. typedef int16_t int_least16_t;
  26148. typedef int32_t int_least32_t;
  26149. #ifdef _INT64_T
  26150. typedef int64_t int_least64_t;
  26151. #endif
  26152. typedef uint8_t uint_least8_t;
  26153. typedef uint16_t uint_least16_t;
  26154. typedef uint32_t uint_least32_t;
  26155. #ifdef _UINT64_T
  26156. typedef uint64_t uint_least64_t;
  26157. #endif
  26158. EOF
  26159. fi
  26160. # ------------- done intptr types, emit int_fast types ------------
  26161. if test "$ac_cv_type_int_fast32_t" != yes; then
  26162. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26163. /* Define int_fast types. short is often slow */
  26164. typedef int8_t int_fast8_t;
  26165. typedef int int_fast16_t;
  26166. typedef int32_t int_fast32_t;
  26167. #ifdef _INT64_T
  26168. typedef int64_t int_fast64_t;
  26169. #endif
  26170. typedef uint8_t uint_fast8_t;
  26171. typedef unsigned int uint_fast16_t;
  26172. typedef uint32_t uint_fast32_t;
  26173. #ifdef _UINT64_T
  26174. typedef uint64_t uint_fast64_t;
  26175. #endif
  26176. EOF
  26177. fi
  26178. if test "$ac_cv_type_uintmax_t" != yes; then
  26179. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26180. /* Define intmax based on what we found */
  26181. #ifndef intmax_t
  26182. #ifdef _INT64_T
  26183. typedef int64_t intmax_t;
  26184. #else
  26185. typedef long intmax_t;
  26186. #endif
  26187. #endif
  26188. #ifndef uintmax_t
  26189. #ifdef _UINT64_T
  26190. typedef uint64_t uintmax_t;
  26191. #else
  26192. typedef unsigned long uintmax_t;
  26193. #endif
  26194. #endif
  26195. EOF
  26196. fi
  26197. sed 's/^ *//' >> tmp-stdint.h <<EOF
  26198. #endif /* GCC_GENERATED_STDINT_H */
  26199. EOF
  26200. if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
  26201. rm -f tmp-stdint.h
  26202. else
  26203. mv -f tmp-stdint.h gstdint.h
  26204. fi
  26205. ;;
  26206. esac
  26207. done # for ac_tag
  26208. as_fn_exit 0
  26209. _ACEOF
  26210. ac_clean_files=$ac_clean_files_save
  26211. test $ac_write_fail = 0 ||
  26212. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  26213. # configure is writing to config.log, and then calls config.status.
  26214. # config.status does its own redirection, appending to config.log.
  26215. # Unfortunately, on DOS this fails, as config.log is still kept open
  26216. # by configure, so config.status won't be able to write to it; its
  26217. # output is simply discarded. So we exec the FD to /dev/null,
  26218. # effectively closing config.log, so it can be properly (re)opened and
  26219. # appended to by config.status. When coming back to configure, we
  26220. # need to make the FD available again.
  26221. if test "$no_create" != yes; then
  26222. ac_cs_success=:
  26223. ac_config_status_args=
  26224. test "$silent" = yes &&
  26225. ac_config_status_args="$ac_config_status_args --quiet"
  26226. exec 5>/dev/null
  26227. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  26228. exec 5>>config.log
  26229. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  26230. # would make configure fail if this is the last instruction.
  26231. $ac_cs_success || as_fn_exit 1
  26232. fi
  26233. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  26234. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  26235. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  26236. fi