configure 785 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  7. # Foundation, Inc.
  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. case $0 in #((
  84. *[\\/]* ) as_myself=$0 ;;
  85. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88. IFS=$as_save_IFS
  89. test -z "$as_dir" && as_dir=.
  90. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91. done
  92. IFS=$as_save_IFS
  93. ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98. as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102. exit 1
  103. fi
  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there. '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '
  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE
  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  122. if test "x$CONFIG_SHELL" = x; then
  123. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  124. emulate sh
  125. NULLCMD=:
  126. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  127. # is contrary to our usage. Disable this feature.
  128. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  129. setopt NO_GLOB_SUBST
  130. else
  131. case \`(set -o) 2>/dev/null\` in #(
  132. *posix*) :
  133. set -o posix ;; #(
  134. *) :
  135. ;;
  136. esac
  137. fi
  138. "
  139. as_required="as_fn_return () { (exit \$1); }
  140. as_fn_success () { as_fn_return 0; }
  141. as_fn_failure () { as_fn_return 1; }
  142. as_fn_ret_success () { return 0; }
  143. as_fn_ret_failure () { return 1; }
  144. exitcode=0
  145. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  146. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  147. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  148. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  149. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  150. else
  151. exitcode=1; echo positional parameters were not saved.
  152. fi
  153. test x\$exitcode = x0 || exit 1"
  154. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  155. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  156. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  157. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  158. test \$(( 1 + 1 )) = 2 || exit 1
  159. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  160. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  161. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  162. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  163. PATH=/empty FPATH=/empty; export PATH FPATH
  164. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  165. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  166. if (eval "$as_required") 2>/dev/null; then :
  167. as_have_required=yes
  168. else
  169. as_have_required=no
  170. fi
  171. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  172. else
  173. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  174. as_found=false
  175. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  176. do
  177. IFS=$as_save_IFS
  178. test -z "$as_dir" && as_dir=.
  179. as_found=:
  180. case $as_dir in #(
  181. /*)
  182. for as_base in sh bash ksh sh5; do
  183. # Try only shells that exist, to save several forks.
  184. as_shell=$as_dir/$as_base
  185. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  186. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  187. CONFIG_SHELL=$as_shell as_have_required=yes
  188. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  189. break 2
  190. fi
  191. fi
  192. done;;
  193. esac
  194. as_found=false
  195. done
  196. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  197. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  198. CONFIG_SHELL=$SHELL as_have_required=yes
  199. fi; }
  200. IFS=$as_save_IFS
  201. if test "x$CONFIG_SHELL" != x; then :
  202. # We cannot yet assume a decent shell, so we have to provide a
  203. # neutralization value for shells without unset; and this also
  204. # works around shells that cannot unset nonexistent variables.
  205. BASH_ENV=/dev/null
  206. ENV=/dev/null
  207. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  208. export CONFIG_SHELL
  209. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  210. fi
  211. if test x$as_have_required = xno; then :
  212. $as_echo "$0: This script requires a shell more modern than all"
  213. $as_echo "$0: the shells that I found on your system."
  214. if test x${ZSH_VERSION+set} = xset ; then
  215. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  216. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  217. else
  218. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  219. $0: including any error possibly output before this
  220. $0: message. Then install a modern shell, or manually run
  221. $0: the script under such a shell if you do have one."
  222. fi
  223. exit 1
  224. fi
  225. fi
  226. fi
  227. SHELL=${CONFIG_SHELL-/bin/sh}
  228. export SHELL
  229. # Unset more variables known to interfere with behavior of common tools.
  230. CLICOLOR_FORCE= GREP_OPTIONS=
  231. unset CLICOLOR_FORCE GREP_OPTIONS
  232. ## --------------------- ##
  233. ## M4sh Shell Functions. ##
  234. ## --------------------- ##
  235. # as_fn_unset VAR
  236. # ---------------
  237. # Portably unset VAR.
  238. as_fn_unset ()
  239. {
  240. { eval $1=; unset $1;}
  241. }
  242. as_unset=as_fn_unset
  243. # as_fn_set_status STATUS
  244. # -----------------------
  245. # Set $? to STATUS, without forking.
  246. as_fn_set_status ()
  247. {
  248. return $1
  249. } # as_fn_set_status
  250. # as_fn_exit STATUS
  251. # -----------------
  252. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  253. as_fn_exit ()
  254. {
  255. set +e
  256. as_fn_set_status $1
  257. exit $1
  258. } # as_fn_exit
  259. # as_fn_mkdir_p
  260. # -------------
  261. # Create "$as_dir" as a directory, including parents if necessary.
  262. as_fn_mkdir_p ()
  263. {
  264. case $as_dir in #(
  265. -*) as_dir=./$as_dir;;
  266. esac
  267. test -d "$as_dir" || eval $as_mkdir_p || {
  268. as_dirs=
  269. while :; do
  270. case $as_dir in #(
  271. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  272. *) as_qdir=$as_dir;;
  273. esac
  274. as_dirs="'$as_qdir' $as_dirs"
  275. as_dir=`$as_dirname -- "$as_dir" ||
  276. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  277. X"$as_dir" : 'X\(//\)[^/]' \| \
  278. X"$as_dir" : 'X\(//\)$' \| \
  279. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  280. $as_echo X"$as_dir" |
  281. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\/\)[^/].*/{
  286. s//\1/
  287. q
  288. }
  289. /^X\(\/\/\)$/{
  290. s//\1/
  291. q
  292. }
  293. /^X\(\/\).*/{
  294. s//\1/
  295. q
  296. }
  297. s/.*/./; q'`
  298. test -d "$as_dir" && break
  299. done
  300. test -z "$as_dirs" || eval "mkdir $as_dirs"
  301. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  302. } # as_fn_mkdir_p
  303. # as_fn_append VAR VALUE
  304. # ----------------------
  305. # Append the text in VALUE to the end of the definition contained in VAR. Take
  306. # advantage of any shell optimizations that allow amortized linear growth over
  307. # repeated appends, instead of the typical quadratic growth present in naive
  308. # implementations.
  309. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  310. eval 'as_fn_append ()
  311. {
  312. eval $1+=\$2
  313. }'
  314. else
  315. as_fn_append ()
  316. {
  317. eval $1=\$$1\$2
  318. }
  319. fi # as_fn_append
  320. # as_fn_arith ARG...
  321. # ------------------
  322. # Perform arithmetic evaluation on the ARGs, and store the result in the
  323. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  324. # must be portable across $(()) and expr.
  325. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  326. eval 'as_fn_arith ()
  327. {
  328. as_val=$(( $* ))
  329. }'
  330. else
  331. as_fn_arith ()
  332. {
  333. as_val=`expr "$@" || test $? -eq 1`
  334. }
  335. fi # as_fn_arith
  336. # as_fn_error ERROR [LINENO LOG_FD]
  337. # ---------------------------------
  338. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  339. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  340. # script with status $?, using 1 if that was 0.
  341. as_fn_error ()
  342. {
  343. as_status=$?; test $as_status -eq 0 && as_status=1
  344. if test "$3"; then
  345. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  346. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  347. fi
  348. $as_echo "$as_me: error: $1" >&2
  349. as_fn_exit $as_status
  350. } # as_fn_error
  351. if expr a : '\(a\)' >/dev/null 2>&1 &&
  352. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  353. as_expr=expr
  354. else
  355. as_expr=false
  356. fi
  357. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  358. as_basename=basename
  359. else
  360. as_basename=false
  361. fi
  362. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  363. as_dirname=dirname
  364. else
  365. as_dirname=false
  366. fi
  367. as_me=`$as_basename -- "$0" ||
  368. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  369. X"$0" : 'X\(//\)$' \| \
  370. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  371. $as_echo X/"$0" |
  372. sed '/^.*\/\([^/][^/]*\)\/*$/{
  373. s//\1/
  374. q
  375. }
  376. /^X\/\(\/\/\)$/{
  377. s//\1/
  378. q
  379. }
  380. /^X\/\(\/\).*/{
  381. s//\1/
  382. q
  383. }
  384. s/.*/./; q'`
  385. # Avoid depending upon Character Ranges.
  386. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  387. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  388. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  389. as_cr_digits='0123456789'
  390. as_cr_alnum=$as_cr_Letters$as_cr_digits
  391. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  392. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  393. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  394. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  395. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  396. sed -n '
  397. p
  398. /[$]LINENO/=
  399. ' <$as_myself |
  400. sed '
  401. s/[$]LINENO.*/&-/
  402. t lineno
  403. b
  404. :lineno
  405. N
  406. :loop
  407. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  408. t loop
  409. s/-\n.*//
  410. ' >$as_me.lineno &&
  411. chmod +x "$as_me.lineno" ||
  412. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  413. # Don't try to exec as it changes $[0], causing all sort of problems
  414. # (the dirname of $[0] is not the place where we might find the
  415. # original and so on. Autoconf is especially sensitive to this).
  416. . "./$as_me.lineno"
  417. # Exit status is that of the last command.
  418. exit
  419. }
  420. ECHO_C= ECHO_N= ECHO_T=
  421. case `echo -n x` in #(((((
  422. -n*)
  423. case `echo 'xy\c'` in
  424. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  425. xy) ECHO_C='\c';;
  426. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  427. ECHO_T=' ';;
  428. esac;;
  429. *)
  430. ECHO_N='-n';;
  431. esac
  432. rm -f conf$$ conf$$.exe conf$$.file
  433. if test -d conf$$.dir; then
  434. rm -f conf$$.dir/conf$$.file
  435. else
  436. rm -f conf$$.dir
  437. mkdir conf$$.dir 2>/dev/null
  438. fi
  439. if (echo >conf$$.file) 2>/dev/null; then
  440. if ln -s conf$$.file conf$$ 2>/dev/null; then
  441. as_ln_s='ln -s'
  442. # ... but there are two gotchas:
  443. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  444. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  445. # In both cases, we have to default to `cp -p'.
  446. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  447. as_ln_s='cp -p'
  448. elif ln conf$$.file conf$$ 2>/dev/null; then
  449. as_ln_s=ln
  450. else
  451. as_ln_s='cp -p'
  452. fi
  453. else
  454. as_ln_s='cp -p'
  455. fi
  456. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  457. rmdir conf$$.dir 2>/dev/null
  458. if mkdir -p . 2>/dev/null; then
  459. as_mkdir_p='mkdir -p "$as_dir"'
  460. else
  461. test -d ./-p && rmdir ./-p
  462. as_mkdir_p=false
  463. fi
  464. if test -x / >/dev/null 2>&1; then
  465. as_test_x='test -x'
  466. else
  467. if ls -dL / >/dev/null 2>&1; then
  468. as_ls_L_option=L
  469. else
  470. as_ls_L_option=
  471. fi
  472. as_test_x='
  473. eval sh -c '\''
  474. if test -d "$1"; then
  475. test -d "$1/.";
  476. else
  477. case $1 in #(
  478. -*)set "./$1";;
  479. esac;
  480. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  481. ???[sx]*):;;*)false;;esac;fi
  482. '\'' sh
  483. '
  484. fi
  485. as_executable_p=$as_test_x
  486. # Sed expression to map a string onto a valid CPP name.
  487. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  488. # Sed expression to map a string onto a valid variable name.
  489. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  490. SHELL=${CONFIG_SHELL-/bin/sh}
  491. exec 7<&0 </dev/null 6>&1
  492. # Name of the host.
  493. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  494. # so uname gets run too.
  495. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  496. #
  497. # Initializations.
  498. #
  499. ac_default_prefix=/usr/local
  500. ac_clean_files=
  501. ac_config_libobj_dir=.
  502. LIBOBJS=
  503. cross_compiling=no
  504. subdirs=
  505. MFLAGS=
  506. MAKEFLAGS=
  507. # Identity of this package.
  508. PACKAGE_NAME='GNU Fortran Runtime Library'
  509. PACKAGE_TARNAME='libgfortran'
  510. PACKAGE_VERSION='0.3'
  511. PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
  512. PACKAGE_BUGREPORT=''
  513. PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
  514. # Factoring default headers for most tests.
  515. ac_includes_default="\
  516. #include <stdio.h>
  517. #ifdef HAVE_SYS_TYPES_H
  518. # include <sys/types.h>
  519. #endif
  520. #ifdef HAVE_SYS_STAT_H
  521. # include <sys/stat.h>
  522. #endif
  523. #ifdef STDC_HEADERS
  524. # include <stdlib.h>
  525. # include <stddef.h>
  526. #else
  527. # ifdef HAVE_STDLIB_H
  528. # include <stdlib.h>
  529. # endif
  530. #endif
  531. #ifdef HAVE_STRING_H
  532. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  533. # include <memory.h>
  534. # endif
  535. # include <string.h>
  536. #endif
  537. #ifdef HAVE_STRINGS_H
  538. # include <strings.h>
  539. #endif
  540. #ifdef HAVE_INTTYPES_H
  541. # include <inttypes.h>
  542. #endif
  543. #ifdef HAVE_STDINT_H
  544. # include <stdint.h>
  545. #endif
  546. #ifdef HAVE_UNISTD_H
  547. # include <unistd.h>
  548. #endif"
  549. ac_header_list=
  550. ac_func_list=
  551. ac_c_werror_flag=
  552. ac_c_werror_flag=
  553. ac_subst_vars='am__EXEEXT_FALSE
  554. am__EXEEXT_TRUE
  555. LTLIBOBJS
  556. LIBOBJS
  557. IEEE_FLAGS
  558. IEEE_SUPPORT
  559. IEEE_SUPPORT_FALSE
  560. IEEE_SUPPORT_TRUE
  561. FPU_HOST_HEADER
  562. LIBGFOR_BUILD_QUAD_FALSE
  563. LIBGFOR_BUILD_QUAD_TRUE
  564. LIBQUADINCLUDE
  565. LIBQUADLIB_DEP
  566. LIBQUADLIB
  567. LIBQUADSPEC
  568. extra_ldflags_libgfortran
  569. ac_ct_FC
  570. FCFLAGS
  571. FC
  572. enable_static
  573. enable_shared
  574. lt_host_flags
  575. OTOOL64
  576. OTOOL
  577. LIPO
  578. NMEDIT
  579. DSYMUTIL
  580. OBJDUMP
  581. LN_S
  582. NM
  583. ac_ct_DUMPBIN
  584. DUMPBIN
  585. LD
  586. FGREP
  587. SED
  588. LIBTOOL
  589. RANLIB
  590. AR
  591. AS
  592. SECTION_FLAGS
  593. LIBGFOR_MINIMAL_FALSE
  594. LIBGFOR_MINIMAL_TRUE
  595. LIBGFOR_USE_SYMVER_SUN_FALSE
  596. LIBGFOR_USE_SYMVER_SUN_TRUE
  597. LIBGFOR_USE_SYMVER_GNU_FALSE
  598. LIBGFOR_USE_SYMVER_GNU_TRUE
  599. LIBGFOR_USE_SYMVER_FALSE
  600. LIBGFOR_USE_SYMVER_TRUE
  601. AM_CFLAGS
  602. AM_FCFLAGS
  603. toolexeclibdir
  604. toolexecdir
  605. EGREP
  606. GREP
  607. CPP
  608. am__fastdepCC_FALSE
  609. am__fastdepCC_TRUE
  610. CCDEPMODE
  611. am__nodep
  612. AMDEPBACKSLASH
  613. AMDEP_FALSE
  614. AMDEP_TRUE
  615. am__quote
  616. am__include
  617. DEPDIR
  618. OBJEXT
  619. EXEEXT
  620. ac_ct_CC
  621. CPPFLAGS
  622. LDFLAGS
  623. CFLAGS
  624. CC
  625. multi_basedir
  626. MAINT
  627. MAINTAINER_MODE_FALSE
  628. MAINTAINER_MODE_TRUE
  629. am__untar
  630. am__tar
  631. AMTAR
  632. am__leading_dot
  633. SET_MAKE
  634. AWK
  635. mkdir_p
  636. MKDIR_P
  637. INSTALL_STRIP_PROGRAM
  638. STRIP
  639. install_sh
  640. MAKEINFO
  641. AUTOHEADER
  642. AUTOMAKE
  643. AUTOCONF
  644. ACLOCAL
  645. VERSION
  646. PACKAGE
  647. CYGPATH_W
  648. am__isrc
  649. INSTALL_DATA
  650. INSTALL_SCRIPT
  651. INSTALL_PROGRAM
  652. target_noncanonical
  653. target_os
  654. target_vendor
  655. target_cpu
  656. target
  657. host_os
  658. host_vendor
  659. host_cpu
  660. host
  661. onestep
  662. onestep_FALSE
  663. onestep_TRUE
  664. target_subdir
  665. host_subdir
  666. build_subdir
  667. build_libsubdir
  668. build_os
  669. build_vendor
  670. build_cpu
  671. build
  672. target_alias
  673. host_alias
  674. build_alias
  675. LIBS
  676. ECHO_T
  677. ECHO_N
  678. ECHO_C
  679. DEFS
  680. mandir
  681. localedir
  682. libdir
  683. psdir
  684. pdfdir
  685. dvidir
  686. htmldir
  687. infodir
  688. docdir
  689. oldincludedir
  690. includedir
  691. localstatedir
  692. sharedstatedir
  693. sysconfdir
  694. datadir
  695. datarootdir
  696. libexecdir
  697. sbindir
  698. bindir
  699. program_transform_name
  700. prefix
  701. exec_prefix
  702. PACKAGE_URL
  703. PACKAGE_BUGREPORT
  704. PACKAGE_STRING
  705. PACKAGE_VERSION
  706. PACKAGE_TARNAME
  707. PACKAGE_NAME
  708. PATH_SEPARATOR
  709. SHELL'
  710. ac_subst_files=''
  711. ac_user_opts='
  712. enable_option_checking
  713. with_build_libsubdir
  714. enable_version_specific_runtime_libs
  715. enable_intermodule
  716. enable_maintainer_mode
  717. enable_multilib
  718. enable_dependency_tracking
  719. enable_symvers
  720. enable_shared
  721. enable_static
  722. with_pic
  723. enable_fast_install
  724. with_gnu_ld
  725. enable_libtool_lock
  726. enable_largefile
  727. enable_libquadmath_support
  728. with_system_libunwind
  729. '
  730. ac_precious_vars='build_alias
  731. host_alias
  732. target_alias
  733. CC
  734. CFLAGS
  735. LDFLAGS
  736. LIBS
  737. CPPFLAGS
  738. CPP
  739. FC
  740. FCFLAGS'
  741. # Initialize some variables set by options.
  742. ac_init_help=
  743. ac_init_version=false
  744. ac_unrecognized_opts=
  745. ac_unrecognized_sep=
  746. # The variables have the same names as the options, with
  747. # dashes changed to underlines.
  748. cache_file=/dev/null
  749. exec_prefix=NONE
  750. no_create=
  751. no_recursion=
  752. prefix=NONE
  753. program_prefix=NONE
  754. program_suffix=NONE
  755. program_transform_name=s,x,x,
  756. silent=
  757. site=
  758. srcdir=
  759. verbose=
  760. x_includes=NONE
  761. x_libraries=NONE
  762. # Installation directory options.
  763. # These are left unexpanded so users can "make install exec_prefix=/foo"
  764. # and all the variables that are supposed to be based on exec_prefix
  765. # by default will actually change.
  766. # Use braces instead of parens because sh, perl, etc. also accept them.
  767. # (The list follows the same order as the GNU Coding Standards.)
  768. bindir='${exec_prefix}/bin'
  769. sbindir='${exec_prefix}/sbin'
  770. libexecdir='${exec_prefix}/libexec'
  771. datarootdir='${prefix}/share'
  772. datadir='${datarootdir}'
  773. sysconfdir='${prefix}/etc'
  774. sharedstatedir='${prefix}/com'
  775. localstatedir='${prefix}/var'
  776. includedir='${prefix}/include'
  777. oldincludedir='/usr/include'
  778. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  779. infodir='${datarootdir}/info'
  780. htmldir='${docdir}'
  781. dvidir='${docdir}'
  782. pdfdir='${docdir}'
  783. psdir='${docdir}'
  784. libdir='${exec_prefix}/lib'
  785. localedir='${datarootdir}/locale'
  786. mandir='${datarootdir}/man'
  787. ac_prev=
  788. ac_dashdash=
  789. for ac_option
  790. do
  791. # If the previous option needs an argument, assign it.
  792. if test -n "$ac_prev"; then
  793. eval $ac_prev=\$ac_option
  794. ac_prev=
  795. continue
  796. fi
  797. case $ac_option in
  798. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  799. *) ac_optarg=yes ;;
  800. esac
  801. # Accept the important Cygnus configure options, so we can diagnose typos.
  802. case $ac_dashdash$ac_option in
  803. --)
  804. ac_dashdash=yes ;;
  805. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  806. ac_prev=bindir ;;
  807. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  808. bindir=$ac_optarg ;;
  809. -build | --build | --buil | --bui | --bu)
  810. ac_prev=build_alias ;;
  811. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  812. build_alias=$ac_optarg ;;
  813. -cache-file | --cache-file | --cache-fil | --cache-fi \
  814. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  815. ac_prev=cache_file ;;
  816. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  817. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  818. cache_file=$ac_optarg ;;
  819. --config-cache | -C)
  820. cache_file=config.cache ;;
  821. -datadir | --datadir | --datadi | --datad)
  822. ac_prev=datadir ;;
  823. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  824. datadir=$ac_optarg ;;
  825. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  826. | --dataroo | --dataro | --datar)
  827. ac_prev=datarootdir ;;
  828. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  829. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  830. datarootdir=$ac_optarg ;;
  831. -disable-* | --disable-*)
  832. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  833. # Reject names that are not valid shell variable names.
  834. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  835. as_fn_error "invalid feature name: $ac_useropt"
  836. ac_useropt_orig=$ac_useropt
  837. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  838. case $ac_user_opts in
  839. *"
  840. "enable_$ac_useropt"
  841. "*) ;;
  842. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  843. ac_unrecognized_sep=', ';;
  844. esac
  845. eval enable_$ac_useropt=no ;;
  846. -docdir | --docdir | --docdi | --doc | --do)
  847. ac_prev=docdir ;;
  848. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  849. docdir=$ac_optarg ;;
  850. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  851. ac_prev=dvidir ;;
  852. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  853. dvidir=$ac_optarg ;;
  854. -enable-* | --enable-*)
  855. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  856. # Reject names that are not valid shell variable names.
  857. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  858. as_fn_error "invalid feature name: $ac_useropt"
  859. ac_useropt_orig=$ac_useropt
  860. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  861. case $ac_user_opts in
  862. *"
  863. "enable_$ac_useropt"
  864. "*) ;;
  865. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  866. ac_unrecognized_sep=', ';;
  867. esac
  868. eval enable_$ac_useropt=\$ac_optarg ;;
  869. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  870. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  871. | --exec | --exe | --ex)
  872. ac_prev=exec_prefix ;;
  873. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  874. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  875. | --exec=* | --exe=* | --ex=*)
  876. exec_prefix=$ac_optarg ;;
  877. -gas | --gas | --ga | --g)
  878. # Obsolete; use --with-gas.
  879. with_gas=yes ;;
  880. -help | --help | --hel | --he | -h)
  881. ac_init_help=long ;;
  882. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  883. ac_init_help=recursive ;;
  884. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  885. ac_init_help=short ;;
  886. -host | --host | --hos | --ho)
  887. ac_prev=host_alias ;;
  888. -host=* | --host=* | --hos=* | --ho=*)
  889. host_alias=$ac_optarg ;;
  890. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  891. ac_prev=htmldir ;;
  892. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  893. | --ht=*)
  894. htmldir=$ac_optarg ;;
  895. -includedir | --includedir | --includedi | --included | --include \
  896. | --includ | --inclu | --incl | --inc)
  897. ac_prev=includedir ;;
  898. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  899. | --includ=* | --inclu=* | --incl=* | --inc=*)
  900. includedir=$ac_optarg ;;
  901. -infodir | --infodir | --infodi | --infod | --info | --inf)
  902. ac_prev=infodir ;;
  903. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  904. infodir=$ac_optarg ;;
  905. -libdir | --libdir | --libdi | --libd)
  906. ac_prev=libdir ;;
  907. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  908. libdir=$ac_optarg ;;
  909. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  910. | --libexe | --libex | --libe)
  911. ac_prev=libexecdir ;;
  912. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  913. | --libexe=* | --libex=* | --libe=*)
  914. libexecdir=$ac_optarg ;;
  915. -localedir | --localedir | --localedi | --localed | --locale)
  916. ac_prev=localedir ;;
  917. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  918. localedir=$ac_optarg ;;
  919. -localstatedir | --localstatedir | --localstatedi | --localstated \
  920. | --localstate | --localstat | --localsta | --localst | --locals)
  921. ac_prev=localstatedir ;;
  922. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  923. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  924. localstatedir=$ac_optarg ;;
  925. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  926. ac_prev=mandir ;;
  927. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  928. mandir=$ac_optarg ;;
  929. -nfp | --nfp | --nf)
  930. # Obsolete; use --without-fp.
  931. with_fp=no ;;
  932. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  933. | --no-cr | --no-c | -n)
  934. no_create=yes ;;
  935. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  936. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  937. no_recursion=yes ;;
  938. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  939. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  940. | --oldin | --oldi | --old | --ol | --o)
  941. ac_prev=oldincludedir ;;
  942. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  943. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  944. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  945. oldincludedir=$ac_optarg ;;
  946. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  947. ac_prev=prefix ;;
  948. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  949. prefix=$ac_optarg ;;
  950. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  951. | --program-pre | --program-pr | --program-p)
  952. ac_prev=program_prefix ;;
  953. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  954. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  955. program_prefix=$ac_optarg ;;
  956. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  957. | --program-suf | --program-su | --program-s)
  958. ac_prev=program_suffix ;;
  959. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  960. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  961. program_suffix=$ac_optarg ;;
  962. -program-transform-name | --program-transform-name \
  963. | --program-transform-nam | --program-transform-na \
  964. | --program-transform-n | --program-transform- \
  965. | --program-transform | --program-transfor \
  966. | --program-transfo | --program-transf \
  967. | --program-trans | --program-tran \
  968. | --progr-tra | --program-tr | --program-t)
  969. ac_prev=program_transform_name ;;
  970. -program-transform-name=* | --program-transform-name=* \
  971. | --program-transform-nam=* | --program-transform-na=* \
  972. | --program-transform-n=* | --program-transform-=* \
  973. | --program-transform=* | --program-transfor=* \
  974. | --program-transfo=* | --program-transf=* \
  975. | --program-trans=* | --program-tran=* \
  976. | --progr-tra=* | --program-tr=* | --program-t=*)
  977. program_transform_name=$ac_optarg ;;
  978. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  979. ac_prev=pdfdir ;;
  980. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  981. pdfdir=$ac_optarg ;;
  982. -psdir | --psdir | --psdi | --psd | --ps)
  983. ac_prev=psdir ;;
  984. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  985. psdir=$ac_optarg ;;
  986. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  987. | -silent | --silent | --silen | --sile | --sil)
  988. silent=yes ;;
  989. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  990. ac_prev=sbindir ;;
  991. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  992. | --sbi=* | --sb=*)
  993. sbindir=$ac_optarg ;;
  994. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  995. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  996. | --sharedst | --shareds | --shared | --share | --shar \
  997. | --sha | --sh)
  998. ac_prev=sharedstatedir ;;
  999. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1000. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1001. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1002. | --sha=* | --sh=*)
  1003. sharedstatedir=$ac_optarg ;;
  1004. -site | --site | --sit)
  1005. ac_prev=site ;;
  1006. -site=* | --site=* | --sit=*)
  1007. site=$ac_optarg ;;
  1008. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1009. ac_prev=srcdir ;;
  1010. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1011. srcdir=$ac_optarg ;;
  1012. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1013. | --syscon | --sysco | --sysc | --sys | --sy)
  1014. ac_prev=sysconfdir ;;
  1015. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1016. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1017. sysconfdir=$ac_optarg ;;
  1018. -target | --target | --targe | --targ | --tar | --ta | --t)
  1019. ac_prev=target_alias ;;
  1020. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1021. target_alias=$ac_optarg ;;
  1022. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1023. verbose=yes ;;
  1024. -version | --version | --versio | --versi | --vers | -V)
  1025. ac_init_version=: ;;
  1026. -with-* | --with-*)
  1027. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1028. # Reject names that are not valid shell variable names.
  1029. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1030. as_fn_error "invalid package name: $ac_useropt"
  1031. ac_useropt_orig=$ac_useropt
  1032. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1033. case $ac_user_opts in
  1034. *"
  1035. "with_$ac_useropt"
  1036. "*) ;;
  1037. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1038. ac_unrecognized_sep=', ';;
  1039. esac
  1040. eval with_$ac_useropt=\$ac_optarg ;;
  1041. -without-* | --without-*)
  1042. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1043. # Reject names that are not valid shell variable names.
  1044. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1045. as_fn_error "invalid package name: $ac_useropt"
  1046. ac_useropt_orig=$ac_useropt
  1047. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1048. case $ac_user_opts in
  1049. *"
  1050. "with_$ac_useropt"
  1051. "*) ;;
  1052. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1053. ac_unrecognized_sep=', ';;
  1054. esac
  1055. eval with_$ac_useropt=no ;;
  1056. --x)
  1057. # Obsolete; use --with-x.
  1058. with_x=yes ;;
  1059. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1060. | --x-incl | --x-inc | --x-in | --x-i)
  1061. ac_prev=x_includes ;;
  1062. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1063. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1064. x_includes=$ac_optarg ;;
  1065. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1066. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1067. ac_prev=x_libraries ;;
  1068. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1069. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1070. x_libraries=$ac_optarg ;;
  1071. -*) as_fn_error "unrecognized option: \`$ac_option'
  1072. Try \`$0 --help' for more information."
  1073. ;;
  1074. *=*)
  1075. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1076. # Reject names that are not valid shell variable names.
  1077. case $ac_envvar in #(
  1078. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1079. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1080. esac
  1081. eval $ac_envvar=\$ac_optarg
  1082. export $ac_envvar ;;
  1083. *)
  1084. # FIXME: should be removed in autoconf 3.0.
  1085. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1086. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1087. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1088. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1089. ;;
  1090. esac
  1091. done
  1092. if test -n "$ac_prev"; then
  1093. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1094. as_fn_error "missing argument to $ac_option"
  1095. fi
  1096. if test -n "$ac_unrecognized_opts"; then
  1097. case $enable_option_checking in
  1098. no) ;;
  1099. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1100. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1101. esac
  1102. fi
  1103. # Check all directory arguments for consistency.
  1104. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1105. datadir sysconfdir sharedstatedir localstatedir includedir \
  1106. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1107. libdir localedir mandir
  1108. do
  1109. eval ac_val=\$$ac_var
  1110. # Remove trailing slashes.
  1111. case $ac_val in
  1112. */ )
  1113. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1114. eval $ac_var=\$ac_val;;
  1115. esac
  1116. # Be sure to have absolute directory names.
  1117. case $ac_val in
  1118. [\\/$]* | ?:[\\/]* ) continue;;
  1119. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1120. esac
  1121. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1122. done
  1123. # There might be people who depend on the old broken behavior: `$host'
  1124. # used to hold the argument of --host etc.
  1125. # FIXME: To remove some day.
  1126. build=$build_alias
  1127. host=$host_alias
  1128. target=$target_alias
  1129. # FIXME: To remove some day.
  1130. if test "x$host_alias" != x; then
  1131. if test "x$build_alias" = x; then
  1132. cross_compiling=maybe
  1133. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1134. If a cross compiler is detected then cross compile mode will be used." >&2
  1135. elif test "x$build_alias" != "x$host_alias"; then
  1136. cross_compiling=yes
  1137. fi
  1138. fi
  1139. ac_tool_prefix=
  1140. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1141. test "$silent" = yes && exec 6>/dev/null
  1142. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1143. ac_ls_di=`ls -di .` &&
  1144. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1145. as_fn_error "working directory cannot be determined"
  1146. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1147. as_fn_error "pwd does not report name of working directory"
  1148. # Find the source files, if location was not specified.
  1149. if test -z "$srcdir"; then
  1150. ac_srcdir_defaulted=yes
  1151. # Try the directory containing this script, then the parent directory.
  1152. ac_confdir=`$as_dirname -- "$as_myself" ||
  1153. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1154. X"$as_myself" : 'X\(//\)[^/]' \| \
  1155. X"$as_myself" : 'X\(//\)$' \| \
  1156. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1157. $as_echo X"$as_myself" |
  1158. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1159. s//\1/
  1160. q
  1161. }
  1162. /^X\(\/\/\)[^/].*/{
  1163. s//\1/
  1164. q
  1165. }
  1166. /^X\(\/\/\)$/{
  1167. s//\1/
  1168. q
  1169. }
  1170. /^X\(\/\).*/{
  1171. s//\1/
  1172. q
  1173. }
  1174. s/.*/./; q'`
  1175. srcdir=$ac_confdir
  1176. if test ! -r "$srcdir/$ac_unique_file"; then
  1177. srcdir=..
  1178. fi
  1179. else
  1180. ac_srcdir_defaulted=no
  1181. fi
  1182. if test ! -r "$srcdir/$ac_unique_file"; then
  1183. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1184. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1185. fi
  1186. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1187. ac_abs_confdir=`(
  1188. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1189. pwd)`
  1190. # When building in place, set srcdir=.
  1191. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1192. srcdir=.
  1193. fi
  1194. # Remove unnecessary trailing slashes from srcdir.
  1195. # Double slashes in file names in object file debugging info
  1196. # mess up M-x gdb in Emacs.
  1197. case $srcdir in
  1198. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1199. esac
  1200. for ac_var in $ac_precious_vars; do
  1201. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1202. eval ac_env_${ac_var}_value=\$${ac_var}
  1203. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1204. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1205. done
  1206. #
  1207. # Report the --help message.
  1208. #
  1209. if test "$ac_init_help" = "long"; then
  1210. # Omit some internal or obsolete options to make the list less imposing.
  1211. # This message is too long to be a string in the A/UX 3.1 sh.
  1212. cat <<_ACEOF
  1213. \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
  1214. Usage: $0 [OPTION]... [VAR=VALUE]...
  1215. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1216. VAR=VALUE. See below for descriptions of some of the useful variables.
  1217. Defaults for the options are specified in brackets.
  1218. Configuration:
  1219. -h, --help display this help and exit
  1220. --help=short display options specific to this package
  1221. --help=recursive display the short help of all the included packages
  1222. -V, --version display version information and exit
  1223. -q, --quiet, --silent do not print \`checking...' messages
  1224. --cache-file=FILE cache test results in FILE [disabled]
  1225. -C, --config-cache alias for \`--cache-file=config.cache'
  1226. -n, --no-create do not create output files
  1227. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1228. Installation directories:
  1229. --prefix=PREFIX install architecture-independent files in PREFIX
  1230. [$ac_default_prefix]
  1231. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1232. [PREFIX]
  1233. By default, \`make install' will install all the files in
  1234. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1235. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1236. for instance \`--prefix=\$HOME'.
  1237. For better control, use the options below.
  1238. Fine tuning of the installation directories:
  1239. --bindir=DIR user executables [EPREFIX/bin]
  1240. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1241. --libexecdir=DIR program executables [EPREFIX/libexec]
  1242. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1243. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1244. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1245. --libdir=DIR object code libraries [EPREFIX/lib]
  1246. --includedir=DIR C header files [PREFIX/include]
  1247. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1248. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1249. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1250. --infodir=DIR info documentation [DATAROOTDIR/info]
  1251. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1252. --mandir=DIR man documentation [DATAROOTDIR/man]
  1253. --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
  1254. --htmldir=DIR html documentation [DOCDIR]
  1255. --dvidir=DIR dvi documentation [DOCDIR]
  1256. --pdfdir=DIR pdf documentation [DOCDIR]
  1257. --psdir=DIR ps documentation [DOCDIR]
  1258. _ACEOF
  1259. cat <<\_ACEOF
  1260. Program names:
  1261. --program-prefix=PREFIX prepend PREFIX to installed program names
  1262. --program-suffix=SUFFIX append SUFFIX to installed program names
  1263. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1264. System types:
  1265. --build=BUILD configure for building on BUILD [guessed]
  1266. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1267. --target=TARGET configure for building compilers for TARGET [HOST]
  1268. _ACEOF
  1269. fi
  1270. if test -n "$ac_init_help"; then
  1271. case $ac_init_help in
  1272. short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
  1273. esac
  1274. cat <<\_ACEOF
  1275. Optional Features:
  1276. --disable-option-checking ignore unrecognized --enable/--with options
  1277. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1278. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1279. --enable-version-specific-runtime-libs
  1280. specify that runtime libraries should be installed
  1281. in a compiler-specific directory
  1282. --enable-intermodule build the library in one step
  1283. --enable-maintainer-mode enable make rules and dependencies not useful
  1284. (and sometimes confusing) to the casual installer
  1285. --enable-multilib build many library versions (default)
  1286. --disable-dependency-tracking speeds up one-time build
  1287. --enable-dependency-tracking do not reject slow dependency extractors
  1288. --disable-symvers disable symbol versioning for libgfortran
  1289. --enable-shared[=PKGS] build shared libraries [default=yes]
  1290. --enable-static[=PKGS] build static libraries [default=yes]
  1291. --enable-fast-install[=PKGS]
  1292. optimize for fast installation [default=yes]
  1293. --disable-libtool-lock avoid locking (might break parallel builds)
  1294. --disable-largefile omit support for large files
  1295. --disable-libquadmath-support
  1296. disable libquadmath support for Fortran
  1297. Optional Packages:
  1298. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1299. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1300. --with-build-libsubdir=DIR Directory where to find libraries for build system
  1301. --with-pic try to use only PIC/non-PIC objects [default=use
  1302. both]
  1303. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1304. --with-system-libunwind use installed libunwind
  1305. Some influential environment variables:
  1306. CC C compiler command
  1307. CFLAGS C compiler flags
  1308. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1309. nonstandard directory <lib dir>
  1310. LIBS libraries to pass to the linker, e.g. -l<library>
  1311. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1312. you have headers in a nonstandard directory <include dir>
  1313. CPP C preprocessor
  1314. FC Fortran compiler command
  1315. FCFLAGS Fortran compiler flags
  1316. Use these variables to override the choices made by `configure' or to help
  1317. it to find libraries and programs with nonstandard names/locations.
  1318. Report bugs to the package provider.
  1319. GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
  1320. General help using GNU software: <http://www.gnu.org/gethelp/>.
  1321. _ACEOF
  1322. ac_status=$?
  1323. fi
  1324. if test "$ac_init_help" = "recursive"; then
  1325. # If there are subdirs, report their specific --help.
  1326. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1327. test -d "$ac_dir" ||
  1328. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1329. continue
  1330. ac_builddir=.
  1331. case "$ac_dir" in
  1332. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1333. *)
  1334. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1335. # A ".." for each directory in $ac_dir_suffix.
  1336. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1337. case $ac_top_builddir_sub in
  1338. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1339. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1340. esac ;;
  1341. esac
  1342. ac_abs_top_builddir=$ac_pwd
  1343. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1344. # for backward compatibility:
  1345. ac_top_builddir=$ac_top_build_prefix
  1346. case $srcdir in
  1347. .) # We are building in place.
  1348. ac_srcdir=.
  1349. ac_top_srcdir=$ac_top_builddir_sub
  1350. ac_abs_top_srcdir=$ac_pwd ;;
  1351. [\\/]* | ?:[\\/]* ) # Absolute name.
  1352. ac_srcdir=$srcdir$ac_dir_suffix;
  1353. ac_top_srcdir=$srcdir
  1354. ac_abs_top_srcdir=$srcdir ;;
  1355. *) # Relative name.
  1356. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1357. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1358. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1359. esac
  1360. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1361. cd "$ac_dir" || { ac_status=$?; continue; }
  1362. # Check for guested configure.
  1363. if test -f "$ac_srcdir/configure.gnu"; then
  1364. echo &&
  1365. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1366. elif test -f "$ac_srcdir/configure"; then
  1367. echo &&
  1368. $SHELL "$ac_srcdir/configure" --help=recursive
  1369. else
  1370. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1371. fi || ac_status=$?
  1372. cd "$ac_pwd" || { ac_status=$?; break; }
  1373. done
  1374. fi
  1375. test -n "$ac_init_help" && exit $ac_status
  1376. if $ac_init_version; then
  1377. cat <<\_ACEOF
  1378. GNU Fortran Runtime Library configure 0.3
  1379. generated by GNU Autoconf 2.64
  1380. Copyright (C) 2009 Free Software Foundation, Inc.
  1381. This configure script is free software; the Free Software Foundation
  1382. gives unlimited permission to copy, distribute and modify it.
  1383. _ACEOF
  1384. exit
  1385. fi
  1386. ## ------------------------ ##
  1387. ## Autoconf initialization. ##
  1388. ## ------------------------ ##
  1389. # ac_fn_c_try_compile LINENO
  1390. # --------------------------
  1391. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1392. ac_fn_c_try_compile ()
  1393. {
  1394. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1395. rm -f conftest.$ac_objext
  1396. if { { ac_try="$ac_compile"
  1397. case "(($ac_try" in
  1398. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1399. *) ac_try_echo=$ac_try;;
  1400. esac
  1401. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1402. $as_echo "$ac_try_echo"; } >&5
  1403. (eval "$ac_compile") 2>conftest.err
  1404. ac_status=$?
  1405. if test -s conftest.err; then
  1406. grep -v '^ *+' conftest.err >conftest.er1
  1407. cat conftest.er1 >&5
  1408. mv -f conftest.er1 conftest.err
  1409. fi
  1410. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1411. test $ac_status = 0; } && {
  1412. test -z "$ac_c_werror_flag" ||
  1413. test ! -s conftest.err
  1414. } && test -s conftest.$ac_objext; then :
  1415. ac_retval=0
  1416. else
  1417. $as_echo "$as_me: failed program was:" >&5
  1418. sed 's/^/| /' conftest.$ac_ext >&5
  1419. ac_retval=1
  1420. fi
  1421. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1422. return $ac_retval
  1423. } # ac_fn_c_try_compile
  1424. # ac_fn_c_try_cpp LINENO
  1425. # ----------------------
  1426. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1427. ac_fn_c_try_cpp ()
  1428. {
  1429. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1430. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1431. case "(($ac_try" in
  1432. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1433. *) ac_try_echo=$ac_try;;
  1434. esac
  1435. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1436. $as_echo "$ac_try_echo"; } >&5
  1437. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1438. ac_status=$?
  1439. if test -s conftest.err; then
  1440. grep -v '^ *+' conftest.err >conftest.er1
  1441. cat conftest.er1 >&5
  1442. mv -f conftest.er1 conftest.err
  1443. fi
  1444. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1445. test $ac_status = 0; } >/dev/null && {
  1446. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1447. test ! -s conftest.err
  1448. }; then :
  1449. ac_retval=0
  1450. else
  1451. $as_echo "$as_me: failed program was:" >&5
  1452. sed 's/^/| /' conftest.$ac_ext >&5
  1453. ac_retval=1
  1454. fi
  1455. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1456. return $ac_retval
  1457. } # ac_fn_c_try_cpp
  1458. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1459. # -------------------------------------------------------
  1460. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1461. # the include files in INCLUDES and setting the cache variable VAR
  1462. # accordingly.
  1463. ac_fn_c_check_header_mongrel ()
  1464. {
  1465. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1466. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1468. $as_echo_n "checking for $2... " >&6; }
  1469. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1470. $as_echo_n "(cached) " >&6
  1471. fi
  1472. eval ac_res=\$$3
  1473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1474. $as_echo "$ac_res" >&6; }
  1475. else
  1476. # Is the header compilable?
  1477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1478. $as_echo_n "checking $2 usability... " >&6; }
  1479. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1480. /* end confdefs.h. */
  1481. $4
  1482. #include <$2>
  1483. _ACEOF
  1484. if ac_fn_c_try_compile "$LINENO"; then :
  1485. ac_header_compiler=yes
  1486. else
  1487. ac_header_compiler=no
  1488. fi
  1489. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1491. $as_echo "$ac_header_compiler" >&6; }
  1492. # Is the header present?
  1493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1494. $as_echo_n "checking $2 presence... " >&6; }
  1495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1496. /* end confdefs.h. */
  1497. #include <$2>
  1498. _ACEOF
  1499. if ac_fn_c_try_cpp "$LINENO"; then :
  1500. ac_header_preproc=yes
  1501. else
  1502. ac_header_preproc=no
  1503. fi
  1504. rm -f conftest.err conftest.$ac_ext
  1505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1506. $as_echo "$ac_header_preproc" >&6; }
  1507. # So? What about this header?
  1508. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1509. yes:no: )
  1510. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1511. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1512. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1513. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1514. ;;
  1515. no:yes:* )
  1516. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1517. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1518. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1519. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1520. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1521. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1522. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1523. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1524. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1525. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1526. ;;
  1527. esac
  1528. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1529. $as_echo_n "checking for $2... " >&6; }
  1530. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1531. $as_echo_n "(cached) " >&6
  1532. else
  1533. eval "$3=\$ac_header_compiler"
  1534. fi
  1535. eval ac_res=\$$3
  1536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1537. $as_echo "$ac_res" >&6; }
  1538. fi
  1539. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1540. } # ac_fn_c_check_header_mongrel
  1541. # ac_fn_c_try_run LINENO
  1542. # ----------------------
  1543. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1544. # that executables *can* be run.
  1545. ac_fn_c_try_run ()
  1546. {
  1547. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1548. if { { ac_try="$ac_link"
  1549. case "(($ac_try" in
  1550. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1551. *) ac_try_echo=$ac_try;;
  1552. esac
  1553. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1554. $as_echo "$ac_try_echo"; } >&5
  1555. (eval "$ac_link") 2>&5
  1556. ac_status=$?
  1557. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1558. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1559. { { case "(($ac_try" in
  1560. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1561. *) ac_try_echo=$ac_try;;
  1562. esac
  1563. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1564. $as_echo "$ac_try_echo"; } >&5
  1565. (eval "$ac_try") 2>&5
  1566. ac_status=$?
  1567. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1568. test $ac_status = 0; }; }; then :
  1569. ac_retval=0
  1570. else
  1571. $as_echo "$as_me: program exited with status $ac_status" >&5
  1572. $as_echo "$as_me: failed program was:" >&5
  1573. sed 's/^/| /' conftest.$ac_ext >&5
  1574. ac_retval=$ac_status
  1575. fi
  1576. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1577. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1578. return $ac_retval
  1579. } # ac_fn_c_try_run
  1580. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1581. # -------------------------------------------------------
  1582. # Tests whether HEADER exists and can be compiled using the include files in
  1583. # INCLUDES, setting the cache variable VAR accordingly.
  1584. ac_fn_c_check_header_compile ()
  1585. {
  1586. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1588. $as_echo_n "checking for $2... " >&6; }
  1589. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1590. $as_echo_n "(cached) " >&6
  1591. else
  1592. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1593. /* end confdefs.h. */
  1594. $4
  1595. #include <$2>
  1596. _ACEOF
  1597. if ac_fn_c_try_compile "$LINENO"; then :
  1598. eval "$3=yes"
  1599. else
  1600. eval "$3=no"
  1601. fi
  1602. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1603. fi
  1604. eval ac_res=\$$3
  1605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1606. $as_echo "$ac_res" >&6; }
  1607. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1608. } # ac_fn_c_check_header_compile
  1609. # ac_fn_c_try_link LINENO
  1610. # -----------------------
  1611. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1612. ac_fn_c_try_link ()
  1613. {
  1614. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1615. rm -f conftest.$ac_objext conftest$ac_exeext
  1616. if { { ac_try="$ac_link"
  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_link") 2>conftest.err
  1624. ac_status=$?
  1625. if test -s conftest.err; then
  1626. grep -v '^ *+' conftest.err >conftest.er1
  1627. cat conftest.er1 >&5
  1628. mv -f conftest.er1 conftest.err
  1629. fi
  1630. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1631. test $ac_status = 0; } && {
  1632. test -z "$ac_c_werror_flag" ||
  1633. test ! -s conftest.err
  1634. } && test -s conftest$ac_exeext && {
  1635. test "$cross_compiling" = yes ||
  1636. $as_test_x conftest$ac_exeext
  1637. }; then :
  1638. ac_retval=0
  1639. else
  1640. $as_echo "$as_me: failed program was:" >&5
  1641. sed 's/^/| /' conftest.$ac_ext >&5
  1642. ac_retval=1
  1643. fi
  1644. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1645. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1646. # interfere with the next link command; also delete a directory that is
  1647. # left behind by Apple's compiler. We do this before executing the actions.
  1648. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1649. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1650. return $ac_retval
  1651. } # ac_fn_c_try_link
  1652. # ac_fn_c_check_func LINENO FUNC VAR
  1653. # ----------------------------------
  1654. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1655. ac_fn_c_check_func ()
  1656. {
  1657. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1659. $as_echo_n "checking for $2... " >&6; }
  1660. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1661. $as_echo_n "(cached) " >&6
  1662. else
  1663. if test x$gcc_no_link = xyes; then
  1664. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  1665. fi
  1666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1667. /* end confdefs.h. */
  1668. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1669. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1670. #define $2 innocuous_$2
  1671. /* System header to define __stub macros and hopefully few prototypes,
  1672. which can conflict with char $2 (); below.
  1673. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1674. <limits.h> exists even on freestanding compilers. */
  1675. #ifdef __STDC__
  1676. # include <limits.h>
  1677. #else
  1678. # include <assert.h>
  1679. #endif
  1680. #undef $2
  1681. /* Override any GCC internal prototype to avoid an error.
  1682. Use char because int might match the return type of a GCC
  1683. builtin and then its argument prototype would still apply. */
  1684. #ifdef __cplusplus
  1685. extern "C"
  1686. #endif
  1687. char $2 ();
  1688. /* The GNU C library defines this for functions which it implements
  1689. to always fail with ENOSYS. Some functions are actually named
  1690. something starting with __ and the normal name is an alias. */
  1691. #if defined __stub_$2 || defined __stub___$2
  1692. choke me
  1693. #endif
  1694. int
  1695. main ()
  1696. {
  1697. return $2 ();
  1698. ;
  1699. return 0;
  1700. }
  1701. _ACEOF
  1702. if ac_fn_c_try_link "$LINENO"; then :
  1703. eval "$3=yes"
  1704. else
  1705. eval "$3=no"
  1706. fi
  1707. rm -f core conftest.err conftest.$ac_objext \
  1708. conftest$ac_exeext conftest.$ac_ext
  1709. fi
  1710. eval ac_res=\$$3
  1711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1712. $as_echo "$ac_res" >&6; }
  1713. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1714. } # ac_fn_c_check_func
  1715. # ac_fn_fc_try_compile LINENO
  1716. # ---------------------------
  1717. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1718. ac_fn_fc_try_compile ()
  1719. {
  1720. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1721. rm -f conftest.$ac_objext
  1722. if { { ac_try="$ac_compile"
  1723. case "(($ac_try" in
  1724. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1725. *) ac_try_echo=$ac_try;;
  1726. esac
  1727. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1728. $as_echo "$ac_try_echo"; } >&5
  1729. (eval "$ac_compile") 2>conftest.err
  1730. ac_status=$?
  1731. if test -s conftest.err; then
  1732. grep -v '^ *+' conftest.err >conftest.er1
  1733. cat conftest.er1 >&5
  1734. mv -f conftest.er1 conftest.err
  1735. fi
  1736. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1737. test $ac_status = 0; } && {
  1738. test -z "$ac_fc_werror_flag" ||
  1739. test ! -s conftest.err
  1740. } && test -s conftest.$ac_objext; then :
  1741. ac_retval=0
  1742. else
  1743. $as_echo "$as_me: failed program was:" >&5
  1744. sed 's/^/| /' conftest.$ac_ext >&5
  1745. ac_retval=1
  1746. fi
  1747. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1748. return $ac_retval
  1749. } # ac_fn_fc_try_compile
  1750. # ac_fn_fc_try_link LINENO
  1751. # ------------------------
  1752. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1753. ac_fn_fc_try_link ()
  1754. {
  1755. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1756. rm -f conftest.$ac_objext conftest$ac_exeext
  1757. if { { ac_try="$ac_link"
  1758. case "(($ac_try" in
  1759. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1760. *) ac_try_echo=$ac_try;;
  1761. esac
  1762. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1763. $as_echo "$ac_try_echo"; } >&5
  1764. (eval "$ac_link") 2>conftest.err
  1765. ac_status=$?
  1766. if test -s conftest.err; then
  1767. grep -v '^ *+' conftest.err >conftest.er1
  1768. cat conftest.er1 >&5
  1769. mv -f conftest.er1 conftest.err
  1770. fi
  1771. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1772. test $ac_status = 0; } && {
  1773. test -z "$ac_fc_werror_flag" ||
  1774. test ! -s conftest.err
  1775. } && test -s conftest$ac_exeext && {
  1776. test "$cross_compiling" = yes ||
  1777. $as_test_x conftest$ac_exeext
  1778. }; then :
  1779. ac_retval=0
  1780. else
  1781. $as_echo "$as_me: failed program was:" >&5
  1782. sed 's/^/| /' conftest.$ac_ext >&5
  1783. ac_retval=1
  1784. fi
  1785. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1786. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1787. # interfere with the next link command; also delete a directory that is
  1788. # left behind by Apple's compiler. We do this before executing the actions.
  1789. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1790. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1791. return $ac_retval
  1792. } # ac_fn_fc_try_link
  1793. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1794. # -------------------------------------------
  1795. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1796. # variable VAR accordingly.
  1797. ac_fn_c_check_type ()
  1798. {
  1799. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1800. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1801. $as_echo_n "checking for $2... " >&6; }
  1802. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1803. $as_echo_n "(cached) " >&6
  1804. else
  1805. eval "$3=no"
  1806. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1807. /* end confdefs.h. */
  1808. $4
  1809. int
  1810. main ()
  1811. {
  1812. if (sizeof ($2))
  1813. return 0;
  1814. ;
  1815. return 0;
  1816. }
  1817. _ACEOF
  1818. if ac_fn_c_try_compile "$LINENO"; then :
  1819. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1820. /* end confdefs.h. */
  1821. $4
  1822. int
  1823. main ()
  1824. {
  1825. if (sizeof (($2)))
  1826. return 0;
  1827. ;
  1828. return 0;
  1829. }
  1830. _ACEOF
  1831. if ac_fn_c_try_compile "$LINENO"; then :
  1832. else
  1833. eval "$3=yes"
  1834. fi
  1835. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1836. fi
  1837. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1838. fi
  1839. eval ac_res=\$$3
  1840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1841. $as_echo "$ac_res" >&6; }
  1842. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1843. } # ac_fn_c_check_type
  1844. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1845. # --------------------------------------------
  1846. # Tries to find the compile-time value of EXPR in a program that includes
  1847. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1848. # computed
  1849. ac_fn_c_compute_int ()
  1850. {
  1851. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1852. if test "$cross_compiling" = yes; then
  1853. # Depending upon the size, compute the lo and hi bounds.
  1854. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1855. /* end confdefs.h. */
  1856. $4
  1857. int
  1858. main ()
  1859. {
  1860. static int test_array [1 - 2 * !(($2) >= 0)];
  1861. test_array [0] = 0
  1862. ;
  1863. return 0;
  1864. }
  1865. _ACEOF
  1866. if ac_fn_c_try_compile "$LINENO"; then :
  1867. ac_lo=0 ac_mid=0
  1868. while :; do
  1869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1870. /* end confdefs.h. */
  1871. $4
  1872. int
  1873. main ()
  1874. {
  1875. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1876. test_array [0] = 0
  1877. ;
  1878. return 0;
  1879. }
  1880. _ACEOF
  1881. if ac_fn_c_try_compile "$LINENO"; then :
  1882. ac_hi=$ac_mid; break
  1883. else
  1884. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1885. if test $ac_lo -le $ac_mid; then
  1886. ac_lo= ac_hi=
  1887. break
  1888. fi
  1889. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1890. fi
  1891. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1892. done
  1893. else
  1894. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1895. /* end confdefs.h. */
  1896. $4
  1897. int
  1898. main ()
  1899. {
  1900. static int test_array [1 - 2 * !(($2) < 0)];
  1901. test_array [0] = 0
  1902. ;
  1903. return 0;
  1904. }
  1905. _ACEOF
  1906. if ac_fn_c_try_compile "$LINENO"; then :
  1907. ac_hi=-1 ac_mid=-1
  1908. while :; do
  1909. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1910. /* end confdefs.h. */
  1911. $4
  1912. int
  1913. main ()
  1914. {
  1915. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1916. test_array [0] = 0
  1917. ;
  1918. return 0;
  1919. }
  1920. _ACEOF
  1921. if ac_fn_c_try_compile "$LINENO"; then :
  1922. ac_lo=$ac_mid; break
  1923. else
  1924. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1925. if test $ac_mid -le $ac_hi; then
  1926. ac_lo= ac_hi=
  1927. break
  1928. fi
  1929. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1930. fi
  1931. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1932. done
  1933. else
  1934. ac_lo= ac_hi=
  1935. fi
  1936. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1937. fi
  1938. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1939. # Binary search between lo and hi bounds.
  1940. while test "x$ac_lo" != "x$ac_hi"; do
  1941. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1942. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1943. /* end confdefs.h. */
  1944. $4
  1945. int
  1946. main ()
  1947. {
  1948. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1949. test_array [0] = 0
  1950. ;
  1951. return 0;
  1952. }
  1953. _ACEOF
  1954. if ac_fn_c_try_compile "$LINENO"; then :
  1955. ac_hi=$ac_mid
  1956. else
  1957. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1958. fi
  1959. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1960. done
  1961. case $ac_lo in #((
  1962. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1963. '') ac_retval=1 ;;
  1964. esac
  1965. else
  1966. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1967. /* end confdefs.h. */
  1968. $4
  1969. static long int longval () { return $2; }
  1970. static unsigned long int ulongval () { return $2; }
  1971. #include <stdio.h>
  1972. #include <stdlib.h>
  1973. int
  1974. main ()
  1975. {
  1976. FILE *f = fopen ("conftest.val", "w");
  1977. if (! f)
  1978. return 1;
  1979. if (($2) < 0)
  1980. {
  1981. long int i = longval ();
  1982. if (i != ($2))
  1983. return 1;
  1984. fprintf (f, "%ld", i);
  1985. }
  1986. else
  1987. {
  1988. unsigned long int i = ulongval ();
  1989. if (i != ($2))
  1990. return 1;
  1991. fprintf (f, "%lu", i);
  1992. }
  1993. /* Do not output a trailing newline, as this causes \r\n confusion
  1994. on some platforms. */
  1995. return ferror (f) || fclose (f) != 0;
  1996. ;
  1997. return 0;
  1998. }
  1999. _ACEOF
  2000. if ac_fn_c_try_run "$LINENO"; then :
  2001. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2002. else
  2003. ac_retval=1
  2004. fi
  2005. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2006. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2007. rm -f conftest.val
  2008. fi
  2009. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2010. return $ac_retval
  2011. } # ac_fn_c_compute_int
  2012. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2013. # ----------------------------------------------------
  2014. # Tries to find if the field MEMBER exists in type AGGR, after including
  2015. # INCLUDES, setting cache variable VAR accordingly.
  2016. ac_fn_c_check_member ()
  2017. {
  2018. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2019. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2020. $as_echo_n "checking for $2.$3... " >&6; }
  2021. if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
  2022. $as_echo_n "(cached) " >&6
  2023. else
  2024. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2025. /* end confdefs.h. */
  2026. $5
  2027. int
  2028. main ()
  2029. {
  2030. static $2 ac_aggr;
  2031. if (ac_aggr.$3)
  2032. return 0;
  2033. ;
  2034. return 0;
  2035. }
  2036. _ACEOF
  2037. if ac_fn_c_try_compile "$LINENO"; then :
  2038. eval "$4=yes"
  2039. else
  2040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2041. /* end confdefs.h. */
  2042. $5
  2043. int
  2044. main ()
  2045. {
  2046. static $2 ac_aggr;
  2047. if (sizeof ac_aggr.$3)
  2048. return 0;
  2049. ;
  2050. return 0;
  2051. }
  2052. _ACEOF
  2053. if ac_fn_c_try_compile "$LINENO"; then :
  2054. eval "$4=yes"
  2055. else
  2056. eval "$4=no"
  2057. fi
  2058. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2059. fi
  2060. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2061. fi
  2062. eval ac_res=\$$4
  2063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2064. $as_echo "$ac_res" >&6; }
  2065. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2066. } # ac_fn_c_check_member
  2067. cat >config.log <<_ACEOF
  2068. This file contains any messages produced by compilers while
  2069. running configure, to aid debugging if configure makes a mistake.
  2070. It was created by GNU Fortran Runtime Library $as_me 0.3, which was
  2071. generated by GNU Autoconf 2.64. Invocation command line was
  2072. $ $0 $@
  2073. _ACEOF
  2074. exec 5>>config.log
  2075. {
  2076. cat <<_ASUNAME
  2077. ## --------- ##
  2078. ## Platform. ##
  2079. ## --------- ##
  2080. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2081. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2082. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2083. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2084. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2085. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2086. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2087. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2088. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2089. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2090. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2091. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2092. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2093. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2094. _ASUNAME
  2095. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2096. for as_dir in $PATH
  2097. do
  2098. IFS=$as_save_IFS
  2099. test -z "$as_dir" && as_dir=.
  2100. $as_echo "PATH: $as_dir"
  2101. done
  2102. IFS=$as_save_IFS
  2103. } >&5
  2104. cat >&5 <<_ACEOF
  2105. ## ----------- ##
  2106. ## Core tests. ##
  2107. ## ----------- ##
  2108. _ACEOF
  2109. # Keep a trace of the command line.
  2110. # Strip out --no-create and --no-recursion so they do not pile up.
  2111. # Strip out --silent because we don't want to record it for future runs.
  2112. # Also quote any args containing shell meta-characters.
  2113. # Make two passes to allow for proper duplicate-argument suppression.
  2114. ac_configure_args=
  2115. ac_configure_args0=
  2116. ac_configure_args1=
  2117. ac_must_keep_next=false
  2118. for ac_pass in 1 2
  2119. do
  2120. for ac_arg
  2121. do
  2122. case $ac_arg in
  2123. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2124. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2125. | -silent | --silent | --silen | --sile | --sil)
  2126. continue ;;
  2127. *\'*)
  2128. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2129. esac
  2130. case $ac_pass in
  2131. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2132. 2)
  2133. as_fn_append ac_configure_args1 " '$ac_arg'"
  2134. if test $ac_must_keep_next = true; then
  2135. ac_must_keep_next=false # Got value, back to normal.
  2136. else
  2137. case $ac_arg in
  2138. *=* | --config-cache | -C | -disable-* | --disable-* \
  2139. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2140. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2141. | -with-* | --with-* | -without-* | --without-* | --x)
  2142. case "$ac_configure_args0 " in
  2143. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2144. esac
  2145. ;;
  2146. -* ) ac_must_keep_next=true ;;
  2147. esac
  2148. fi
  2149. as_fn_append ac_configure_args " '$ac_arg'"
  2150. ;;
  2151. esac
  2152. done
  2153. done
  2154. { ac_configure_args0=; unset ac_configure_args0;}
  2155. { ac_configure_args1=; unset ac_configure_args1;}
  2156. # When interrupted or exit'd, cleanup temporary files, and complete
  2157. # config.log. We remove comments because anyway the quotes in there
  2158. # would cause problems or look ugly.
  2159. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2160. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2161. trap 'exit_status=$?
  2162. # Save into config.log some information that might help in debugging.
  2163. {
  2164. echo
  2165. cat <<\_ASBOX
  2166. ## ---------------- ##
  2167. ## Cache variables. ##
  2168. ## ---------------- ##
  2169. _ASBOX
  2170. echo
  2171. # The following way of writing the cache mishandles newlines in values,
  2172. (
  2173. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2174. eval ac_val=\$$ac_var
  2175. case $ac_val in #(
  2176. *${as_nl}*)
  2177. case $ac_var in #(
  2178. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2179. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2180. esac
  2181. case $ac_var in #(
  2182. _ | IFS | as_nl) ;; #(
  2183. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2184. *) { eval $ac_var=; unset $ac_var;} ;;
  2185. esac ;;
  2186. esac
  2187. done
  2188. (set) 2>&1 |
  2189. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2190. *${as_nl}ac_space=\ *)
  2191. sed -n \
  2192. "s/'\''/'\''\\\\'\'''\''/g;
  2193. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2194. ;; #(
  2195. *)
  2196. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2197. ;;
  2198. esac |
  2199. sort
  2200. )
  2201. echo
  2202. cat <<\_ASBOX
  2203. ## ----------------- ##
  2204. ## Output variables. ##
  2205. ## ----------------- ##
  2206. _ASBOX
  2207. echo
  2208. for ac_var in $ac_subst_vars
  2209. do
  2210. eval ac_val=\$$ac_var
  2211. case $ac_val in
  2212. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2213. esac
  2214. $as_echo "$ac_var='\''$ac_val'\''"
  2215. done | sort
  2216. echo
  2217. if test -n "$ac_subst_files"; then
  2218. cat <<\_ASBOX
  2219. ## ------------------- ##
  2220. ## File substitutions. ##
  2221. ## ------------------- ##
  2222. _ASBOX
  2223. echo
  2224. for ac_var in $ac_subst_files
  2225. do
  2226. eval ac_val=\$$ac_var
  2227. case $ac_val in
  2228. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2229. esac
  2230. $as_echo "$ac_var='\''$ac_val'\''"
  2231. done | sort
  2232. echo
  2233. fi
  2234. if test -s confdefs.h; then
  2235. cat <<\_ASBOX
  2236. ## ----------- ##
  2237. ## confdefs.h. ##
  2238. ## ----------- ##
  2239. _ASBOX
  2240. echo
  2241. cat confdefs.h
  2242. echo
  2243. fi
  2244. test "$ac_signal" != 0 &&
  2245. $as_echo "$as_me: caught signal $ac_signal"
  2246. $as_echo "$as_me: exit $exit_status"
  2247. } >&5
  2248. rm -f core *.core core.conftest.* &&
  2249. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2250. exit $exit_status
  2251. ' 0
  2252. for ac_signal in 1 2 13 15; do
  2253. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2254. done
  2255. ac_signal=0
  2256. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2257. rm -f -r conftest* confdefs.h
  2258. $as_echo "/* confdefs.h */" > confdefs.h
  2259. # Predefined preprocessor variables.
  2260. cat >>confdefs.h <<_ACEOF
  2261. #define PACKAGE_NAME "$PACKAGE_NAME"
  2262. _ACEOF
  2263. cat >>confdefs.h <<_ACEOF
  2264. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2265. _ACEOF
  2266. cat >>confdefs.h <<_ACEOF
  2267. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2268. _ACEOF
  2269. cat >>confdefs.h <<_ACEOF
  2270. #define PACKAGE_STRING "$PACKAGE_STRING"
  2271. _ACEOF
  2272. cat >>confdefs.h <<_ACEOF
  2273. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2274. _ACEOF
  2275. cat >>confdefs.h <<_ACEOF
  2276. #define PACKAGE_URL "$PACKAGE_URL"
  2277. _ACEOF
  2278. # Let the site file select an alternate cache file if it wants to.
  2279. # Prefer an explicitly selected file to automatically selected ones.
  2280. ac_site_file1=NONE
  2281. ac_site_file2=NONE
  2282. if test -n "$CONFIG_SITE"; then
  2283. ac_site_file1=$CONFIG_SITE
  2284. elif test "x$prefix" != xNONE; then
  2285. ac_site_file1=$prefix/share/config.site
  2286. ac_site_file2=$prefix/etc/config.site
  2287. else
  2288. ac_site_file1=$ac_default_prefix/share/config.site
  2289. ac_site_file2=$ac_default_prefix/etc/config.site
  2290. fi
  2291. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2292. do
  2293. test "x$ac_site_file" = xNONE && continue
  2294. if test -r "$ac_site_file"; then
  2295. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2296. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2297. sed 's/^/| /' "$ac_site_file" >&5
  2298. . "$ac_site_file"
  2299. fi
  2300. done
  2301. if test -r "$cache_file"; then
  2302. # Some versions of bash will fail to source /dev/null (special
  2303. # files actually), so we avoid doing that.
  2304. if test -f "$cache_file"; then
  2305. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2306. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2307. case $cache_file in
  2308. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2309. *) . "./$cache_file";;
  2310. esac
  2311. fi
  2312. else
  2313. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2314. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2315. >$cache_file
  2316. fi
  2317. as_fn_append ac_header_list " unistd.h"
  2318. as_fn_append ac_header_list " sys/time.h"
  2319. as_fn_append ac_header_list " sys/times.h"
  2320. as_fn_append ac_header_list " sys/resource.h"
  2321. as_fn_append ac_header_list " sys/types.h"
  2322. as_fn_append ac_header_list " sys/stat.h"
  2323. as_fn_append ac_header_list " sys/wait.h"
  2324. as_fn_append ac_header_list " floatingpoint.h"
  2325. as_fn_append ac_header_list " ieeefp.h"
  2326. as_fn_append ac_header_list " fenv.h"
  2327. as_fn_append ac_header_list " fptrap.h"
  2328. as_fn_append ac_header_list " fpxcp.h"
  2329. as_fn_append ac_header_list " pwd.h"
  2330. as_fn_append ac_header_list " complex.h"
  2331. as_fn_append ac_header_list " xlocale.h"
  2332. as_fn_append ac_func_list " getrusage"
  2333. as_fn_append ac_func_list " times"
  2334. as_fn_append ac_func_list " mkstemp"
  2335. as_fn_append ac_func_list " strtof"
  2336. as_fn_append ac_func_list " strtold"
  2337. as_fn_append ac_func_list " snprintf"
  2338. as_fn_append ac_func_list " ftruncate"
  2339. as_fn_append ac_func_list " chsize"
  2340. as_fn_append ac_func_list " chdir"
  2341. as_fn_append ac_func_list " getlogin"
  2342. as_fn_append ac_func_list " gethostname"
  2343. as_fn_append ac_func_list " kill"
  2344. as_fn_append ac_func_list " link"
  2345. as_fn_append ac_func_list " symlink"
  2346. as_fn_append ac_func_list " sleep"
  2347. as_fn_append ac_func_list " ttyname"
  2348. as_fn_append ac_func_list " alarm"
  2349. as_fn_append ac_func_list " access"
  2350. as_fn_append ac_func_list " fork"
  2351. as_fn_append ac_func_list " execl"
  2352. as_fn_append ac_func_list " wait"
  2353. as_fn_append ac_func_list " setmode"
  2354. as_fn_append ac_func_list " execve"
  2355. as_fn_append ac_func_list " pipe"
  2356. as_fn_append ac_func_list " dup2"
  2357. as_fn_append ac_func_list " close"
  2358. as_fn_append ac_func_list " fcntl"
  2359. as_fn_append ac_func_list " strcasestr"
  2360. as_fn_append ac_func_list " getrlimit"
  2361. as_fn_append ac_func_list " gettimeofday"
  2362. as_fn_append ac_func_list " stat"
  2363. as_fn_append ac_func_list " fstat"
  2364. as_fn_append ac_func_list " lstat"
  2365. as_fn_append ac_func_list " getpwuid"
  2366. as_fn_append ac_func_list " vsnprintf"
  2367. as_fn_append ac_func_list " dup"
  2368. as_fn_append ac_func_list " getcwd"
  2369. as_fn_append ac_func_list " localtime_r"
  2370. as_fn_append ac_func_list " gmtime_r"
  2371. as_fn_append ac_func_list " getpwuid_r"
  2372. as_fn_append ac_func_list " ttyname_r"
  2373. as_fn_append ac_func_list " clock_gettime"
  2374. as_fn_append ac_func_list " readlink"
  2375. as_fn_append ac_func_list " getgid"
  2376. as_fn_append ac_func_list " getpid"
  2377. as_fn_append ac_func_list " getppid"
  2378. as_fn_append ac_func_list " getuid"
  2379. as_fn_append ac_func_list " geteuid"
  2380. as_fn_append ac_func_list " umask"
  2381. as_fn_append ac_func_list " getegid"
  2382. as_fn_append ac_func_list " secure_getenv"
  2383. as_fn_append ac_func_list " __secure_getenv"
  2384. as_fn_append ac_func_list " mkostemp"
  2385. as_fn_append ac_func_list " strnlen"
  2386. as_fn_append ac_func_list " strndup"
  2387. as_fn_append ac_func_list " strtok_r"
  2388. as_fn_append ac_func_list " newlocale"
  2389. as_fn_append ac_func_list " freelocale"
  2390. as_fn_append ac_func_list " uselocale"
  2391. as_fn_append ac_func_list " strerror_l"
  2392. as_fn_append ac_header_list " math.h"
  2393. # Check that the precious variables saved in the cache have kept the same
  2394. # value.
  2395. ac_cache_corrupted=false
  2396. for ac_var in $ac_precious_vars; do
  2397. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2398. eval ac_new_set=\$ac_env_${ac_var}_set
  2399. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2400. eval ac_new_val=\$ac_env_${ac_var}_value
  2401. case $ac_old_set,$ac_new_set in
  2402. set,)
  2403. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2404. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2405. ac_cache_corrupted=: ;;
  2406. ,set)
  2407. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2408. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2409. ac_cache_corrupted=: ;;
  2410. ,);;
  2411. *)
  2412. if test "x$ac_old_val" != "x$ac_new_val"; then
  2413. # differences in whitespace do not lead to failure.
  2414. ac_old_val_w=`echo x $ac_old_val`
  2415. ac_new_val_w=`echo x $ac_new_val`
  2416. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2417. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2418. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2419. ac_cache_corrupted=:
  2420. else
  2421. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2422. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2423. eval $ac_var=\$ac_old_val
  2424. fi
  2425. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2426. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2427. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2428. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2429. fi;;
  2430. esac
  2431. # Pass precious variables to config.status.
  2432. if test "$ac_new_set" = set; then
  2433. case $ac_new_val in
  2434. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2435. *) ac_arg=$ac_var=$ac_new_val ;;
  2436. esac
  2437. case " $ac_configure_args " in
  2438. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2439. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2440. esac
  2441. fi
  2442. done
  2443. if $ac_cache_corrupted; then
  2444. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2445. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2446. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2447. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2448. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2449. fi
  2450. ## -------------------- ##
  2451. ## Main body of script. ##
  2452. ## -------------------- ##
  2453. ac_ext=c
  2454. ac_cpp='$CPP $CPPFLAGS'
  2455. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2456. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2457. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2458. ac_config_headers="$ac_config_headers config.h"
  2459. ac_aux_dir=
  2460. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2461. for ac_t in install-sh install.sh shtool; do
  2462. if test -f "$ac_dir/$ac_t"; then
  2463. ac_aux_dir=$ac_dir
  2464. ac_install_sh="$ac_aux_dir/$ac_t -c"
  2465. break 2
  2466. fi
  2467. done
  2468. done
  2469. if test -z "$ac_aux_dir"; then
  2470. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2471. fi
  2472. # These three variables are undocumented and unsupported,
  2473. # and are intended to be withdrawn in a future Autoconf release.
  2474. # They can cause serious problems if a builder's source tree is in a directory
  2475. # whose full name contains unusual characters.
  2476. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2477. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2478. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2479. # Make sure we can run config.sub.
  2480. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2481. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2483. $as_echo_n "checking build system type... " >&6; }
  2484. if test "${ac_cv_build+set}" = set; then :
  2485. $as_echo_n "(cached) " >&6
  2486. else
  2487. ac_build_alias=$build_alias
  2488. test "x$ac_build_alias" = x &&
  2489. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2490. test "x$ac_build_alias" = x &&
  2491. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  2492. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2493. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2494. fi
  2495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2496. $as_echo "$ac_cv_build" >&6; }
  2497. case $ac_cv_build in
  2498. *-*-*) ;;
  2499. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  2500. esac
  2501. build=$ac_cv_build
  2502. ac_save_IFS=$IFS; IFS='-'
  2503. set x $ac_cv_build
  2504. shift
  2505. build_cpu=$1
  2506. build_vendor=$2
  2507. shift; shift
  2508. # Remember, the first character of IFS is used to create $*,
  2509. # except with old shells:
  2510. build_os=$*
  2511. IFS=$ac_save_IFS
  2512. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2513. case ${build_alias} in
  2514. "") build_noncanonical=${build} ;;
  2515. *) build_noncanonical=${build_alias} ;;
  2516. esac
  2517. case ${host_alias} in
  2518. "") host_noncanonical=${build_noncanonical} ;;
  2519. *) host_noncanonical=${host_alias} ;;
  2520. esac
  2521. case ${target_alias} in
  2522. "") target_noncanonical=${host_noncanonical} ;;
  2523. *) target_noncanonical=${target_alias} ;;
  2524. esac
  2525. # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
  2526. # have matching libraries, they should use host libraries: Makefile.tpl
  2527. # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
  2528. # However, they still use the build modules, because the corresponding
  2529. # host modules (e.g. bison) are only built for the host when bootstrap
  2530. # finishes. So:
  2531. # - build_subdir is where we find build modules, and never changes.
  2532. # - build_libsubdir is where we find build libraries, and can be overridden.
  2533. # Prefix 'build-' so this never conflicts with target_subdir.
  2534. build_subdir="build-${build_noncanonical}"
  2535. # Check whether --with-build-libsubdir was given.
  2536. if test "${with_build_libsubdir+set}" = set; then :
  2537. withval=$with_build_libsubdir; build_libsubdir="$withval"
  2538. else
  2539. build_libsubdir="$build_subdir"
  2540. fi
  2541. # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
  2542. if ( test $srcdir = . && test -d gcc ) \
  2543. || test -d $srcdir/../host-${host_noncanonical}; then
  2544. host_subdir="host-${host_noncanonical}"
  2545. else
  2546. host_subdir=.
  2547. fi
  2548. # No prefix.
  2549. target_subdir=${target_noncanonical}
  2550. # -------
  2551. # Options
  2552. # -------
  2553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
  2554. $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
  2555. # Check whether --enable-version-specific-runtime-libs was given.
  2556. if test "${enable_version_specific_runtime_libs+set}" = set; then :
  2557. enableval=$enable_version_specific_runtime_libs; case "$enableval" in
  2558. yes) version_specific_libs=yes ;;
  2559. no) version_specific_libs=no ;;
  2560. *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
  2561. esac
  2562. else
  2563. version_specific_libs=no
  2564. fi
  2565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
  2566. $as_echo "$version_specific_libs" >&6; }
  2567. # Build with intermodule optimisations
  2568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
  2569. $as_echo_n "checking for --enable-intermodule... " >&6; }
  2570. # Check whether --enable-intermodule was given.
  2571. if test "${enable_intermodule+set}" = set; then :
  2572. enableval=$enable_intermodule; case "$enable_intermodule" in
  2573. yes) onestep="-onestep";;
  2574. *) onestep="";;
  2575. esac
  2576. else
  2577. onestep=""
  2578. fi
  2579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
  2580. $as_echo "$enable_intermodule" >&6; }
  2581. if test x$onestep = x-onestep; then
  2582. onestep_TRUE=
  2583. onestep_FALSE='#'
  2584. else
  2585. onestep_TRUE='#'
  2586. onestep_FALSE=
  2587. fi
  2588. # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
  2589. #
  2590. # You will slowly go insane if you do not grok the following fact: when
  2591. # building this library, the top-level /target/ becomes the library's /host/.
  2592. #
  2593. # configure then causes --target to default to --host, exactly like any
  2594. # other package using autoconf. Therefore, 'target' and 'host' will
  2595. # always be the same. This makes sense both for native and cross compilers
  2596. # just think about it for a little while. :-)
  2597. #
  2598. # Also, if this library is being configured as part of a cross compiler, the
  2599. # top-level configure script will pass the "real" host as $with_cross_host.
  2600. #
  2601. # Do not delete or change the following two lines. For why, see
  2602. # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
  2603. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2604. $as_echo_n "checking host system type... " >&6; }
  2605. if test "${ac_cv_host+set}" = set; then :
  2606. $as_echo_n "(cached) " >&6
  2607. else
  2608. if test "x$host_alias" = x; then
  2609. ac_cv_host=$ac_cv_build
  2610. else
  2611. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2612. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2613. fi
  2614. fi
  2615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2616. $as_echo "$ac_cv_host" >&6; }
  2617. case $ac_cv_host in
  2618. *-*-*) ;;
  2619. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  2620. esac
  2621. host=$ac_cv_host
  2622. ac_save_IFS=$IFS; IFS='-'
  2623. set x $ac_cv_host
  2624. shift
  2625. host_cpu=$1
  2626. host_vendor=$2
  2627. shift; shift
  2628. # Remember, the first character of IFS is used to create $*,
  2629. # except with old shells:
  2630. host_os=$*
  2631. IFS=$ac_save_IFS
  2632. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2634. $as_echo_n "checking target system type... " >&6; }
  2635. if test "${ac_cv_target+set}" = set; then :
  2636. $as_echo_n "(cached) " >&6
  2637. else
  2638. if test "x$target_alias" = x; then
  2639. ac_cv_target=$ac_cv_host
  2640. else
  2641. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2642. as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2643. fi
  2644. fi
  2645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2646. $as_echo "$ac_cv_target" >&6; }
  2647. case $ac_cv_target in
  2648. *-*-*) ;;
  2649. *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  2650. esac
  2651. target=$ac_cv_target
  2652. ac_save_IFS=$IFS; IFS='-'
  2653. set x $ac_cv_target
  2654. shift
  2655. target_cpu=$1
  2656. target_vendor=$2
  2657. shift; shift
  2658. # Remember, the first character of IFS is used to create $*,
  2659. # except with old shells:
  2660. target_os=$*
  2661. IFS=$ac_save_IFS
  2662. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2663. # The aliases save the names the user supplied, while $host etc.
  2664. # will get canonicalized.
  2665. test -n "$target_alias" &&
  2666. test "$program_prefix$program_suffix$program_transform_name" = \
  2667. NONENONEs,x,x, &&
  2668. program_prefix=${target_alias}-
  2669. target_alias=${target_alias-$host_alias}
  2670. # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
  2671. # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
  2672. # 1.9.6: minimum required version
  2673. # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
  2674. # of other PACKAGE_* variables will, however, and there's nothing
  2675. # we can do about that; they come from AC_INIT).
  2676. # foreign: we don't follow the normal rules for GNU packages (no COPYING
  2677. # file in the top srcdir, etc, etc), so stop complaining.
  2678. # no-dist: we don't want 'dist' and related rules.
  2679. # -Wall: turns on all automake warnings...
  2680. # -Wno-portability: ...except this one, since GNU make is required.
  2681. am__api_version='1.11'
  2682. # Find a good install program. We prefer a C program (faster),
  2683. # so one script is as good as another. But avoid the broken or
  2684. # incompatible versions:
  2685. # SysV /etc/install, /usr/sbin/install
  2686. # SunOS /usr/etc/install
  2687. # IRIX /sbin/install
  2688. # AIX /bin/install
  2689. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2690. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2691. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2692. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2693. # OS/2's system install, which has a completely different semantic
  2694. # ./install, which can be erroneously created by make from ./install.sh.
  2695. # Reject install programs that cannot install multiple files.
  2696. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2697. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2698. if test -z "$INSTALL"; then
  2699. if test "${ac_cv_path_install+set}" = set; then :
  2700. $as_echo_n "(cached) " >&6
  2701. else
  2702. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2703. for as_dir in $PATH
  2704. do
  2705. IFS=$as_save_IFS
  2706. test -z "$as_dir" && as_dir=.
  2707. # Account for people who put trailing slashes in PATH elements.
  2708. case $as_dir/ in #((
  2709. ./ | .// | /[cC]/* | \
  2710. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2711. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2712. /usr/ucb/* ) ;;
  2713. *)
  2714. # OSF1 and SCO ODT 3.0 have their own names for install.
  2715. # Don't use installbsd from OSF since it installs stuff as root
  2716. # by default.
  2717. for ac_prog in ginstall scoinst install; do
  2718. for ac_exec_ext in '' $ac_executable_extensions; do
  2719. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2720. if test $ac_prog = install &&
  2721. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2722. # AIX install. It has an incompatible calling convention.
  2723. :
  2724. elif test $ac_prog = install &&
  2725. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2726. # program-specific install script used by HP pwplus--don't use.
  2727. :
  2728. else
  2729. rm -rf conftest.one conftest.two conftest.dir
  2730. echo one > conftest.one
  2731. echo two > conftest.two
  2732. mkdir conftest.dir
  2733. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2734. test -s conftest.one && test -s conftest.two &&
  2735. test -s conftest.dir/conftest.one &&
  2736. test -s conftest.dir/conftest.two
  2737. then
  2738. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2739. break 3
  2740. fi
  2741. fi
  2742. fi
  2743. done
  2744. done
  2745. ;;
  2746. esac
  2747. done
  2748. IFS=$as_save_IFS
  2749. rm -rf conftest.one conftest.two conftest.dir
  2750. fi
  2751. if test "${ac_cv_path_install+set}" = set; then
  2752. INSTALL=$ac_cv_path_install
  2753. else
  2754. # As a last resort, use the slow shell script. Don't cache a
  2755. # value for INSTALL within a source directory, because that will
  2756. # break other packages using the cache if that directory is
  2757. # removed, or if the value is a relative name.
  2758. INSTALL=$ac_install_sh
  2759. fi
  2760. fi
  2761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2762. $as_echo "$INSTALL" >&6; }
  2763. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2764. # It thinks the first close brace ends the variable substitution.
  2765. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2766. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2767. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2769. $as_echo_n "checking whether build environment is sane... " >&6; }
  2770. # Just in case
  2771. sleep 1
  2772. echo timestamp > conftest.file
  2773. # Reject unsafe characters in $srcdir or the absolute working directory
  2774. # name. Accept space and tab only in the latter.
  2775. am_lf='
  2776. '
  2777. case `pwd` in
  2778. *[\\\"\#\$\&\'\`$am_lf]*)
  2779. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  2780. esac
  2781. case $srcdir in
  2782. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2783. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  2784. esac
  2785. # Do `set' in a subshell so we don't clobber the current shell's
  2786. # arguments. Must try -L first in case configure is actually a
  2787. # symlink; some systems play weird games with the mod time of symlinks
  2788. # (eg FreeBSD returns the mod time of the symlink's containing
  2789. # directory).
  2790. if (
  2791. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2792. if test "$*" = "X"; then
  2793. # -L didn't work.
  2794. set X `ls -t "$srcdir/configure" conftest.file`
  2795. fi
  2796. rm -f conftest.file
  2797. if test "$*" != "X $srcdir/configure conftest.file" \
  2798. && test "$*" != "X conftest.file $srcdir/configure"; then
  2799. # If neither matched, then we have a broken ls. This can happen
  2800. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2801. # broken ls alias from the environment. This has actually
  2802. # happened. Such a system could not be considered "sane".
  2803. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  2804. alias in your environment" "$LINENO" 5
  2805. fi
  2806. test "$2" = conftest.file
  2807. )
  2808. then
  2809. # Ok.
  2810. :
  2811. else
  2812. as_fn_error "newly created file is older than distributed files!
  2813. Check your system clock" "$LINENO" 5
  2814. fi
  2815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2816. $as_echo "yes" >&6; }
  2817. test "$program_prefix" != NONE &&
  2818. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2819. # Use a double $ so make ignores it.
  2820. test "$program_suffix" != NONE &&
  2821. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2822. # Double any \ or $.
  2823. # By default was `s,x,x', remove it if useless.
  2824. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2825. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2826. # expand $ac_aux_dir to an absolute path
  2827. am_aux_dir=`cd $ac_aux_dir && pwd`
  2828. if test x"${MISSING+set}" != xset; then
  2829. case $am_aux_dir in
  2830. *\ * | *\ *)
  2831. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2832. *)
  2833. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2834. esac
  2835. fi
  2836. # Use eval to expand $SHELL
  2837. if eval "$MISSING --run true"; then
  2838. am_missing_run="$MISSING --run "
  2839. else
  2840. am_missing_run=
  2841. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2842. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2843. fi
  2844. if test x"${install_sh}" != xset; then
  2845. case $am_aux_dir in
  2846. *\ * | *\ *)
  2847. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2848. *)
  2849. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2850. esac
  2851. fi
  2852. # Installed binaries are usually stripped using `strip' when the user
  2853. # run `make install-strip'. However `strip' might not be the right
  2854. # tool to use in cross-compilation environments, therefore Automake
  2855. # will honor the `STRIP' environment variable to overrule this program.
  2856. if test "$cross_compiling" != no; then
  2857. if test -n "$ac_tool_prefix"; then
  2858. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2859. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2860. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2861. $as_echo_n "checking for $ac_word... " >&6; }
  2862. if test "${ac_cv_prog_STRIP+set}" = set; then :
  2863. $as_echo_n "(cached) " >&6
  2864. else
  2865. if test -n "$STRIP"; then
  2866. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2867. else
  2868. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2869. for as_dir in $PATH
  2870. do
  2871. IFS=$as_save_IFS
  2872. test -z "$as_dir" && as_dir=.
  2873. for ac_exec_ext in '' $ac_executable_extensions; do
  2874. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2875. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2876. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2877. break 2
  2878. fi
  2879. done
  2880. done
  2881. IFS=$as_save_IFS
  2882. fi
  2883. fi
  2884. STRIP=$ac_cv_prog_STRIP
  2885. if test -n "$STRIP"; then
  2886. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2887. $as_echo "$STRIP" >&6; }
  2888. else
  2889. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2890. $as_echo "no" >&6; }
  2891. fi
  2892. fi
  2893. if test -z "$ac_cv_prog_STRIP"; then
  2894. ac_ct_STRIP=$STRIP
  2895. # Extract the first word of "strip", so it can be a program name with args.
  2896. set dummy strip; ac_word=$2
  2897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2898. $as_echo_n "checking for $ac_word... " >&6; }
  2899. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2900. $as_echo_n "(cached) " >&6
  2901. else
  2902. if test -n "$ac_ct_STRIP"; then
  2903. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2904. else
  2905. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2906. for as_dir in $PATH
  2907. do
  2908. IFS=$as_save_IFS
  2909. test -z "$as_dir" && as_dir=.
  2910. for ac_exec_ext in '' $ac_executable_extensions; do
  2911. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2912. ac_cv_prog_ac_ct_STRIP="strip"
  2913. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2914. break 2
  2915. fi
  2916. done
  2917. done
  2918. IFS=$as_save_IFS
  2919. fi
  2920. fi
  2921. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2922. if test -n "$ac_ct_STRIP"; then
  2923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2924. $as_echo "$ac_ct_STRIP" >&6; }
  2925. else
  2926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2927. $as_echo "no" >&6; }
  2928. fi
  2929. if test "x$ac_ct_STRIP" = x; then
  2930. STRIP=":"
  2931. else
  2932. case $cross_compiling:$ac_tool_warned in
  2933. yes:)
  2934. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2935. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2936. ac_tool_warned=yes ;;
  2937. esac
  2938. STRIP=$ac_ct_STRIP
  2939. fi
  2940. else
  2941. STRIP="$ac_cv_prog_STRIP"
  2942. fi
  2943. fi
  2944. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2946. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2947. if test -z "$MKDIR_P"; then
  2948. if test "${ac_cv_path_mkdir+set}" = set; then :
  2949. $as_echo_n "(cached) " >&6
  2950. else
  2951. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2952. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2953. do
  2954. IFS=$as_save_IFS
  2955. test -z "$as_dir" && as_dir=.
  2956. for ac_prog in mkdir gmkdir; do
  2957. for ac_exec_ext in '' $ac_executable_extensions; do
  2958. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2959. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2960. 'mkdir (GNU coreutils) '* | \
  2961. 'mkdir (coreutils) '* | \
  2962. 'mkdir (fileutils) '4.1*)
  2963. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2964. break 3;;
  2965. esac
  2966. done
  2967. done
  2968. done
  2969. IFS=$as_save_IFS
  2970. fi
  2971. if test "${ac_cv_path_mkdir+set}" = set; then
  2972. MKDIR_P="$ac_cv_path_mkdir -p"
  2973. else
  2974. # As a last resort, use the slow shell script. Don't cache a
  2975. # value for MKDIR_P within a source directory, because that will
  2976. # break other packages using the cache if that directory is
  2977. # removed, or if the value is a relative name.
  2978. test -d ./--version && rmdir ./--version
  2979. MKDIR_P="$ac_install_sh -d"
  2980. fi
  2981. fi
  2982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2983. $as_echo "$MKDIR_P" >&6; }
  2984. mkdir_p="$MKDIR_P"
  2985. case $mkdir_p in
  2986. [\\/$]* | ?:[\\/]*) ;;
  2987. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2988. esac
  2989. for ac_prog in gawk mawk nawk awk
  2990. do
  2991. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2992. set dummy $ac_prog; ac_word=$2
  2993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2994. $as_echo_n "checking for $ac_word... " >&6; }
  2995. if test "${ac_cv_prog_AWK+set}" = set; then :
  2996. $as_echo_n "(cached) " >&6
  2997. else
  2998. if test -n "$AWK"; then
  2999. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  3000. else
  3001. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3002. for as_dir in $PATH
  3003. do
  3004. IFS=$as_save_IFS
  3005. test -z "$as_dir" && as_dir=.
  3006. for ac_exec_ext in '' $ac_executable_extensions; do
  3007. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3008. ac_cv_prog_AWK="$ac_prog"
  3009. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3010. break 2
  3011. fi
  3012. done
  3013. done
  3014. IFS=$as_save_IFS
  3015. fi
  3016. fi
  3017. AWK=$ac_cv_prog_AWK
  3018. if test -n "$AWK"; then
  3019. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  3020. $as_echo "$AWK" >&6; }
  3021. else
  3022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3023. $as_echo "no" >&6; }
  3024. fi
  3025. test -n "$AWK" && break
  3026. done
  3027. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3028. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3029. set x ${MAKE-make}
  3030. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3031. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  3032. $as_echo_n "(cached) " >&6
  3033. else
  3034. cat >conftest.make <<\_ACEOF
  3035. SHELL = /bin/sh
  3036. all:
  3037. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3038. _ACEOF
  3039. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  3040. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3041. *@@@%%%=?*=@@@%%%*)
  3042. eval ac_cv_prog_make_${ac_make}_set=yes;;
  3043. *)
  3044. eval ac_cv_prog_make_${ac_make}_set=no;;
  3045. esac
  3046. rm -f conftest.make
  3047. fi
  3048. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3050. $as_echo "yes" >&6; }
  3051. SET_MAKE=
  3052. else
  3053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3054. $as_echo "no" >&6; }
  3055. SET_MAKE="MAKE=${MAKE-make}"
  3056. fi
  3057. rm -rf .tst 2>/dev/null
  3058. mkdir .tst 2>/dev/null
  3059. if test -d .tst; then
  3060. am__leading_dot=.
  3061. else
  3062. am__leading_dot=_
  3063. fi
  3064. rmdir .tst 2>/dev/null
  3065. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  3066. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  3067. # is not polluted with repeated "-I."
  3068. am__isrc=' -I$(srcdir)'
  3069. # test to see if srcdir already configured
  3070. if test -f $srcdir/config.status; then
  3071. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  3072. fi
  3073. fi
  3074. # test whether we have cygpath
  3075. if test -z "$CYGPATH_W"; then
  3076. if (cygpath --version) >/dev/null 2>/dev/null; then
  3077. CYGPATH_W='cygpath -w'
  3078. else
  3079. CYGPATH_W=echo
  3080. fi
  3081. fi
  3082. # Define the identity of the package.
  3083. PACKAGE='libgfortran'
  3084. VERSION='0.3'
  3085. # Some tools Automake needs.
  3086. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  3087. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  3088. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  3089. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  3090. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  3091. # We need awk for the "check" target. The system "awk" is bad on
  3092. # some platforms.
  3093. # Always define AMTAR for backward compatibility. Yes, it's still used
  3094. # in the wild :-( We should find a proper way to deprecate it ...
  3095. AMTAR='$${TAR-tar}'
  3096. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  3097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  3098. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  3099. # Check whether --enable-maintainer-mode was given.
  3100. if test "${enable_maintainer_mode+set}" = set; then :
  3101. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  3102. else
  3103. USE_MAINTAINER_MODE=no
  3104. fi
  3105. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  3106. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  3107. if test $USE_MAINTAINER_MODE = yes; then
  3108. MAINTAINER_MODE_TRUE=
  3109. MAINTAINER_MODE_FALSE='#'
  3110. else
  3111. MAINTAINER_MODE_TRUE='#'
  3112. MAINTAINER_MODE_FALSE=
  3113. fi
  3114. MAINT=$MAINTAINER_MODE_TRUE
  3115. # Default to --enable-multilib
  3116. # Check whether --enable-multilib was given.
  3117. if test "${enable_multilib+set}" = set; then :
  3118. enableval=$enable_multilib; case "$enableval" in
  3119. yes) multilib=yes ;;
  3120. no) multilib=no ;;
  3121. *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
  3122. esac
  3123. else
  3124. multilib=yes
  3125. fi
  3126. # We may get other options which we leave undocumented:
  3127. # --with-target-subdir, --with-multisrctop, --with-multisubdir
  3128. # See config-ml.in if you want the gory details.
  3129. if test "$srcdir" = "."; then
  3130. if test "$with_target_subdir" != "."; then
  3131. multi_basedir="$srcdir/$with_multisrctop../.."
  3132. else
  3133. multi_basedir="$srcdir/$with_multisrctop.."
  3134. fi
  3135. else
  3136. multi_basedir="$srcdir/.."
  3137. fi
  3138. # Even if the default multilib is not a cross compilation,
  3139. # it may be that some of the other multilibs are.
  3140. if test $cross_compiling = no && test $multilib = yes \
  3141. && test "x${with_multisubdir}" != x ; then
  3142. cross_compiling=maybe
  3143. fi
  3144. ac_config_commands="$ac_config_commands default-1"
  3145. # Handy for debugging:
  3146. #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
  3147. # Are we being configured with some form of cross compiler?
  3148. # NB: We don't actually need to know this just now, but when, say, a test
  3149. # suite is included, we'll have to know.
  3150. if test "$build" != "$host"; then
  3151. LIBGFOR_IS_NATIVE=false
  3152. else
  3153. LIBGFOR_IS_NATIVE=true
  3154. fi
  3155. DEPDIR="${am__leading_dot}deps"
  3156. ac_config_commands="$ac_config_commands depfiles"
  3157. am_make=${MAKE-make}
  3158. cat > confinc << 'END'
  3159. am__doit:
  3160. @echo this is the am__doit target
  3161. .PHONY: am__doit
  3162. END
  3163. # If we don't find an include directive, just comment out the code.
  3164. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3165. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3166. am__include="#"
  3167. am__quote=
  3168. _am_result=none
  3169. # First try GNU make style include.
  3170. echo "include confinc" > confmf
  3171. # Ignore all kinds of additional output from `make'.
  3172. case `$am_make -s -f confmf 2> /dev/null` in #(
  3173. *the\ am__doit\ target*)
  3174. am__include=include
  3175. am__quote=
  3176. _am_result=GNU
  3177. ;;
  3178. esac
  3179. # Now try BSD make style include.
  3180. if test "$am__include" = "#"; then
  3181. echo '.include "confinc"' > confmf
  3182. case `$am_make -s -f confmf 2> /dev/null` in #(
  3183. *the\ am__doit\ target*)
  3184. am__include=.include
  3185. am__quote="\""
  3186. _am_result=BSD
  3187. ;;
  3188. esac
  3189. fi
  3190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3191. $as_echo "$_am_result" >&6; }
  3192. rm -f confinc confmf
  3193. # Check whether --enable-dependency-tracking was given.
  3194. if test "${enable_dependency_tracking+set}" = set; then :
  3195. enableval=$enable_dependency_tracking;
  3196. fi
  3197. if test "x$enable_dependency_tracking" != xno; then
  3198. am_depcomp="$ac_aux_dir/depcomp"
  3199. AMDEPBACKSLASH='\'
  3200. am__nodep='_no'
  3201. fi
  3202. if test "x$enable_dependency_tracking" != xno; then
  3203. AMDEP_TRUE=
  3204. AMDEP_FALSE='#'
  3205. else
  3206. AMDEP_TRUE='#'
  3207. AMDEP_FALSE=
  3208. fi
  3209. ac_ext=c
  3210. ac_cpp='$CPP $CPPFLAGS'
  3211. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3212. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3213. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3214. if test -n "$ac_tool_prefix"; then
  3215. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3216. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3218. $as_echo_n "checking for $ac_word... " >&6; }
  3219. if test "${ac_cv_prog_CC+set}" = set; then :
  3220. $as_echo_n "(cached) " >&6
  3221. else
  3222. if test -n "$CC"; then
  3223. ac_cv_prog_CC="$CC" # Let the user override the test.
  3224. else
  3225. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3226. for as_dir in $PATH
  3227. do
  3228. IFS=$as_save_IFS
  3229. test -z "$as_dir" && as_dir=.
  3230. for ac_exec_ext in '' $ac_executable_extensions; do
  3231. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3232. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3233. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3234. break 2
  3235. fi
  3236. done
  3237. done
  3238. IFS=$as_save_IFS
  3239. fi
  3240. fi
  3241. CC=$ac_cv_prog_CC
  3242. if test -n "$CC"; then
  3243. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3244. $as_echo "$CC" >&6; }
  3245. else
  3246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3247. $as_echo "no" >&6; }
  3248. fi
  3249. fi
  3250. if test -z "$ac_cv_prog_CC"; then
  3251. ac_ct_CC=$CC
  3252. # Extract the first word of "gcc", so it can be a program name with args.
  3253. set dummy gcc; ac_word=$2
  3254. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3255. $as_echo_n "checking for $ac_word... " >&6; }
  3256. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3257. $as_echo_n "(cached) " >&6
  3258. else
  3259. if test -n "$ac_ct_CC"; then
  3260. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3261. else
  3262. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3263. for as_dir in $PATH
  3264. do
  3265. IFS=$as_save_IFS
  3266. test -z "$as_dir" && as_dir=.
  3267. for ac_exec_ext in '' $ac_executable_extensions; do
  3268. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3269. ac_cv_prog_ac_ct_CC="gcc"
  3270. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3271. break 2
  3272. fi
  3273. done
  3274. done
  3275. IFS=$as_save_IFS
  3276. fi
  3277. fi
  3278. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3279. if test -n "$ac_ct_CC"; then
  3280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3281. $as_echo "$ac_ct_CC" >&6; }
  3282. else
  3283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3284. $as_echo "no" >&6; }
  3285. fi
  3286. if test "x$ac_ct_CC" = x; then
  3287. CC=""
  3288. else
  3289. case $cross_compiling:$ac_tool_warned in
  3290. yes:)
  3291. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3292. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3293. ac_tool_warned=yes ;;
  3294. esac
  3295. CC=$ac_ct_CC
  3296. fi
  3297. else
  3298. CC="$ac_cv_prog_CC"
  3299. fi
  3300. if test -z "$CC"; then
  3301. if test -n "$ac_tool_prefix"; then
  3302. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3303. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3304. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3305. $as_echo_n "checking for $ac_word... " >&6; }
  3306. if test "${ac_cv_prog_CC+set}" = set; then :
  3307. $as_echo_n "(cached) " >&6
  3308. else
  3309. if test -n "$CC"; then
  3310. ac_cv_prog_CC="$CC" # Let the user override the test.
  3311. else
  3312. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3313. for as_dir in $PATH
  3314. do
  3315. IFS=$as_save_IFS
  3316. test -z "$as_dir" && as_dir=.
  3317. for ac_exec_ext in '' $ac_executable_extensions; do
  3318. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3319. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3320. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3321. break 2
  3322. fi
  3323. done
  3324. done
  3325. IFS=$as_save_IFS
  3326. fi
  3327. fi
  3328. CC=$ac_cv_prog_CC
  3329. if test -n "$CC"; then
  3330. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3331. $as_echo "$CC" >&6; }
  3332. else
  3333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3334. $as_echo "no" >&6; }
  3335. fi
  3336. fi
  3337. fi
  3338. if test -z "$CC"; then
  3339. # Extract the first word of "cc", so it can be a program name with args.
  3340. set dummy cc; ac_word=$2
  3341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3342. $as_echo_n "checking for $ac_word... " >&6; }
  3343. if test "${ac_cv_prog_CC+set}" = set; then :
  3344. $as_echo_n "(cached) " >&6
  3345. else
  3346. if test -n "$CC"; then
  3347. ac_cv_prog_CC="$CC" # Let the user override the test.
  3348. else
  3349. ac_prog_rejected=no
  3350. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3351. for as_dir in $PATH
  3352. do
  3353. IFS=$as_save_IFS
  3354. test -z "$as_dir" && as_dir=.
  3355. for ac_exec_ext in '' $ac_executable_extensions; do
  3356. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3357. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3358. ac_prog_rejected=yes
  3359. continue
  3360. fi
  3361. ac_cv_prog_CC="cc"
  3362. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3363. break 2
  3364. fi
  3365. done
  3366. done
  3367. IFS=$as_save_IFS
  3368. if test $ac_prog_rejected = yes; then
  3369. # We found a bogon in the path, so make sure we never use it.
  3370. set dummy $ac_cv_prog_CC
  3371. shift
  3372. if test $# != 0; then
  3373. # We chose a different compiler from the bogus one.
  3374. # However, it has the same basename, so the bogon will be chosen
  3375. # first if we set CC to just the basename; use the full file name.
  3376. shift
  3377. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3378. fi
  3379. fi
  3380. fi
  3381. fi
  3382. CC=$ac_cv_prog_CC
  3383. if test -n "$CC"; then
  3384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3385. $as_echo "$CC" >&6; }
  3386. else
  3387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3388. $as_echo "no" >&6; }
  3389. fi
  3390. fi
  3391. if test -z "$CC"; then
  3392. if test -n "$ac_tool_prefix"; then
  3393. for ac_prog in cl.exe
  3394. do
  3395. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3396. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3397. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3398. $as_echo_n "checking for $ac_word... " >&6; }
  3399. if test "${ac_cv_prog_CC+set}" = set; then :
  3400. $as_echo_n "(cached) " >&6
  3401. else
  3402. if test -n "$CC"; then
  3403. ac_cv_prog_CC="$CC" # Let the user override the test.
  3404. else
  3405. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3406. for as_dir in $PATH
  3407. do
  3408. IFS=$as_save_IFS
  3409. test -z "$as_dir" && as_dir=.
  3410. for ac_exec_ext in '' $ac_executable_extensions; do
  3411. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3412. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3413. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3414. break 2
  3415. fi
  3416. done
  3417. done
  3418. IFS=$as_save_IFS
  3419. fi
  3420. fi
  3421. CC=$ac_cv_prog_CC
  3422. if test -n "$CC"; then
  3423. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3424. $as_echo "$CC" >&6; }
  3425. else
  3426. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3427. $as_echo "no" >&6; }
  3428. fi
  3429. test -n "$CC" && break
  3430. done
  3431. fi
  3432. if test -z "$CC"; then
  3433. ac_ct_CC=$CC
  3434. for ac_prog in cl.exe
  3435. do
  3436. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3437. set dummy $ac_prog; ac_word=$2
  3438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3439. $as_echo_n "checking for $ac_word... " >&6; }
  3440. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3441. $as_echo_n "(cached) " >&6
  3442. else
  3443. if test -n "$ac_ct_CC"; then
  3444. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3445. else
  3446. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3447. for as_dir in $PATH
  3448. do
  3449. IFS=$as_save_IFS
  3450. test -z "$as_dir" && as_dir=.
  3451. for ac_exec_ext in '' $ac_executable_extensions; do
  3452. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3453. ac_cv_prog_ac_ct_CC="$ac_prog"
  3454. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3455. break 2
  3456. fi
  3457. done
  3458. done
  3459. IFS=$as_save_IFS
  3460. fi
  3461. fi
  3462. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3463. if test -n "$ac_ct_CC"; then
  3464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3465. $as_echo "$ac_ct_CC" >&6; }
  3466. else
  3467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3468. $as_echo "no" >&6; }
  3469. fi
  3470. test -n "$ac_ct_CC" && break
  3471. done
  3472. if test "x$ac_ct_CC" = x; then
  3473. CC=""
  3474. else
  3475. case $cross_compiling:$ac_tool_warned in
  3476. yes:)
  3477. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3478. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3479. ac_tool_warned=yes ;;
  3480. esac
  3481. CC=$ac_ct_CC
  3482. fi
  3483. fi
  3484. fi
  3485. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3486. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3487. as_fn_error "no acceptable C compiler found in \$PATH
  3488. See \`config.log' for more details." "$LINENO" 5; }
  3489. # Provide some information about the compiler.
  3490. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3491. set X $ac_compile
  3492. ac_compiler=$2
  3493. for ac_option in --version -v -V -qversion; do
  3494. { { ac_try="$ac_compiler $ac_option >&5"
  3495. case "(($ac_try" in
  3496. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3497. *) ac_try_echo=$ac_try;;
  3498. esac
  3499. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3500. $as_echo "$ac_try_echo"; } >&5
  3501. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3502. ac_status=$?
  3503. if test -s conftest.err; then
  3504. sed '10a\
  3505. ... rest of stderr output deleted ...
  3506. 10q' conftest.err >conftest.er1
  3507. cat conftest.er1 >&5
  3508. rm -f conftest.er1 conftest.err
  3509. fi
  3510. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3511. test $ac_status = 0; }
  3512. done
  3513. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3514. /* end confdefs.h. */
  3515. int
  3516. main ()
  3517. {
  3518. ;
  3519. return 0;
  3520. }
  3521. _ACEOF
  3522. # FIXME: Cleanup?
  3523. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  3524. (eval $ac_link) 2>&5
  3525. ac_status=$?
  3526. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3527. test $ac_status = 0; }; then :
  3528. gcc_no_link=no
  3529. else
  3530. gcc_no_link=yes
  3531. fi
  3532. if test x$gcc_no_link = xyes; then
  3533. # Setting cross_compile will disable run tests; it will
  3534. # also disable AC_CHECK_FILE but that's generally
  3535. # correct if we can't link.
  3536. cross_compiling=yes
  3537. EXEEXT=
  3538. else
  3539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3540. /* end confdefs.h. */
  3541. int
  3542. main ()
  3543. {
  3544. ;
  3545. return 0;
  3546. }
  3547. _ACEOF
  3548. ac_clean_files_save=$ac_clean_files
  3549. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  3550. # Try to create an executable without -o first, disregard a.out.
  3551. # It will help us diagnose broken compilers, and finding out an intuition
  3552. # of exeext.
  3553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3554. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3555. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3556. # The possible output files:
  3557. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3558. ac_rmfiles=
  3559. for ac_file in $ac_files
  3560. do
  3561. case $ac_file in
  3562. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3563. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3564. esac
  3565. done
  3566. rm -f $ac_rmfiles
  3567. if { { ac_try="$ac_link_default"
  3568. case "(($ac_try" in
  3569. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3570. *) ac_try_echo=$ac_try;;
  3571. esac
  3572. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3573. $as_echo "$ac_try_echo"; } >&5
  3574. (eval "$ac_link_default") 2>&5
  3575. ac_status=$?
  3576. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3577. test $ac_status = 0; }; then :
  3578. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3579. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3580. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3581. # so that the user can short-circuit this test for compilers unknown to
  3582. # Autoconf.
  3583. for ac_file in $ac_files ''
  3584. do
  3585. test -f "$ac_file" || continue
  3586. case $ac_file in
  3587. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3588. ;;
  3589. [ab].out )
  3590. # We found the default executable, but exeext='' is most
  3591. # certainly right.
  3592. break;;
  3593. *.* )
  3594. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3595. then :; else
  3596. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3597. fi
  3598. # We set ac_cv_exeext here because the later test for it is not
  3599. # safe: cross compilers may not add the suffix if given an `-o'
  3600. # argument, so we may need to know it at that point already.
  3601. # Even if this section looks crufty: it has the advantage of
  3602. # actually working.
  3603. break;;
  3604. * )
  3605. break;;
  3606. esac
  3607. done
  3608. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3609. else
  3610. ac_file=''
  3611. fi
  3612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3613. $as_echo "$ac_file" >&6; }
  3614. if test -z "$ac_file"; then :
  3615. $as_echo "$as_me: failed program was:" >&5
  3616. sed 's/^/| /' conftest.$ac_ext >&5
  3617. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3618. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3619. { as_fn_set_status 77
  3620. as_fn_error "C compiler cannot create executables
  3621. See \`config.log' for more details." "$LINENO" 5; }; }
  3622. fi
  3623. ac_exeext=$ac_cv_exeext
  3624. # Check that the compiler produces executables we can run. If not, either
  3625. # the compiler is broken, or we cross compile.
  3626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3627. $as_echo_n "checking whether the C compiler works... " >&6; }
  3628. # If not cross compiling, check that we can run a simple program.
  3629. if test "$cross_compiling" != yes; then
  3630. if { ac_try='./$ac_file'
  3631. { { case "(($ac_try" in
  3632. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3633. *) ac_try_echo=$ac_try;;
  3634. esac
  3635. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3636. $as_echo "$ac_try_echo"; } >&5
  3637. (eval "$ac_try") 2>&5
  3638. ac_status=$?
  3639. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3640. test $ac_status = 0; }; }; then
  3641. cross_compiling=no
  3642. else
  3643. if test "$cross_compiling" = maybe; then
  3644. cross_compiling=yes
  3645. else
  3646. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3647. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3648. as_fn_error "cannot run C compiled programs.
  3649. If you meant to cross compile, use \`--host'.
  3650. See \`config.log' for more details." "$LINENO" 5; }
  3651. fi
  3652. fi
  3653. fi
  3654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3655. $as_echo "yes" >&6; }
  3656. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  3657. ac_clean_files=$ac_clean_files_save
  3658. # Check that the compiler produces executables we can run. If not, either
  3659. # the compiler is broken, or we cross compile.
  3660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3661. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3663. $as_echo "$cross_compiling" >&6; }
  3664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3665. $as_echo_n "checking for suffix of executables... " >&6; }
  3666. if { { ac_try="$ac_link"
  3667. case "(($ac_try" in
  3668. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3669. *) ac_try_echo=$ac_try;;
  3670. esac
  3671. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3672. $as_echo "$ac_try_echo"; } >&5
  3673. (eval "$ac_link") 2>&5
  3674. ac_status=$?
  3675. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3676. test $ac_status = 0; }; then :
  3677. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3678. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3679. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3680. # `rm'.
  3681. for ac_file in conftest.exe conftest conftest.*; do
  3682. test -f "$ac_file" || continue
  3683. case $ac_file in
  3684. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3685. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3686. break;;
  3687. * ) break;;
  3688. esac
  3689. done
  3690. else
  3691. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3692. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3693. as_fn_error "cannot compute suffix of executables: cannot compile and link
  3694. See \`config.log' for more details." "$LINENO" 5; }
  3695. fi
  3696. rm -f conftest$ac_cv_exeext
  3697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3698. $as_echo "$ac_cv_exeext" >&6; }
  3699. rm -f conftest.$ac_ext
  3700. EXEEXT=$ac_cv_exeext
  3701. ac_exeext=$EXEEXT
  3702. fi
  3703. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3704. $as_echo_n "checking for suffix of object files... " >&6; }
  3705. if test "${ac_cv_objext+set}" = set; then :
  3706. $as_echo_n "(cached) " >&6
  3707. else
  3708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3709. /* end confdefs.h. */
  3710. int
  3711. main ()
  3712. {
  3713. ;
  3714. return 0;
  3715. }
  3716. _ACEOF
  3717. rm -f conftest.o conftest.obj
  3718. if { { ac_try="$ac_compile"
  3719. case "(($ac_try" in
  3720. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3721. *) ac_try_echo=$ac_try;;
  3722. esac
  3723. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3724. $as_echo "$ac_try_echo"; } >&5
  3725. (eval "$ac_compile") 2>&5
  3726. ac_status=$?
  3727. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3728. test $ac_status = 0; }; then :
  3729. for ac_file in conftest.o conftest.obj conftest.*; do
  3730. test -f "$ac_file" || continue;
  3731. case $ac_file in
  3732. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3733. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3734. break;;
  3735. esac
  3736. done
  3737. else
  3738. $as_echo "$as_me: failed program was:" >&5
  3739. sed 's/^/| /' conftest.$ac_ext >&5
  3740. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3741. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3742. as_fn_error "cannot compute suffix of object files: cannot compile
  3743. See \`config.log' for more details." "$LINENO" 5; }
  3744. fi
  3745. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3746. fi
  3747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3748. $as_echo "$ac_cv_objext" >&6; }
  3749. OBJEXT=$ac_cv_objext
  3750. ac_objext=$OBJEXT
  3751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3752. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3753. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3754. $as_echo_n "(cached) " >&6
  3755. else
  3756. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3757. /* end confdefs.h. */
  3758. int
  3759. main ()
  3760. {
  3761. #ifndef __GNUC__
  3762. choke me
  3763. #endif
  3764. ;
  3765. return 0;
  3766. }
  3767. _ACEOF
  3768. if ac_fn_c_try_compile "$LINENO"; then :
  3769. ac_compiler_gnu=yes
  3770. else
  3771. ac_compiler_gnu=no
  3772. fi
  3773. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3774. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3775. fi
  3776. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3777. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3778. if test $ac_compiler_gnu = yes; then
  3779. GCC=yes
  3780. else
  3781. GCC=
  3782. fi
  3783. ac_test_CFLAGS=${CFLAGS+set}
  3784. ac_save_CFLAGS=$CFLAGS
  3785. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3786. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3787. if test "${ac_cv_prog_cc_g+set}" = set; then :
  3788. $as_echo_n "(cached) " >&6
  3789. else
  3790. ac_save_c_werror_flag=$ac_c_werror_flag
  3791. ac_c_werror_flag=yes
  3792. ac_cv_prog_cc_g=no
  3793. CFLAGS="-g"
  3794. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3795. /* end confdefs.h. */
  3796. int
  3797. main ()
  3798. {
  3799. ;
  3800. return 0;
  3801. }
  3802. _ACEOF
  3803. if ac_fn_c_try_compile "$LINENO"; then :
  3804. ac_cv_prog_cc_g=yes
  3805. else
  3806. CFLAGS=""
  3807. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3808. /* end confdefs.h. */
  3809. int
  3810. main ()
  3811. {
  3812. ;
  3813. return 0;
  3814. }
  3815. _ACEOF
  3816. if ac_fn_c_try_compile "$LINENO"; then :
  3817. else
  3818. ac_c_werror_flag=$ac_save_c_werror_flag
  3819. CFLAGS="-g"
  3820. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3821. /* end confdefs.h. */
  3822. int
  3823. main ()
  3824. {
  3825. ;
  3826. return 0;
  3827. }
  3828. _ACEOF
  3829. if ac_fn_c_try_compile "$LINENO"; then :
  3830. ac_cv_prog_cc_g=yes
  3831. fi
  3832. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3833. fi
  3834. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3835. fi
  3836. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3837. ac_c_werror_flag=$ac_save_c_werror_flag
  3838. fi
  3839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3840. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3841. if test "$ac_test_CFLAGS" = set; then
  3842. CFLAGS=$ac_save_CFLAGS
  3843. elif test $ac_cv_prog_cc_g = yes; then
  3844. if test "$GCC" = yes; then
  3845. CFLAGS="-g -O2"
  3846. else
  3847. CFLAGS="-g"
  3848. fi
  3849. else
  3850. if test "$GCC" = yes; then
  3851. CFLAGS="-O2"
  3852. else
  3853. CFLAGS=
  3854. fi
  3855. fi
  3856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3857. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3858. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3859. $as_echo_n "(cached) " >&6
  3860. else
  3861. ac_cv_prog_cc_c89=no
  3862. ac_save_CC=$CC
  3863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3864. /* end confdefs.h. */
  3865. #include <stdarg.h>
  3866. #include <stdio.h>
  3867. #include <sys/types.h>
  3868. #include <sys/stat.h>
  3869. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3870. struct buf { int x; };
  3871. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3872. static char *e (p, i)
  3873. char **p;
  3874. int i;
  3875. {
  3876. return p[i];
  3877. }
  3878. static char *f (char * (*g) (char **, int), char **p, ...)
  3879. {
  3880. char *s;
  3881. va_list v;
  3882. va_start (v,p);
  3883. s = g (p, va_arg (v,int));
  3884. va_end (v);
  3885. return s;
  3886. }
  3887. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3888. function prototypes and stuff, but not '\xHH' hex character constants.
  3889. These don't provoke an error unfortunately, instead are silently treated
  3890. as 'x'. The following induces an error, until -std is added to get
  3891. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3892. array size at least. It's necessary to write '\x00'==0 to get something
  3893. that's true only with -std. */
  3894. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3895. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3896. inside strings and character constants. */
  3897. #define FOO(x) 'x'
  3898. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3899. int test (int i, double x);
  3900. struct s1 {int (*f) (int a);};
  3901. struct s2 {int (*f) (double a);};
  3902. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3903. int argc;
  3904. char **argv;
  3905. int
  3906. main ()
  3907. {
  3908. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3909. ;
  3910. return 0;
  3911. }
  3912. _ACEOF
  3913. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3914. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3915. do
  3916. CC="$ac_save_CC $ac_arg"
  3917. if ac_fn_c_try_compile "$LINENO"; then :
  3918. ac_cv_prog_cc_c89=$ac_arg
  3919. fi
  3920. rm -f core conftest.err conftest.$ac_objext
  3921. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3922. done
  3923. rm -f conftest.$ac_ext
  3924. CC=$ac_save_CC
  3925. fi
  3926. # AC_CACHE_VAL
  3927. case "x$ac_cv_prog_cc_c89" in
  3928. x)
  3929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3930. $as_echo "none needed" >&6; } ;;
  3931. xno)
  3932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3933. $as_echo "unsupported" >&6; } ;;
  3934. *)
  3935. CC="$CC $ac_cv_prog_cc_c89"
  3936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3937. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3938. esac
  3939. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3940. fi
  3941. ac_ext=c
  3942. ac_cpp='$CPP $CPPFLAGS'
  3943. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3944. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3945. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3946. depcc="$CC" am_compiler_list=
  3947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3948. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3949. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3950. $as_echo_n "(cached) " >&6
  3951. else
  3952. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3953. # We make a subdir and do the tests there. Otherwise we can end up
  3954. # making bogus files that we don't know about and never remove. For
  3955. # instance it was reported that on HP-UX the gcc test will end up
  3956. # making a dummy file named `D' -- because `-MD' means `put the output
  3957. # in D'.
  3958. rm -rf conftest.dir
  3959. mkdir conftest.dir
  3960. # Copy depcomp to subdir because otherwise we won't find it if we're
  3961. # using a relative directory.
  3962. cp "$am_depcomp" conftest.dir
  3963. cd conftest.dir
  3964. # We will build objects and dependencies in a subdirectory because
  3965. # it helps to detect inapplicable dependency modes. For instance
  3966. # both Tru64's cc and ICC support -MD to output dependencies as a
  3967. # side effect of compilation, but ICC will put the dependencies in
  3968. # the current directory while Tru64 will put them in the object
  3969. # directory.
  3970. mkdir sub
  3971. am_cv_CC_dependencies_compiler_type=none
  3972. if test "$am_compiler_list" = ""; then
  3973. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3974. fi
  3975. am__universal=false
  3976. case " $depcc " in #(
  3977. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3978. esac
  3979. for depmode in $am_compiler_list; do
  3980. # Setup a source with many dependencies, because some compilers
  3981. # like to wrap large dependency lists on column 80 (with \), and
  3982. # we should not choose a depcomp mode which is confused by this.
  3983. #
  3984. # We need to recreate these files for each test, as the compiler may
  3985. # overwrite some of them when testing with obscure command lines.
  3986. # This happens at least with the AIX C compiler.
  3987. : > sub/conftest.c
  3988. for i in 1 2 3 4 5 6; do
  3989. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3990. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3991. # Solaris 8's {/usr,}/bin/sh.
  3992. touch sub/conftst$i.h
  3993. done
  3994. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3995. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3996. # mode. It turns out that the SunPro C++ compiler does not properly
  3997. # handle `-M -o', and we need to detect this. Also, some Intel
  3998. # versions had trouble with output in subdirs
  3999. am__obj=sub/conftest.${OBJEXT-o}
  4000. am__minus_obj="-o $am__obj"
  4001. case $depmode in
  4002. gcc)
  4003. # This depmode causes a compiler race in universal mode.
  4004. test "$am__universal" = false || continue
  4005. ;;
  4006. nosideeffect)
  4007. # after this tag, mechanisms are not by side-effect, so they'll
  4008. # only be used when explicitly requested
  4009. if test "x$enable_dependency_tracking" = xyes; then
  4010. continue
  4011. else
  4012. break
  4013. fi
  4014. ;;
  4015. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4016. # This compiler won't grok `-c -o', but also, the minuso test has
  4017. # not run yet. These depmodes are late enough in the game, and
  4018. # so weak that their functioning should not be impacted.
  4019. am__obj=conftest.${OBJEXT-o}
  4020. am__minus_obj=
  4021. ;;
  4022. none) break ;;
  4023. esac
  4024. if depmode=$depmode \
  4025. source=sub/conftest.c object=$am__obj \
  4026. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4027. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4028. >/dev/null 2>conftest.err &&
  4029. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4030. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4031. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4032. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4033. # icc doesn't choke on unknown options, it will just issue warnings
  4034. # or remarks (even with -Werror). So we grep stderr for any message
  4035. # that says an option was ignored or not supported.
  4036. # When given -MP, icc 7.0 and 7.1 complain thusly:
  4037. # icc: Command line warning: ignoring option '-M'; no argument required
  4038. # The diagnosis changed in icc 8.0:
  4039. # icc: Command line remark: option '-MP' not supported
  4040. if (grep 'ignoring option' conftest.err ||
  4041. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4042. am_cv_CC_dependencies_compiler_type=$depmode
  4043. break
  4044. fi
  4045. fi
  4046. done
  4047. cd ..
  4048. rm -rf conftest.dir
  4049. else
  4050. am_cv_CC_dependencies_compiler_type=none
  4051. fi
  4052. fi
  4053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4054. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4055. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4056. if
  4057. test "x$enable_dependency_tracking" != xno \
  4058. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4059. am__fastdepCC_TRUE=
  4060. am__fastdepCC_FALSE='#'
  4061. else
  4062. am__fastdepCC_TRUE='#'
  4063. am__fastdepCC_FALSE=
  4064. fi
  4065. ac_ext=c
  4066. ac_cpp='$CPP $CPPFLAGS'
  4067. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4068. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4069. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4071. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4072. # On Suns, sometimes $CPP names a directory.
  4073. if test -n "$CPP" && test -d "$CPP"; then
  4074. CPP=
  4075. fi
  4076. if test -z "$CPP"; then
  4077. if test "${ac_cv_prog_CPP+set}" = set; then :
  4078. $as_echo_n "(cached) " >&6
  4079. else
  4080. # Double quotes because CPP needs to be expanded
  4081. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4082. do
  4083. ac_preproc_ok=false
  4084. for ac_c_preproc_warn_flag in '' yes
  4085. do
  4086. # Use a header file that comes with gcc, so configuring glibc
  4087. # with a fresh cross-compiler works.
  4088. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4089. # <limits.h> exists even on freestanding compilers.
  4090. # On the NeXT, cc -E runs the code through the compiler's parser,
  4091. # not just through cpp. "Syntax error" is here to catch this case.
  4092. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4093. /* end confdefs.h. */
  4094. #ifdef __STDC__
  4095. # include <limits.h>
  4096. #else
  4097. # include <assert.h>
  4098. #endif
  4099. Syntax error
  4100. _ACEOF
  4101. if ac_fn_c_try_cpp "$LINENO"; then :
  4102. else
  4103. # Broken: fails on valid input.
  4104. continue
  4105. fi
  4106. rm -f conftest.err conftest.$ac_ext
  4107. # OK, works on sane cases. Now check whether nonexistent headers
  4108. # can be detected and how.
  4109. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4110. /* end confdefs.h. */
  4111. #include <ac_nonexistent.h>
  4112. _ACEOF
  4113. if ac_fn_c_try_cpp "$LINENO"; then :
  4114. # Broken: success on invalid input.
  4115. continue
  4116. else
  4117. # Passes both tests.
  4118. ac_preproc_ok=:
  4119. break
  4120. fi
  4121. rm -f conftest.err conftest.$ac_ext
  4122. done
  4123. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4124. rm -f conftest.err conftest.$ac_ext
  4125. if $ac_preproc_ok; then :
  4126. break
  4127. fi
  4128. done
  4129. ac_cv_prog_CPP=$CPP
  4130. fi
  4131. CPP=$ac_cv_prog_CPP
  4132. else
  4133. ac_cv_prog_CPP=$CPP
  4134. fi
  4135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4136. $as_echo "$CPP" >&6; }
  4137. ac_preproc_ok=false
  4138. for ac_c_preproc_warn_flag in '' yes
  4139. do
  4140. # Use a header file that comes with gcc, so configuring glibc
  4141. # with a fresh cross-compiler works.
  4142. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4143. # <limits.h> exists even on freestanding compilers.
  4144. # On the NeXT, cc -E runs the code through the compiler's parser,
  4145. # not just through cpp. "Syntax error" is here to catch this case.
  4146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4147. /* end confdefs.h. */
  4148. #ifdef __STDC__
  4149. # include <limits.h>
  4150. #else
  4151. # include <assert.h>
  4152. #endif
  4153. Syntax error
  4154. _ACEOF
  4155. if ac_fn_c_try_cpp "$LINENO"; then :
  4156. else
  4157. # Broken: fails on valid input.
  4158. continue
  4159. fi
  4160. rm -f conftest.err conftest.$ac_ext
  4161. # OK, works on sane cases. Now check whether nonexistent headers
  4162. # can be detected and how.
  4163. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4164. /* end confdefs.h. */
  4165. #include <ac_nonexistent.h>
  4166. _ACEOF
  4167. if ac_fn_c_try_cpp "$LINENO"; then :
  4168. # Broken: success on invalid input.
  4169. continue
  4170. else
  4171. # Passes both tests.
  4172. ac_preproc_ok=:
  4173. break
  4174. fi
  4175. rm -f conftest.err conftest.$ac_ext
  4176. done
  4177. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4178. rm -f conftest.err conftest.$ac_ext
  4179. if $ac_preproc_ok; then :
  4180. else
  4181. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4182. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4183. as_fn_error "C preprocessor \"$CPP\" fails sanity check
  4184. See \`config.log' for more details." "$LINENO" 5; }
  4185. fi
  4186. ac_ext=c
  4187. ac_cpp='$CPP $CPPFLAGS'
  4188. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4189. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4190. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4192. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4193. if test "${ac_cv_path_GREP+set}" = set; then :
  4194. $as_echo_n "(cached) " >&6
  4195. else
  4196. if test -z "$GREP"; then
  4197. ac_path_GREP_found=false
  4198. # Loop through the user's path and test for each of PROGNAME-LIST
  4199. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4200. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4201. do
  4202. IFS=$as_save_IFS
  4203. test -z "$as_dir" && as_dir=.
  4204. for ac_prog in grep ggrep; do
  4205. for ac_exec_ext in '' $ac_executable_extensions; do
  4206. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4207. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4208. # Check for GNU ac_path_GREP and select it if it is found.
  4209. # Check for GNU $ac_path_GREP
  4210. case `"$ac_path_GREP" --version 2>&1` in
  4211. *GNU*)
  4212. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4213. *)
  4214. ac_count=0
  4215. $as_echo_n 0123456789 >"conftest.in"
  4216. while :
  4217. do
  4218. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4219. mv "conftest.tmp" "conftest.in"
  4220. cp "conftest.in" "conftest.nl"
  4221. $as_echo 'GREP' >> "conftest.nl"
  4222. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4223. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4224. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4225. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4226. # Best one so far, save it but keep looking for a better one
  4227. ac_cv_path_GREP="$ac_path_GREP"
  4228. ac_path_GREP_max=$ac_count
  4229. fi
  4230. # 10*(2^10) chars as input seems more than enough
  4231. test $ac_count -gt 10 && break
  4232. done
  4233. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4234. esac
  4235. $ac_path_GREP_found && break 3
  4236. done
  4237. done
  4238. done
  4239. IFS=$as_save_IFS
  4240. if test -z "$ac_cv_path_GREP"; then
  4241. as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4242. fi
  4243. else
  4244. ac_cv_path_GREP=$GREP
  4245. fi
  4246. fi
  4247. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4248. $as_echo "$ac_cv_path_GREP" >&6; }
  4249. GREP="$ac_cv_path_GREP"
  4250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4251. $as_echo_n "checking for egrep... " >&6; }
  4252. if test "${ac_cv_path_EGREP+set}" = set; then :
  4253. $as_echo_n "(cached) " >&6
  4254. else
  4255. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4256. then ac_cv_path_EGREP="$GREP -E"
  4257. else
  4258. if test -z "$EGREP"; then
  4259. ac_path_EGREP_found=false
  4260. # Loop through the user's path and test for each of PROGNAME-LIST
  4261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4262. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4263. do
  4264. IFS=$as_save_IFS
  4265. test -z "$as_dir" && as_dir=.
  4266. for ac_prog in egrep; do
  4267. for ac_exec_ext in '' $ac_executable_extensions; do
  4268. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4269. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4270. # Check for GNU ac_path_EGREP and select it if it is found.
  4271. # Check for GNU $ac_path_EGREP
  4272. case `"$ac_path_EGREP" --version 2>&1` in
  4273. *GNU*)
  4274. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4275. *)
  4276. ac_count=0
  4277. $as_echo_n 0123456789 >"conftest.in"
  4278. while :
  4279. do
  4280. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4281. mv "conftest.tmp" "conftest.in"
  4282. cp "conftest.in" "conftest.nl"
  4283. $as_echo 'EGREP' >> "conftest.nl"
  4284. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4285. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4286. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4287. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4288. # Best one so far, save it but keep looking for a better one
  4289. ac_cv_path_EGREP="$ac_path_EGREP"
  4290. ac_path_EGREP_max=$ac_count
  4291. fi
  4292. # 10*(2^10) chars as input seems more than enough
  4293. test $ac_count -gt 10 && break
  4294. done
  4295. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4296. esac
  4297. $ac_path_EGREP_found && break 3
  4298. done
  4299. done
  4300. done
  4301. IFS=$as_save_IFS
  4302. if test -z "$ac_cv_path_EGREP"; then
  4303. as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4304. fi
  4305. else
  4306. ac_cv_path_EGREP=$EGREP
  4307. fi
  4308. fi
  4309. fi
  4310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4311. $as_echo "$ac_cv_path_EGREP" >&6; }
  4312. EGREP="$ac_cv_path_EGREP"
  4313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4314. $as_echo_n "checking for ANSI C header files... " >&6; }
  4315. if test "${ac_cv_header_stdc+set}" = set; then :
  4316. $as_echo_n "(cached) " >&6
  4317. else
  4318. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4319. /* end confdefs.h. */
  4320. #include <stdlib.h>
  4321. #include <stdarg.h>
  4322. #include <string.h>
  4323. #include <float.h>
  4324. int
  4325. main ()
  4326. {
  4327. ;
  4328. return 0;
  4329. }
  4330. _ACEOF
  4331. if ac_fn_c_try_compile "$LINENO"; then :
  4332. ac_cv_header_stdc=yes
  4333. else
  4334. ac_cv_header_stdc=no
  4335. fi
  4336. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4337. if test $ac_cv_header_stdc = yes; then
  4338. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4339. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4340. /* end confdefs.h. */
  4341. #include <string.h>
  4342. _ACEOF
  4343. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4344. $EGREP "memchr" >/dev/null 2>&1; then :
  4345. else
  4346. ac_cv_header_stdc=no
  4347. fi
  4348. rm -f conftest*
  4349. fi
  4350. if test $ac_cv_header_stdc = yes; then
  4351. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4352. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4353. /* end confdefs.h. */
  4354. #include <stdlib.h>
  4355. _ACEOF
  4356. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4357. $EGREP "free" >/dev/null 2>&1; then :
  4358. else
  4359. ac_cv_header_stdc=no
  4360. fi
  4361. rm -f conftest*
  4362. fi
  4363. if test $ac_cv_header_stdc = yes; then
  4364. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4365. if test "$cross_compiling" = yes; then :
  4366. :
  4367. else
  4368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4369. /* end confdefs.h. */
  4370. #include <ctype.h>
  4371. #include <stdlib.h>
  4372. #if ((' ' & 0x0FF) == 0x020)
  4373. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4374. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4375. #else
  4376. # define ISLOWER(c) \
  4377. (('a' <= (c) && (c) <= 'i') \
  4378. || ('j' <= (c) && (c) <= 'r') \
  4379. || ('s' <= (c) && (c) <= 'z'))
  4380. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4381. #endif
  4382. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4383. int
  4384. main ()
  4385. {
  4386. int i;
  4387. for (i = 0; i < 256; i++)
  4388. if (XOR (islower (i), ISLOWER (i))
  4389. || toupper (i) != TOUPPER (i))
  4390. return 2;
  4391. return 0;
  4392. }
  4393. _ACEOF
  4394. if ac_fn_c_try_run "$LINENO"; then :
  4395. else
  4396. ac_cv_header_stdc=no
  4397. fi
  4398. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4399. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4400. fi
  4401. fi
  4402. fi
  4403. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4404. $as_echo "$ac_cv_header_stdc" >&6; }
  4405. if test $ac_cv_header_stdc = yes; then
  4406. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4407. fi
  4408. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4409. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4410. inttypes.h stdint.h unistd.h
  4411. do :
  4412. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4413. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4414. "
  4415. eval as_val=\$$as_ac_Header
  4416. if test "x$as_val" = x""yes; then :
  4417. cat >>confdefs.h <<_ACEOF
  4418. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4419. _ACEOF
  4420. fi
  4421. done
  4422. ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  4423. if test "x$ac_cv_header_minix_config_h" = x""yes; then :
  4424. MINIX=yes
  4425. else
  4426. MINIX=
  4427. fi
  4428. if test "$MINIX" = yes; then
  4429. $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
  4430. $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
  4431. $as_echo "#define _MINIX 1" >>confdefs.h
  4432. fi
  4433. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  4434. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  4435. if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
  4436. $as_echo_n "(cached) " >&6
  4437. else
  4438. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4439. /* end confdefs.h. */
  4440. # define __EXTENSIONS__ 1
  4441. $ac_includes_default
  4442. int
  4443. main ()
  4444. {
  4445. ;
  4446. return 0;
  4447. }
  4448. _ACEOF
  4449. if ac_fn_c_try_compile "$LINENO"; then :
  4450. ac_cv_safe_to_define___extensions__=yes
  4451. else
  4452. ac_cv_safe_to_define___extensions__=no
  4453. fi
  4454. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4455. fi
  4456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  4457. $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  4458. test $ac_cv_safe_to_define___extensions__ = yes &&
  4459. $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
  4460. $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
  4461. $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4462. $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  4463. $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
  4464. # Calculate toolexeclibdir
  4465. # Also toolexecdir, though it's only used in toolexeclibdir
  4466. case ${version_specific_libs} in
  4467. yes)
  4468. # Need the gcc compiler version to know where to install libraries
  4469. # and header files if --enable-version-specific-runtime-libs option
  4470. # is selected.
  4471. toolexecdir='$(libdir)/gcc/$(target_alias)'
  4472. toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
  4473. ;;
  4474. no)
  4475. if test -n "$with_cross_host" &&
  4476. test x"$with_cross_host" != x"no"; then
  4477. # Install a library built with a cross compiler in tooldir, not libdir.
  4478. toolexecdir='$(exec_prefix)/$(target_alias)'
  4479. toolexeclibdir='$(toolexecdir)/lib'
  4480. else
  4481. toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
  4482. toolexeclibdir='$(libdir)'
  4483. fi
  4484. multi_os_directory=`$CC -print-multi-os-directory`
  4485. case $multi_os_directory in
  4486. .) ;; # Avoid trailing /.
  4487. *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
  4488. esac
  4489. ;;
  4490. esac
  4491. # Create a spec file, so that compile/link tests don't fail
  4492. test -f libgfortran.spec || touch libgfortran.spec
  4493. ac_ext=c
  4494. ac_cpp='$CPP $CPPFLAGS'
  4495. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4496. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4497. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4498. # Check the compiler.
  4499. # The same as in boehm-gc and libstdc++. Have to borrow it from there.
  4500. # We must force CC to /not/ be precious variables; otherwise
  4501. # the wrong, non-multilib-adjusted value will be used in multilibs.
  4502. # As a side effect, we have to subst CFLAGS ourselves.
  4503. ac_ext=c
  4504. ac_cpp='$CPP $CPPFLAGS'
  4505. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4506. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4507. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4508. if test -n "$ac_tool_prefix"; then
  4509. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4510. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4512. $as_echo_n "checking for $ac_word... " >&6; }
  4513. if test "${ac_cv_prog_CC+set}" = set; then :
  4514. $as_echo_n "(cached) " >&6
  4515. else
  4516. if test -n "$CC"; then
  4517. ac_cv_prog_CC="$CC" # Let the user override the test.
  4518. else
  4519. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4520. for as_dir in $PATH
  4521. do
  4522. IFS=$as_save_IFS
  4523. test -z "$as_dir" && as_dir=.
  4524. for ac_exec_ext in '' $ac_executable_extensions; do
  4525. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4526. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4527. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4528. break 2
  4529. fi
  4530. done
  4531. done
  4532. IFS=$as_save_IFS
  4533. fi
  4534. fi
  4535. CC=$ac_cv_prog_CC
  4536. if test -n "$CC"; then
  4537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4538. $as_echo "$CC" >&6; }
  4539. else
  4540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4541. $as_echo "no" >&6; }
  4542. fi
  4543. fi
  4544. if test -z "$ac_cv_prog_CC"; then
  4545. ac_ct_CC=$CC
  4546. # Extract the first word of "gcc", so it can be a program name with args.
  4547. set dummy gcc; ac_word=$2
  4548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4549. $as_echo_n "checking for $ac_word... " >&6; }
  4550. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4551. $as_echo_n "(cached) " >&6
  4552. else
  4553. if test -n "$ac_ct_CC"; then
  4554. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4555. else
  4556. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4557. for as_dir in $PATH
  4558. do
  4559. IFS=$as_save_IFS
  4560. test -z "$as_dir" && as_dir=.
  4561. for ac_exec_ext in '' $ac_executable_extensions; do
  4562. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4563. ac_cv_prog_ac_ct_CC="gcc"
  4564. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4565. break 2
  4566. fi
  4567. done
  4568. done
  4569. IFS=$as_save_IFS
  4570. fi
  4571. fi
  4572. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4573. if test -n "$ac_ct_CC"; then
  4574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4575. $as_echo "$ac_ct_CC" >&6; }
  4576. else
  4577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4578. $as_echo "no" >&6; }
  4579. fi
  4580. if test "x$ac_ct_CC" = x; then
  4581. CC=""
  4582. else
  4583. case $cross_compiling:$ac_tool_warned in
  4584. yes:)
  4585. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4586. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4587. ac_tool_warned=yes ;;
  4588. esac
  4589. CC=$ac_ct_CC
  4590. fi
  4591. else
  4592. CC="$ac_cv_prog_CC"
  4593. fi
  4594. if test -z "$CC"; then
  4595. if test -n "$ac_tool_prefix"; then
  4596. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4597. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4599. $as_echo_n "checking for $ac_word... " >&6; }
  4600. if test "${ac_cv_prog_CC+set}" = set; then :
  4601. $as_echo_n "(cached) " >&6
  4602. else
  4603. if test -n "$CC"; then
  4604. ac_cv_prog_CC="$CC" # Let the user override the test.
  4605. else
  4606. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4607. for as_dir in $PATH
  4608. do
  4609. IFS=$as_save_IFS
  4610. test -z "$as_dir" && as_dir=.
  4611. for ac_exec_ext in '' $ac_executable_extensions; do
  4612. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4613. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4614. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4615. break 2
  4616. fi
  4617. done
  4618. done
  4619. IFS=$as_save_IFS
  4620. fi
  4621. fi
  4622. CC=$ac_cv_prog_CC
  4623. if test -n "$CC"; then
  4624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4625. $as_echo "$CC" >&6; }
  4626. else
  4627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4628. $as_echo "no" >&6; }
  4629. fi
  4630. fi
  4631. fi
  4632. if test -z "$CC"; then
  4633. # Extract the first word of "cc", so it can be a program name with args.
  4634. set dummy cc; ac_word=$2
  4635. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4636. $as_echo_n "checking for $ac_word... " >&6; }
  4637. if test "${ac_cv_prog_CC+set}" = set; then :
  4638. $as_echo_n "(cached) " >&6
  4639. else
  4640. if test -n "$CC"; then
  4641. ac_cv_prog_CC="$CC" # Let the user override the test.
  4642. else
  4643. ac_prog_rejected=no
  4644. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4645. for as_dir in $PATH
  4646. do
  4647. IFS=$as_save_IFS
  4648. test -z "$as_dir" && as_dir=.
  4649. for ac_exec_ext in '' $ac_executable_extensions; do
  4650. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4651. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4652. ac_prog_rejected=yes
  4653. continue
  4654. fi
  4655. ac_cv_prog_CC="cc"
  4656. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4657. break 2
  4658. fi
  4659. done
  4660. done
  4661. IFS=$as_save_IFS
  4662. if test $ac_prog_rejected = yes; then
  4663. # We found a bogon in the path, so make sure we never use it.
  4664. set dummy $ac_cv_prog_CC
  4665. shift
  4666. if test $# != 0; then
  4667. # We chose a different compiler from the bogus one.
  4668. # However, it has the same basename, so the bogon will be chosen
  4669. # first if we set CC to just the basename; use the full file name.
  4670. shift
  4671. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4672. fi
  4673. fi
  4674. fi
  4675. fi
  4676. CC=$ac_cv_prog_CC
  4677. if test -n "$CC"; then
  4678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4679. $as_echo "$CC" >&6; }
  4680. else
  4681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4682. $as_echo "no" >&6; }
  4683. fi
  4684. fi
  4685. if test -z "$CC"; then
  4686. if test -n "$ac_tool_prefix"; then
  4687. for ac_prog in cl.exe
  4688. do
  4689. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4690. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4692. $as_echo_n "checking for $ac_word... " >&6; }
  4693. if test "${ac_cv_prog_CC+set}" = set; then :
  4694. $as_echo_n "(cached) " >&6
  4695. else
  4696. if test -n "$CC"; then
  4697. ac_cv_prog_CC="$CC" # Let the user override the test.
  4698. else
  4699. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4700. for as_dir in $PATH
  4701. do
  4702. IFS=$as_save_IFS
  4703. test -z "$as_dir" && as_dir=.
  4704. for ac_exec_ext in '' $ac_executable_extensions; do
  4705. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4706. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4707. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4708. break 2
  4709. fi
  4710. done
  4711. done
  4712. IFS=$as_save_IFS
  4713. fi
  4714. fi
  4715. CC=$ac_cv_prog_CC
  4716. if test -n "$CC"; then
  4717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4718. $as_echo "$CC" >&6; }
  4719. else
  4720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4721. $as_echo "no" >&6; }
  4722. fi
  4723. test -n "$CC" && break
  4724. done
  4725. fi
  4726. if test -z "$CC"; then
  4727. ac_ct_CC=$CC
  4728. for ac_prog in cl.exe
  4729. do
  4730. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4731. set dummy $ac_prog; ac_word=$2
  4732. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4733. $as_echo_n "checking for $ac_word... " >&6; }
  4734. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4735. $as_echo_n "(cached) " >&6
  4736. else
  4737. if test -n "$ac_ct_CC"; then
  4738. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4739. else
  4740. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4741. for as_dir in $PATH
  4742. do
  4743. IFS=$as_save_IFS
  4744. test -z "$as_dir" && as_dir=.
  4745. for ac_exec_ext in '' $ac_executable_extensions; do
  4746. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4747. ac_cv_prog_ac_ct_CC="$ac_prog"
  4748. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4749. break 2
  4750. fi
  4751. done
  4752. done
  4753. IFS=$as_save_IFS
  4754. fi
  4755. fi
  4756. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4757. if test -n "$ac_ct_CC"; then
  4758. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4759. $as_echo "$ac_ct_CC" >&6; }
  4760. else
  4761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4762. $as_echo "no" >&6; }
  4763. fi
  4764. test -n "$ac_ct_CC" && break
  4765. done
  4766. if test "x$ac_ct_CC" = x; then
  4767. CC=""
  4768. else
  4769. case $cross_compiling:$ac_tool_warned in
  4770. yes:)
  4771. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4772. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4773. ac_tool_warned=yes ;;
  4774. esac
  4775. CC=$ac_ct_CC
  4776. fi
  4777. fi
  4778. fi
  4779. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4780. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4781. as_fn_error "no acceptable C compiler found in \$PATH
  4782. See \`config.log' for more details." "$LINENO" 5; }
  4783. # Provide some information about the compiler.
  4784. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4785. set X $ac_compile
  4786. ac_compiler=$2
  4787. for ac_option in --version -v -V -qversion; do
  4788. { { ac_try="$ac_compiler $ac_option >&5"
  4789. case "(($ac_try" in
  4790. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4791. *) ac_try_echo=$ac_try;;
  4792. esac
  4793. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4794. $as_echo "$ac_try_echo"; } >&5
  4795. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4796. ac_status=$?
  4797. if test -s conftest.err; then
  4798. sed '10a\
  4799. ... rest of stderr output deleted ...
  4800. 10q' conftest.err >conftest.er1
  4801. cat conftest.er1 >&5
  4802. rm -f conftest.er1 conftest.err
  4803. fi
  4804. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4805. test $ac_status = 0; }
  4806. done
  4807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4808. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4809. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  4810. $as_echo_n "(cached) " >&6
  4811. else
  4812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4813. /* end confdefs.h. */
  4814. int
  4815. main ()
  4816. {
  4817. #ifndef __GNUC__
  4818. choke me
  4819. #endif
  4820. ;
  4821. return 0;
  4822. }
  4823. _ACEOF
  4824. if ac_fn_c_try_compile "$LINENO"; then :
  4825. ac_compiler_gnu=yes
  4826. else
  4827. ac_compiler_gnu=no
  4828. fi
  4829. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4830. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4831. fi
  4832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4833. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4834. if test $ac_compiler_gnu = yes; then
  4835. GCC=yes
  4836. else
  4837. GCC=
  4838. fi
  4839. ac_test_CFLAGS=${CFLAGS+set}
  4840. ac_save_CFLAGS=$CFLAGS
  4841. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4842. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4843. if test "${ac_cv_prog_cc_g+set}" = set; then :
  4844. $as_echo_n "(cached) " >&6
  4845. else
  4846. ac_save_c_werror_flag=$ac_c_werror_flag
  4847. ac_c_werror_flag=yes
  4848. ac_cv_prog_cc_g=no
  4849. CFLAGS="-g"
  4850. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4851. /* end confdefs.h. */
  4852. int
  4853. main ()
  4854. {
  4855. ;
  4856. return 0;
  4857. }
  4858. _ACEOF
  4859. if ac_fn_c_try_compile "$LINENO"; then :
  4860. ac_cv_prog_cc_g=yes
  4861. else
  4862. CFLAGS=""
  4863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4864. /* end confdefs.h. */
  4865. int
  4866. main ()
  4867. {
  4868. ;
  4869. return 0;
  4870. }
  4871. _ACEOF
  4872. if ac_fn_c_try_compile "$LINENO"; then :
  4873. else
  4874. ac_c_werror_flag=$ac_save_c_werror_flag
  4875. CFLAGS="-g"
  4876. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4877. /* end confdefs.h. */
  4878. int
  4879. main ()
  4880. {
  4881. ;
  4882. return 0;
  4883. }
  4884. _ACEOF
  4885. if ac_fn_c_try_compile "$LINENO"; then :
  4886. ac_cv_prog_cc_g=yes
  4887. fi
  4888. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4889. fi
  4890. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4891. fi
  4892. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4893. ac_c_werror_flag=$ac_save_c_werror_flag
  4894. fi
  4895. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4896. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4897. if test "$ac_test_CFLAGS" = set; then
  4898. CFLAGS=$ac_save_CFLAGS
  4899. elif test $ac_cv_prog_cc_g = yes; then
  4900. if test "$GCC" = yes; then
  4901. CFLAGS="-g -O2"
  4902. else
  4903. CFLAGS="-g"
  4904. fi
  4905. else
  4906. if test "$GCC" = yes; then
  4907. CFLAGS="-O2"
  4908. else
  4909. CFLAGS=
  4910. fi
  4911. fi
  4912. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4913. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4914. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  4915. $as_echo_n "(cached) " >&6
  4916. else
  4917. ac_cv_prog_cc_c89=no
  4918. ac_save_CC=$CC
  4919. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4920. /* end confdefs.h. */
  4921. #include <stdarg.h>
  4922. #include <stdio.h>
  4923. #include <sys/types.h>
  4924. #include <sys/stat.h>
  4925. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4926. struct buf { int x; };
  4927. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4928. static char *e (p, i)
  4929. char **p;
  4930. int i;
  4931. {
  4932. return p[i];
  4933. }
  4934. static char *f (char * (*g) (char **, int), char **p, ...)
  4935. {
  4936. char *s;
  4937. va_list v;
  4938. va_start (v,p);
  4939. s = g (p, va_arg (v,int));
  4940. va_end (v);
  4941. return s;
  4942. }
  4943. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4944. function prototypes and stuff, but not '\xHH' hex character constants.
  4945. These don't provoke an error unfortunately, instead are silently treated
  4946. as 'x'. The following induces an error, until -std is added to get
  4947. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4948. array size at least. It's necessary to write '\x00'==0 to get something
  4949. that's true only with -std. */
  4950. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4951. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4952. inside strings and character constants. */
  4953. #define FOO(x) 'x'
  4954. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4955. int test (int i, double x);
  4956. struct s1 {int (*f) (int a);};
  4957. struct s2 {int (*f) (double a);};
  4958. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4959. int argc;
  4960. char **argv;
  4961. int
  4962. main ()
  4963. {
  4964. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4965. ;
  4966. return 0;
  4967. }
  4968. _ACEOF
  4969. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4970. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4971. do
  4972. CC="$ac_save_CC $ac_arg"
  4973. if ac_fn_c_try_compile "$LINENO"; then :
  4974. ac_cv_prog_cc_c89=$ac_arg
  4975. fi
  4976. rm -f core conftest.err conftest.$ac_objext
  4977. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4978. done
  4979. rm -f conftest.$ac_ext
  4980. CC=$ac_save_CC
  4981. fi
  4982. # AC_CACHE_VAL
  4983. case "x$ac_cv_prog_cc_c89" in
  4984. x)
  4985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4986. $as_echo "none needed" >&6; } ;;
  4987. xno)
  4988. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4989. $as_echo "unsupported" >&6; } ;;
  4990. *)
  4991. CC="$CC $ac_cv_prog_cc_c89"
  4992. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4993. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4994. esac
  4995. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4996. fi
  4997. ac_ext=c
  4998. ac_cpp='$CPP $CPPFLAGS'
  4999. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5000. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5001. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5002. depcc="$CC" am_compiler_list=
  5003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  5004. $as_echo_n "checking dependency style of $depcc... " >&6; }
  5005. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  5006. $as_echo_n "(cached) " >&6
  5007. else
  5008. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5009. # We make a subdir and do the tests there. Otherwise we can end up
  5010. # making bogus files that we don't know about and never remove. For
  5011. # instance it was reported that on HP-UX the gcc test will end up
  5012. # making a dummy file named `D' -- because `-MD' means `put the output
  5013. # in D'.
  5014. rm -rf conftest.dir
  5015. mkdir conftest.dir
  5016. # Copy depcomp to subdir because otherwise we won't find it if we're
  5017. # using a relative directory.
  5018. cp "$am_depcomp" conftest.dir
  5019. cd conftest.dir
  5020. # We will build objects and dependencies in a subdirectory because
  5021. # it helps to detect inapplicable dependency modes. For instance
  5022. # both Tru64's cc and ICC support -MD to output dependencies as a
  5023. # side effect of compilation, but ICC will put the dependencies in
  5024. # the current directory while Tru64 will put them in the object
  5025. # directory.
  5026. mkdir sub
  5027. am_cv_CC_dependencies_compiler_type=none
  5028. if test "$am_compiler_list" = ""; then
  5029. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5030. fi
  5031. am__universal=false
  5032. case " $depcc " in #(
  5033. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  5034. esac
  5035. for depmode in $am_compiler_list; do
  5036. # Setup a source with many dependencies, because some compilers
  5037. # like to wrap large dependency lists on column 80 (with \), and
  5038. # we should not choose a depcomp mode which is confused by this.
  5039. #
  5040. # We need to recreate these files for each test, as the compiler may
  5041. # overwrite some of them when testing with obscure command lines.
  5042. # This happens at least with the AIX C compiler.
  5043. : > sub/conftest.c
  5044. for i in 1 2 3 4 5 6; do
  5045. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5046. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5047. # Solaris 8's {/usr,}/bin/sh.
  5048. touch sub/conftst$i.h
  5049. done
  5050. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5051. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5052. # mode. It turns out that the SunPro C++ compiler does not properly
  5053. # handle `-M -o', and we need to detect this. Also, some Intel
  5054. # versions had trouble with output in subdirs
  5055. am__obj=sub/conftest.${OBJEXT-o}
  5056. am__minus_obj="-o $am__obj"
  5057. case $depmode in
  5058. gcc)
  5059. # This depmode causes a compiler race in universal mode.
  5060. test "$am__universal" = false || continue
  5061. ;;
  5062. nosideeffect)
  5063. # after this tag, mechanisms are not by side-effect, so they'll
  5064. # only be used when explicitly requested
  5065. if test "x$enable_dependency_tracking" = xyes; then
  5066. continue
  5067. else
  5068. break
  5069. fi
  5070. ;;
  5071. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  5072. # This compiler won't grok `-c -o', but also, the minuso test has
  5073. # not run yet. These depmodes are late enough in the game, and
  5074. # so weak that their functioning should not be impacted.
  5075. am__obj=conftest.${OBJEXT-o}
  5076. am__minus_obj=
  5077. ;;
  5078. none) break ;;
  5079. esac
  5080. if depmode=$depmode \
  5081. source=sub/conftest.c object=$am__obj \
  5082. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5083. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  5084. >/dev/null 2>conftest.err &&
  5085. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  5086. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5087. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  5088. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5089. # icc doesn't choke on unknown options, it will just issue warnings
  5090. # or remarks (even with -Werror). So we grep stderr for any message
  5091. # that says an option was ignored or not supported.
  5092. # When given -MP, icc 7.0 and 7.1 complain thusly:
  5093. # icc: Command line warning: ignoring option '-M'; no argument required
  5094. # The diagnosis changed in icc 8.0:
  5095. # icc: Command line remark: option '-MP' not supported
  5096. if (grep 'ignoring option' conftest.err ||
  5097. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5098. am_cv_CC_dependencies_compiler_type=$depmode
  5099. break
  5100. fi
  5101. fi
  5102. done
  5103. cd ..
  5104. rm -rf conftest.dir
  5105. else
  5106. am_cv_CC_dependencies_compiler_type=none
  5107. fi
  5108. fi
  5109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  5110. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5111. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5112. if
  5113. test "x$enable_dependency_tracking" != xno \
  5114. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5115. am__fastdepCC_TRUE=
  5116. am__fastdepCC_FALSE='#'
  5117. else
  5118. am__fastdepCC_TRUE='#'
  5119. am__fastdepCC_FALSE=
  5120. fi
  5121. if test "x$CC" != xcc; then
  5122. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  5123. $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  5124. else
  5125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  5126. $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  5127. fi
  5128. set dummy $CC; ac_cc=`$as_echo "$2" |
  5129. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  5130. if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
  5131. $as_echo_n "(cached) " >&6
  5132. else
  5133. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5134. /* end confdefs.h. */
  5135. int
  5136. main ()
  5137. {
  5138. ;
  5139. return 0;
  5140. }
  5141. _ACEOF
  5142. # Make sure it works both with $CC and with simple cc.
  5143. # We do the test twice because some compilers refuse to overwrite an
  5144. # existing .o file with -o, though they will create one.
  5145. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  5146. rm -f conftest2.*
  5147. if { { case "(($ac_try" in
  5148. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5149. *) ac_try_echo=$ac_try;;
  5150. esac
  5151. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5152. $as_echo "$ac_try_echo"; } >&5
  5153. (eval "$ac_try") 2>&5
  5154. ac_status=$?
  5155. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5156. test $ac_status = 0; } &&
  5157. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  5158. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5159. *) ac_try_echo=$ac_try;;
  5160. esac
  5161. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5162. $as_echo "$ac_try_echo"; } >&5
  5163. (eval "$ac_try") 2>&5
  5164. ac_status=$?
  5165. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5166. test $ac_status = 0; };
  5167. then
  5168. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  5169. if test "x$CC" != xcc; then
  5170. # Test first that cc exists at all.
  5171. if { ac_try='cc -c conftest.$ac_ext >&5'
  5172. { { case "(($ac_try" in
  5173. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5174. *) ac_try_echo=$ac_try;;
  5175. esac
  5176. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5177. $as_echo "$ac_try_echo"; } >&5
  5178. (eval "$ac_try") 2>&5
  5179. ac_status=$?
  5180. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5181. test $ac_status = 0; }; }; then
  5182. ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  5183. rm -f conftest2.*
  5184. if { { case "(($ac_try" in
  5185. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5186. *) ac_try_echo=$ac_try;;
  5187. esac
  5188. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5189. $as_echo "$ac_try_echo"; } >&5
  5190. (eval "$ac_try") 2>&5
  5191. ac_status=$?
  5192. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5193. test $ac_status = 0; } &&
  5194. test -f conftest2.$ac_objext && { { case "(($ac_try" in
  5195. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5196. *) ac_try_echo=$ac_try;;
  5197. esac
  5198. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5199. $as_echo "$ac_try_echo"; } >&5
  5200. (eval "$ac_try") 2>&5
  5201. ac_status=$?
  5202. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5203. test $ac_status = 0; };
  5204. then
  5205. # cc works too.
  5206. :
  5207. else
  5208. # cc exists but doesn't like -o.
  5209. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  5210. fi
  5211. fi
  5212. fi
  5213. else
  5214. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  5215. fi
  5216. rm -f core conftest*
  5217. fi
  5218. if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  5219. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5220. $as_echo "yes" >&6; }
  5221. else
  5222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5223. $as_echo "no" >&6; }
  5224. $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  5225. fi
  5226. # FIXME: we rely on the cache variable name because
  5227. # there is no other way.
  5228. set dummy $CC
  5229. am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  5230. eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  5231. if test "$am_t" != yes; then
  5232. # Losing compiler, so override with the script.
  5233. # FIXME: It is wrong to rewrite CC.
  5234. # But if we don't then we get into trouble of one sort or another.
  5235. # A longer-term fix would be to have automake use am__CC in this case,
  5236. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  5237. CC="$am_aux_dir/compile $CC"
  5238. fi
  5239. # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
  5240. if test "x$GCC" = "xyes"; then
  5241. AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
  5242. ## We like to use C11 and C99 routines when available. This makes
  5243. ## sure that
  5244. ## __STDC_VERSION__ is set such that libc includes make them available.
  5245. AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
  5246. ## Compile the following tests with the same system header contents
  5247. ## that we'll encounter when compiling our own source files.
  5248. CFLAGS="-std=gnu11 $CFLAGS"
  5249. fi
  5250. # Check for symbol versioning (copied from libssp).
  5251. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
  5252. $as_echo_n "checking whether symbol versioning is supported... " >&6; }
  5253. # Check whether --enable-symvers was given.
  5254. if test "${enable_symvers+set}" = set; then :
  5255. enableval=$enable_symvers; gfortran_use_symver=$enableval
  5256. else
  5257. gfortran_use_symver=yes
  5258. fi
  5259. if test "x$gfortran_use_symver" != xno; then
  5260. save_LDFLAGS="$LDFLAGS"
  5261. LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
  5262. cat > conftest.map <<EOF
  5263. FOO_1.0 {
  5264. global: *foo*; bar; local: *;
  5265. };
  5266. EOF
  5267. if test x$gcc_no_link = xyes; then
  5268. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  5269. fi
  5270. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5271. /* end confdefs.h. */
  5272. int foo;
  5273. int
  5274. main ()
  5275. {
  5276. ;
  5277. return 0;
  5278. }
  5279. _ACEOF
  5280. if ac_fn_c_try_link "$LINENO"; then :
  5281. gfortran_use_symver=gnu
  5282. else
  5283. gfortran_use_symver=no
  5284. fi
  5285. rm -f core conftest.err conftest.$ac_objext \
  5286. conftest$ac_exeext conftest.$ac_ext
  5287. if test x$gfortran_use_symver = xno; then
  5288. case "$target_os" in
  5289. solaris2*)
  5290. LDFLAGS="$save_LDFLAGS"
  5291. LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
  5292. # Sun ld cannot handle wildcards and treats all entries as undefined.
  5293. cat > conftest.map <<EOF
  5294. FOO_1.0 {
  5295. global: foo; local: *;
  5296. };
  5297. EOF
  5298. if test x$gcc_no_link = xyes; then
  5299. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  5300. fi
  5301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5302. /* end confdefs.h. */
  5303. int foo;
  5304. int
  5305. main ()
  5306. {
  5307. ;
  5308. return 0;
  5309. }
  5310. _ACEOF
  5311. if ac_fn_c_try_link "$LINENO"; then :
  5312. gfortran_use_symver=sun
  5313. else
  5314. gfortran_use_symver=no
  5315. fi
  5316. rm -f core conftest.err conftest.$ac_objext \
  5317. conftest$ac_exeext conftest.$ac_ext
  5318. ;;
  5319. esac
  5320. fi
  5321. LDFLAGS="$save_LDFLAGS"
  5322. fi
  5323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
  5324. $as_echo "$gfortran_use_symver" >&6; }
  5325. if test "x$gfortran_use_symver" != xno; then
  5326. LIBGFOR_USE_SYMVER_TRUE=
  5327. LIBGFOR_USE_SYMVER_FALSE='#'
  5328. else
  5329. LIBGFOR_USE_SYMVER_TRUE='#'
  5330. LIBGFOR_USE_SYMVER_FALSE=
  5331. fi
  5332. if test "x$gfortran_use_symver" = xgnu; then
  5333. LIBGFOR_USE_SYMVER_GNU_TRUE=
  5334. LIBGFOR_USE_SYMVER_GNU_FALSE='#'
  5335. else
  5336. LIBGFOR_USE_SYMVER_GNU_TRUE='#'
  5337. LIBGFOR_USE_SYMVER_GNU_FALSE=
  5338. fi
  5339. if test "x$gfortran_use_symver" = xsun; then
  5340. LIBGFOR_USE_SYMVER_SUN_TRUE=
  5341. LIBGFOR_USE_SYMVER_SUN_FALSE='#'
  5342. else
  5343. LIBGFOR_USE_SYMVER_SUN_TRUE='#'
  5344. LIBGFOR_USE_SYMVER_SUN_FALSE=
  5345. fi
  5346. # For GPU offloading, not everything in libfortran can be supported.
  5347. # Currently, the only target that has this problem is nvptx. The
  5348. # following is a (partial) list of features that are unsupportable on
  5349. # this particular target:
  5350. # * Constructors
  5351. # * alloca
  5352. # * C library support for I/O, with printf as the one notable exception
  5353. # * C library support for other features such as signal, environment
  5354. # variables, time functions
  5355. if test "x${target_cpu}" = xnvptx; then
  5356. LIBGFOR_MINIMAL_TRUE=
  5357. LIBGFOR_MINIMAL_FALSE='#'
  5358. else
  5359. LIBGFOR_MINIMAL_TRUE='#'
  5360. LIBGFOR_MINIMAL_FALSE=
  5361. fi
  5362. # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
  5363. # similarly to how libstdc++ does it
  5364. ac_test_CFLAGS="${CFLAGS+set}"
  5365. ac_save_CFLAGS="$CFLAGS"
  5366. # Check for -ffunction-sections -fdata-sections
  5367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
  5368. $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
  5369. CFLAGS='-Werror -ffunction-sections -fdata-sections'
  5370. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5371. /* end confdefs.h. */
  5372. int
  5373. main ()
  5374. {
  5375. int foo;
  5376. ;
  5377. return 0;
  5378. }
  5379. _ACEOF
  5380. if ac_fn_c_try_compile "$LINENO"; then :
  5381. ac_fdsections=yes
  5382. else
  5383. ac_fdsections=no
  5384. fi
  5385. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5386. if test "$ac_test_CFLAGS" = set; then
  5387. CFLAGS="$ac_save_CFLAGS"
  5388. else
  5389. # this is the suspicious part
  5390. CFLAGS=""
  5391. fi
  5392. if test x"$ac_fdsections" = x"yes"; then
  5393. SECTION_FLAGS='-ffunction-sections -fdata-sections'
  5394. fi
  5395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
  5396. $as_echo "$ac_fdsections" >&6; }
  5397. # Find other programs we need.
  5398. if test -n "$ac_tool_prefix"; then
  5399. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  5400. set dummy ${ac_tool_prefix}as; ac_word=$2
  5401. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5402. $as_echo_n "checking for $ac_word... " >&6; }
  5403. if test "${ac_cv_prog_AS+set}" = set; then :
  5404. $as_echo_n "(cached) " >&6
  5405. else
  5406. if test -n "$AS"; then
  5407. ac_cv_prog_AS="$AS" # Let the user override the test.
  5408. else
  5409. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5410. for as_dir in $PATH
  5411. do
  5412. IFS=$as_save_IFS
  5413. test -z "$as_dir" && as_dir=.
  5414. for ac_exec_ext in '' $ac_executable_extensions; do
  5415. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5416. ac_cv_prog_AS="${ac_tool_prefix}as"
  5417. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5418. break 2
  5419. fi
  5420. done
  5421. done
  5422. IFS=$as_save_IFS
  5423. fi
  5424. fi
  5425. AS=$ac_cv_prog_AS
  5426. if test -n "$AS"; then
  5427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  5428. $as_echo "$AS" >&6; }
  5429. else
  5430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5431. $as_echo "no" >&6; }
  5432. fi
  5433. fi
  5434. if test -z "$ac_cv_prog_AS"; then
  5435. ac_ct_AS=$AS
  5436. # Extract the first word of "as", so it can be a program name with args.
  5437. set dummy as; ac_word=$2
  5438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5439. $as_echo_n "checking for $ac_word... " >&6; }
  5440. if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
  5441. $as_echo_n "(cached) " >&6
  5442. else
  5443. if test -n "$ac_ct_AS"; then
  5444. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  5445. else
  5446. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5447. for as_dir in $PATH
  5448. do
  5449. IFS=$as_save_IFS
  5450. test -z "$as_dir" && as_dir=.
  5451. for ac_exec_ext in '' $ac_executable_extensions; do
  5452. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5453. ac_cv_prog_ac_ct_AS="as"
  5454. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5455. break 2
  5456. fi
  5457. done
  5458. done
  5459. IFS=$as_save_IFS
  5460. fi
  5461. fi
  5462. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  5463. if test -n "$ac_ct_AS"; then
  5464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  5465. $as_echo "$ac_ct_AS" >&6; }
  5466. else
  5467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5468. $as_echo "no" >&6; }
  5469. fi
  5470. if test "x$ac_ct_AS" = x; then
  5471. AS=""
  5472. else
  5473. case $cross_compiling:$ac_tool_warned in
  5474. yes:)
  5475. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5476. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5477. ac_tool_warned=yes ;;
  5478. esac
  5479. AS=$ac_ct_AS
  5480. fi
  5481. else
  5482. AS="$ac_cv_prog_AS"
  5483. fi
  5484. if test -n "$ac_tool_prefix"; then
  5485. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5486. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5488. $as_echo_n "checking for $ac_word... " >&6; }
  5489. if test "${ac_cv_prog_AR+set}" = set; then :
  5490. $as_echo_n "(cached) " >&6
  5491. else
  5492. if test -n "$AR"; then
  5493. ac_cv_prog_AR="$AR" # Let the user override the test.
  5494. else
  5495. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5496. for as_dir in $PATH
  5497. do
  5498. IFS=$as_save_IFS
  5499. test -z "$as_dir" && as_dir=.
  5500. for ac_exec_ext in '' $ac_executable_extensions; do
  5501. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5502. ac_cv_prog_AR="${ac_tool_prefix}ar"
  5503. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5504. break 2
  5505. fi
  5506. done
  5507. done
  5508. IFS=$as_save_IFS
  5509. fi
  5510. fi
  5511. AR=$ac_cv_prog_AR
  5512. if test -n "$AR"; then
  5513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5514. $as_echo "$AR" >&6; }
  5515. else
  5516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5517. $as_echo "no" >&6; }
  5518. fi
  5519. fi
  5520. if test -z "$ac_cv_prog_AR"; then
  5521. ac_ct_AR=$AR
  5522. # Extract the first word of "ar", so it can be a program name with args.
  5523. set dummy ar; ac_word=$2
  5524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5525. $as_echo_n "checking for $ac_word... " >&6; }
  5526. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  5527. $as_echo_n "(cached) " >&6
  5528. else
  5529. if test -n "$ac_ct_AR"; then
  5530. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5531. else
  5532. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5533. for as_dir in $PATH
  5534. do
  5535. IFS=$as_save_IFS
  5536. test -z "$as_dir" && as_dir=.
  5537. for ac_exec_ext in '' $ac_executable_extensions; do
  5538. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5539. ac_cv_prog_ac_ct_AR="ar"
  5540. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5541. break 2
  5542. fi
  5543. done
  5544. done
  5545. IFS=$as_save_IFS
  5546. fi
  5547. fi
  5548. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5549. if test -n "$ac_ct_AR"; then
  5550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5551. $as_echo "$ac_ct_AR" >&6; }
  5552. else
  5553. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5554. $as_echo "no" >&6; }
  5555. fi
  5556. if test "x$ac_ct_AR" = x; then
  5557. AR=""
  5558. else
  5559. case $cross_compiling:$ac_tool_warned in
  5560. yes:)
  5561. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5562. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5563. ac_tool_warned=yes ;;
  5564. esac
  5565. AR=$ac_ct_AR
  5566. fi
  5567. else
  5568. AR="$ac_cv_prog_AR"
  5569. fi
  5570. if test -n "$ac_tool_prefix"; then
  5571. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5572. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5574. $as_echo_n "checking for $ac_word... " >&6; }
  5575. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  5576. $as_echo_n "(cached) " >&6
  5577. else
  5578. if test -n "$RANLIB"; then
  5579. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5580. else
  5581. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5582. for as_dir in $PATH
  5583. do
  5584. IFS=$as_save_IFS
  5585. test -z "$as_dir" && as_dir=.
  5586. for ac_exec_ext in '' $ac_executable_extensions; do
  5587. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5588. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5589. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5590. break 2
  5591. fi
  5592. done
  5593. done
  5594. IFS=$as_save_IFS
  5595. fi
  5596. fi
  5597. RANLIB=$ac_cv_prog_RANLIB
  5598. if test -n "$RANLIB"; then
  5599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5600. $as_echo "$RANLIB" >&6; }
  5601. else
  5602. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5603. $as_echo "no" >&6; }
  5604. fi
  5605. fi
  5606. if test -z "$ac_cv_prog_RANLIB"; then
  5607. ac_ct_RANLIB=$RANLIB
  5608. # Extract the first word of "ranlib", so it can be a program name with args.
  5609. set dummy ranlib; ac_word=$2
  5610. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5611. $as_echo_n "checking for $ac_word... " >&6; }
  5612. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  5613. $as_echo_n "(cached) " >&6
  5614. else
  5615. if test -n "$ac_ct_RANLIB"; then
  5616. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5617. else
  5618. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5619. for as_dir in $PATH
  5620. do
  5621. IFS=$as_save_IFS
  5622. test -z "$as_dir" && as_dir=.
  5623. for ac_exec_ext in '' $ac_executable_extensions; do
  5624. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5625. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5626. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5627. break 2
  5628. fi
  5629. done
  5630. done
  5631. IFS=$as_save_IFS
  5632. fi
  5633. fi
  5634. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5635. if test -n "$ac_ct_RANLIB"; then
  5636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5637. $as_echo "$ac_ct_RANLIB" >&6; }
  5638. else
  5639. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5640. $as_echo "no" >&6; }
  5641. fi
  5642. if test "x$ac_ct_RANLIB" = x; then
  5643. RANLIB="ranlib-not-found-in-path-error"
  5644. else
  5645. case $cross_compiling:$ac_tool_warned in
  5646. yes:)
  5647. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5648. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5649. ac_tool_warned=yes ;;
  5650. esac
  5651. RANLIB=$ac_ct_RANLIB
  5652. fi
  5653. else
  5654. RANLIB="$ac_cv_prog_RANLIB"
  5655. fi
  5656. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  5657. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  5658. set x ${MAKE-make}
  5659. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  5660. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  5661. $as_echo_n "(cached) " >&6
  5662. else
  5663. cat >conftest.make <<\_ACEOF
  5664. SHELL = /bin/sh
  5665. all:
  5666. @echo '@@@%%%=$(MAKE)=@@@%%%'
  5667. _ACEOF
  5668. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  5669. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  5670. *@@@%%%=?*=@@@%%%*)
  5671. eval ac_cv_prog_make_${ac_make}_set=yes;;
  5672. *)
  5673. eval ac_cv_prog_make_${ac_make}_set=no;;
  5674. esac
  5675. rm -f conftest.make
  5676. fi
  5677. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  5678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5679. $as_echo "yes" >&6; }
  5680. SET_MAKE=
  5681. else
  5682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5683. $as_echo "no" >&6; }
  5684. SET_MAKE="MAKE=${MAKE-make}"
  5685. fi
  5686. # Configure libtool
  5687. #AC_MSG_NOTICE([====== Starting libtool configuration])
  5688. enable_dlopen=yes
  5689. case `pwd` in
  5690. *\ * | *\ *)
  5691. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  5692. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  5693. esac
  5694. macro_version='2.2.7a'
  5695. macro_revision='1.3134'
  5696. ltmain="$ac_aux_dir/ltmain.sh"
  5697. # Backslashify metacharacters that are still active within
  5698. # double-quoted strings.
  5699. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  5700. # Same as above, but do not quote variable references.
  5701. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  5702. # Sed substitution to delay expansion of an escaped shell variable in a
  5703. # double_quote_subst'ed string.
  5704. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5705. # Sed substitution to delay expansion of an escaped single quote.
  5706. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  5707. # Sed substitution to avoid accidental globbing in evaled expressions
  5708. no_glob_subst='s/\*/\\\*/g'
  5709. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5710. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  5711. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  5712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  5713. $as_echo_n "checking how to print strings... " >&6; }
  5714. # Test print first, because it will be a builtin if present.
  5715. if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  5716. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  5717. ECHO='print -r --'
  5718. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  5719. ECHO='printf %s\n'
  5720. else
  5721. # Use this function as a fallback that always works.
  5722. func_fallback_echo ()
  5723. {
  5724. eval 'cat <<_LTECHO_EOF
  5725. $1
  5726. _LTECHO_EOF'
  5727. }
  5728. ECHO='func_fallback_echo'
  5729. fi
  5730. # func_echo_all arg...
  5731. # Invoke $ECHO with all args, space-separated.
  5732. func_echo_all ()
  5733. {
  5734. $ECHO ""
  5735. }
  5736. case "$ECHO" in
  5737. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  5738. $as_echo "printf" >&6; } ;;
  5739. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  5740. $as_echo "print -r" >&6; } ;;
  5741. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  5742. $as_echo "cat" >&6; } ;;
  5743. esac
  5744. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  5745. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5746. if test "${ac_cv_path_SED+set}" = set; then :
  5747. $as_echo_n "(cached) " >&6
  5748. else
  5749. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5750. for ac_i in 1 2 3 4 5 6 7; do
  5751. ac_script="$ac_script$as_nl$ac_script"
  5752. done
  5753. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5754. { ac_script=; unset ac_script;}
  5755. if test -z "$SED"; then
  5756. ac_path_SED_found=false
  5757. # Loop through the user's path and test for each of PROGNAME-LIST
  5758. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5759. for as_dir in $PATH
  5760. do
  5761. IFS=$as_save_IFS
  5762. test -z "$as_dir" && as_dir=.
  5763. for ac_prog in sed gsed; do
  5764. for ac_exec_ext in '' $ac_executable_extensions; do
  5765. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5766. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5767. # Check for GNU ac_path_SED and select it if it is found.
  5768. # Check for GNU $ac_path_SED
  5769. case `"$ac_path_SED" --version 2>&1` in
  5770. *GNU*)
  5771. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5772. *)
  5773. ac_count=0
  5774. $as_echo_n 0123456789 >"conftest.in"
  5775. while :
  5776. do
  5777. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5778. mv "conftest.tmp" "conftest.in"
  5779. cp "conftest.in" "conftest.nl"
  5780. $as_echo '' >> "conftest.nl"
  5781. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5782. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5783. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5784. if test $ac_count -gt ${ac_path_SED_max-0}; then
  5785. # Best one so far, save it but keep looking for a better one
  5786. ac_cv_path_SED="$ac_path_SED"
  5787. ac_path_SED_max=$ac_count
  5788. fi
  5789. # 10*(2^10) chars as input seems more than enough
  5790. test $ac_count -gt 10 && break
  5791. done
  5792. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5793. esac
  5794. $ac_path_SED_found && break 3
  5795. done
  5796. done
  5797. done
  5798. IFS=$as_save_IFS
  5799. if test -z "$ac_cv_path_SED"; then
  5800. as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  5801. fi
  5802. else
  5803. ac_cv_path_SED=$SED
  5804. fi
  5805. fi
  5806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  5807. $as_echo "$ac_cv_path_SED" >&6; }
  5808. SED="$ac_cv_path_SED"
  5809. rm -f conftest.sed
  5810. test -z "$SED" && SED=sed
  5811. Xsed="$SED -e 1s/^X//"
  5812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  5813. $as_echo_n "checking for fgrep... " >&6; }
  5814. if test "${ac_cv_path_FGREP+set}" = set; then :
  5815. $as_echo_n "(cached) " >&6
  5816. else
  5817. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  5818. then ac_cv_path_FGREP="$GREP -F"
  5819. else
  5820. if test -z "$FGREP"; then
  5821. ac_path_FGREP_found=false
  5822. # Loop through the user's path and test for each of PROGNAME-LIST
  5823. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5824. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5825. do
  5826. IFS=$as_save_IFS
  5827. test -z "$as_dir" && as_dir=.
  5828. for ac_prog in fgrep; do
  5829. for ac_exec_ext in '' $ac_executable_extensions; do
  5830. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5831. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  5832. # Check for GNU ac_path_FGREP and select it if it is found.
  5833. # Check for GNU $ac_path_FGREP
  5834. case `"$ac_path_FGREP" --version 2>&1` in
  5835. *GNU*)
  5836. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5837. *)
  5838. ac_count=0
  5839. $as_echo_n 0123456789 >"conftest.in"
  5840. while :
  5841. do
  5842. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5843. mv "conftest.tmp" "conftest.in"
  5844. cp "conftest.in" "conftest.nl"
  5845. $as_echo 'FGREP' >> "conftest.nl"
  5846. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5847. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5848. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5849. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5850. # Best one so far, save it but keep looking for a better one
  5851. ac_cv_path_FGREP="$ac_path_FGREP"
  5852. ac_path_FGREP_max=$ac_count
  5853. fi
  5854. # 10*(2^10) chars as input seems more than enough
  5855. test $ac_count -gt 10 && break
  5856. done
  5857. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5858. esac
  5859. $ac_path_FGREP_found && break 3
  5860. done
  5861. done
  5862. done
  5863. IFS=$as_save_IFS
  5864. if test -z "$ac_cv_path_FGREP"; then
  5865. as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5866. fi
  5867. else
  5868. ac_cv_path_FGREP=$FGREP
  5869. fi
  5870. fi
  5871. fi
  5872. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  5873. $as_echo "$ac_cv_path_FGREP" >&6; }
  5874. FGREP="$ac_cv_path_FGREP"
  5875. test -z "$GREP" && GREP=grep
  5876. # Check whether --with-gnu-ld was given.
  5877. if test "${with_gnu_ld+set}" = set; then :
  5878. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5879. else
  5880. with_gnu_ld=no
  5881. fi
  5882. ac_prog=ld
  5883. if test "$GCC" = yes; then
  5884. # Check if gcc -print-prog-name=ld gives a path.
  5885. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  5886. $as_echo_n "checking for ld used by $CC... " >&6; }
  5887. case $host in
  5888. *-*-mingw*)
  5889. # gcc leaves a trailing carriage return which upsets mingw
  5890. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5891. *)
  5892. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5893. esac
  5894. case $ac_prog in
  5895. # Accept absolute paths.
  5896. [\\/]* | ?:[\\/]*)
  5897. re_direlt='/[^/][^/]*/\.\./'
  5898. # Canonicalize the pathname of ld
  5899. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5900. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5901. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5902. done
  5903. test -z "$LD" && LD="$ac_prog"
  5904. ;;
  5905. "")
  5906. # If it fails, then pretend we aren't using GCC.
  5907. ac_prog=ld
  5908. ;;
  5909. *)
  5910. # If it is relative, then search for the first ld in PATH.
  5911. with_gnu_ld=unknown
  5912. ;;
  5913. esac
  5914. elif test "$with_gnu_ld" = yes; then
  5915. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  5916. $as_echo_n "checking for GNU ld... " >&6; }
  5917. else
  5918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  5919. $as_echo_n "checking for non-GNU ld... " >&6; }
  5920. fi
  5921. if test "${lt_cv_path_LD+set}" = set; then :
  5922. $as_echo_n "(cached) " >&6
  5923. else
  5924. if test -z "$LD"; then
  5925. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5926. for ac_dir in $PATH; do
  5927. IFS="$lt_save_ifs"
  5928. test -z "$ac_dir" && ac_dir=.
  5929. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5930. lt_cv_path_LD="$ac_dir/$ac_prog"
  5931. # Check to see if the program is GNU ld. I'd rather use --version,
  5932. # but apparently some variants of GNU ld only accept -v.
  5933. # Break only if it was the GNU/non-GNU ld that we prefer.
  5934. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5935. *GNU* | *'with BFD'*)
  5936. test "$with_gnu_ld" != no && break
  5937. ;;
  5938. *)
  5939. test "$with_gnu_ld" != yes && break
  5940. ;;
  5941. esac
  5942. fi
  5943. done
  5944. IFS="$lt_save_ifs"
  5945. else
  5946. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5947. fi
  5948. fi
  5949. LD="$lt_cv_path_LD"
  5950. if test -n "$LD"; then
  5951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5952. $as_echo "$LD" >&6; }
  5953. else
  5954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5955. $as_echo "no" >&6; }
  5956. fi
  5957. test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  5958. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  5959. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5960. if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  5961. $as_echo_n "(cached) " >&6
  5962. else
  5963. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5964. case `$LD -v 2>&1 </dev/null` in
  5965. *GNU* | *'with BFD'*)
  5966. lt_cv_prog_gnu_ld=yes
  5967. ;;
  5968. *)
  5969. lt_cv_prog_gnu_ld=no
  5970. ;;
  5971. esac
  5972. fi
  5973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  5974. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5975. with_gnu_ld=$lt_cv_prog_gnu_ld
  5976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5977. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5978. if test "${lt_cv_path_NM+set}" = set; then :
  5979. $as_echo_n "(cached) " >&6
  5980. else
  5981. if test -n "$NM"; then
  5982. # Let the user override the test.
  5983. lt_cv_path_NM="$NM"
  5984. else
  5985. lt_nm_to_check="${ac_tool_prefix}nm"
  5986. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5987. lt_nm_to_check="$lt_nm_to_check nm"
  5988. fi
  5989. for lt_tmp_nm in $lt_nm_to_check; do
  5990. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5991. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5992. IFS="$lt_save_ifs"
  5993. test -z "$ac_dir" && ac_dir=.
  5994. tmp_nm="$ac_dir/$lt_tmp_nm"
  5995. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5996. # Check to see if the nm accepts a BSD-compat flag.
  5997. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5998. # nm: unknown option "B" ignored
  5999. # Tru64's nm complains that /dev/null is an invalid object file
  6000. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  6001. */dev/null* | *'Invalid file or object type'*)
  6002. lt_cv_path_NM="$tmp_nm -B"
  6003. break
  6004. ;;
  6005. *)
  6006. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  6007. */dev/null*)
  6008. lt_cv_path_NM="$tmp_nm -p"
  6009. break
  6010. ;;
  6011. *)
  6012. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  6013. continue # so that we can try to find one that supports BSD flags
  6014. ;;
  6015. esac
  6016. ;;
  6017. esac
  6018. fi
  6019. done
  6020. IFS="$lt_save_ifs"
  6021. done
  6022. : ${lt_cv_path_NM=no}
  6023. fi
  6024. fi
  6025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  6026. $as_echo "$lt_cv_path_NM" >&6; }
  6027. if test "$lt_cv_path_NM" != "no"; then
  6028. NM="$lt_cv_path_NM"
  6029. else
  6030. # Didn't find any BSD compatible name lister, look for dumpbin.
  6031. if test -n "$DUMPBIN"; then :
  6032. # Let the user override the test.
  6033. else
  6034. if test -n "$ac_tool_prefix"; then
  6035. for ac_prog in dumpbin "link -dump"
  6036. do
  6037. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6038. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6040. $as_echo_n "checking for $ac_word... " >&6; }
  6041. if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  6042. $as_echo_n "(cached) " >&6
  6043. else
  6044. if test -n "$DUMPBIN"; then
  6045. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  6046. else
  6047. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6048. for as_dir in $PATH
  6049. do
  6050. IFS=$as_save_IFS
  6051. test -z "$as_dir" && as_dir=.
  6052. for ac_exec_ext in '' $ac_executable_extensions; do
  6053. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6054. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  6055. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6056. break 2
  6057. fi
  6058. done
  6059. done
  6060. IFS=$as_save_IFS
  6061. fi
  6062. fi
  6063. DUMPBIN=$ac_cv_prog_DUMPBIN
  6064. if test -n "$DUMPBIN"; then
  6065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  6066. $as_echo "$DUMPBIN" >&6; }
  6067. else
  6068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6069. $as_echo "no" >&6; }
  6070. fi
  6071. test -n "$DUMPBIN" && break
  6072. done
  6073. fi
  6074. if test -z "$DUMPBIN"; then
  6075. ac_ct_DUMPBIN=$DUMPBIN
  6076. for ac_prog in dumpbin "link -dump"
  6077. do
  6078. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6079. set dummy $ac_prog; ac_word=$2
  6080. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6081. $as_echo_n "checking for $ac_word... " >&6; }
  6082. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  6083. $as_echo_n "(cached) " >&6
  6084. else
  6085. if test -n "$ac_ct_DUMPBIN"; then
  6086. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  6087. else
  6088. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6089. for as_dir in $PATH
  6090. do
  6091. IFS=$as_save_IFS
  6092. test -z "$as_dir" && as_dir=.
  6093. for ac_exec_ext in '' $ac_executable_extensions; do
  6094. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6095. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  6096. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6097. break 2
  6098. fi
  6099. done
  6100. done
  6101. IFS=$as_save_IFS
  6102. fi
  6103. fi
  6104. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  6105. if test -n "$ac_ct_DUMPBIN"; then
  6106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  6107. $as_echo "$ac_ct_DUMPBIN" >&6; }
  6108. else
  6109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6110. $as_echo "no" >&6; }
  6111. fi
  6112. test -n "$ac_ct_DUMPBIN" && break
  6113. done
  6114. if test "x$ac_ct_DUMPBIN" = x; then
  6115. DUMPBIN=":"
  6116. else
  6117. case $cross_compiling:$ac_tool_warned in
  6118. yes:)
  6119. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6120. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6121. ac_tool_warned=yes ;;
  6122. esac
  6123. DUMPBIN=$ac_ct_DUMPBIN
  6124. fi
  6125. fi
  6126. case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  6127. *COFF*)
  6128. DUMPBIN="$DUMPBIN -symbols"
  6129. ;;
  6130. *)
  6131. DUMPBIN=:
  6132. ;;
  6133. esac
  6134. fi
  6135. if test "$DUMPBIN" != ":"; then
  6136. NM="$DUMPBIN"
  6137. fi
  6138. fi
  6139. test -z "$NM" && NM=nm
  6140. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  6141. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  6142. if test "${lt_cv_nm_interface+set}" = set; then :
  6143. $as_echo_n "(cached) " >&6
  6144. else
  6145. lt_cv_nm_interface="BSD nm"
  6146. echo "int some_variable = 0;" > conftest.$ac_ext
  6147. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  6148. (eval "$ac_compile" 2>conftest.err)
  6149. cat conftest.err >&5
  6150. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  6151. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  6152. cat conftest.err >&5
  6153. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  6154. cat conftest.out >&5
  6155. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  6156. lt_cv_nm_interface="MS dumpbin"
  6157. fi
  6158. rm -f conftest*
  6159. fi
  6160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  6161. $as_echo "$lt_cv_nm_interface" >&6; }
  6162. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  6163. $as_echo_n "checking whether ln -s works... " >&6; }
  6164. LN_S=$as_ln_s
  6165. if test "$LN_S" = "ln -s"; then
  6166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6167. $as_echo "yes" >&6; }
  6168. else
  6169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  6170. $as_echo "no, using $LN_S" >&6; }
  6171. fi
  6172. # find the maximum length of command line arguments
  6173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  6174. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  6175. if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  6176. $as_echo_n "(cached) " >&6
  6177. else
  6178. i=0
  6179. teststring="ABCD"
  6180. case $build_os in
  6181. msdosdjgpp*)
  6182. # On DJGPP, this test can blow up pretty badly due to problems in libc
  6183. # (any single argument exceeding 2000 bytes causes a buffer overrun
  6184. # during glob expansion). Even if it were fixed, the result of this
  6185. # check would be larger than it should be.
  6186. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  6187. ;;
  6188. gnu*)
  6189. # Under GNU Hurd, this test is not required because there is
  6190. # no limit to the length of command line arguments.
  6191. # Libtool will interpret -1 as no limit whatsoever
  6192. lt_cv_sys_max_cmd_len=-1;
  6193. ;;
  6194. cygwin* | mingw* | cegcc*)
  6195. # On Win9x/ME, this test blows up -- it succeeds, but takes
  6196. # about 5 minutes as the teststring grows exponentially.
  6197. # Worse, since 9x/ME are not pre-emptively multitasking,
  6198. # you end up with a "frozen" computer, even though with patience
  6199. # the test eventually succeeds (with a max line length of 256k).
  6200. # Instead, let's just punt: use the minimum linelength reported by
  6201. # all of the supported platforms: 8192 (on NT/2K/XP).
  6202. lt_cv_sys_max_cmd_len=8192;
  6203. ;;
  6204. mint*)
  6205. # On MiNT this can take a long time and run out of memory.
  6206. lt_cv_sys_max_cmd_len=8192;
  6207. ;;
  6208. amigaos*)
  6209. # On AmigaOS with pdksh, this test takes hours, literally.
  6210. # So we just punt and use a minimum line length of 8192.
  6211. lt_cv_sys_max_cmd_len=8192;
  6212. ;;
  6213. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  6214. # This has been around since 386BSD, at least. Likely further.
  6215. if test -x /sbin/sysctl; then
  6216. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  6217. elif test -x /usr/sbin/sysctl; then
  6218. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  6219. else
  6220. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  6221. fi
  6222. # And add a safety zone
  6223. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6224. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6225. ;;
  6226. interix*)
  6227. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  6228. lt_cv_sys_max_cmd_len=196608
  6229. ;;
  6230. osf*)
  6231. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  6232. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  6233. # nice to cause kernel panics so lets avoid the loop below.
  6234. # First set a reasonable default.
  6235. lt_cv_sys_max_cmd_len=16384
  6236. #
  6237. if test -x /sbin/sysconfig; then
  6238. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  6239. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  6240. esac
  6241. fi
  6242. ;;
  6243. sco3.2v5*)
  6244. lt_cv_sys_max_cmd_len=102400
  6245. ;;
  6246. sysv5* | sco5v6* | sysv4.2uw2*)
  6247. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  6248. if test -n "$kargmax"; then
  6249. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  6250. else
  6251. lt_cv_sys_max_cmd_len=32768
  6252. fi
  6253. ;;
  6254. *)
  6255. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  6256. if test -n "$lt_cv_sys_max_cmd_len"; then
  6257. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6258. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6259. else
  6260. # Make teststring a little bigger before we do anything with it.
  6261. # a 1K string should be a reasonable start.
  6262. for i in 1 2 3 4 5 6 7 8 ; do
  6263. teststring=$teststring$teststring
  6264. done
  6265. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  6266. # If test is not a shell built-in, we'll probably end up computing a
  6267. # maximum length that is only half of the actual maximum length, but
  6268. # we can't tell.
  6269. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  6270. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  6271. test $i != 17 # 1/2 MB should be enough
  6272. do
  6273. i=`expr $i + 1`
  6274. teststring=$teststring$teststring
  6275. done
  6276. # Only check the string length outside the loop.
  6277. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  6278. teststring=
  6279. # Add a significant safety factor because C++ compilers can tack on
  6280. # massive amounts of additional arguments before passing them to the
  6281. # linker. It appears as though 1/2 is a usable value.
  6282. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  6283. fi
  6284. ;;
  6285. esac
  6286. fi
  6287. if test -n $lt_cv_sys_max_cmd_len ; then
  6288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  6289. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  6290. else
  6291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  6292. $as_echo "none" >&6; }
  6293. fi
  6294. max_cmd_len=$lt_cv_sys_max_cmd_len
  6295. : ${CP="cp -f"}
  6296. : ${MV="mv -f"}
  6297. : ${RM="rm -f"}
  6298. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  6299. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  6300. # Try some XSI features
  6301. xsi_shell=no
  6302. ( _lt_dummy="a/b/c"
  6303. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  6304. = c,a/b,, \
  6305. && eval 'test $(( 1 + 1 )) -eq 2 \
  6306. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  6307. && xsi_shell=yes
  6308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  6309. $as_echo "$xsi_shell" >&6; }
  6310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  6311. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  6312. lt_shell_append=no
  6313. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  6314. >/dev/null 2>&1 \
  6315. && lt_shell_append=yes
  6316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  6317. $as_echo "$lt_shell_append" >&6; }
  6318. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6319. lt_unset=unset
  6320. else
  6321. lt_unset=false
  6322. fi
  6323. # test EBCDIC or ASCII
  6324. case `echo X|tr X '\101'` in
  6325. A) # ASCII based system
  6326. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  6327. lt_SP2NL='tr \040 \012'
  6328. lt_NL2SP='tr \015\012 \040\040'
  6329. ;;
  6330. *) # EBCDIC based system
  6331. lt_SP2NL='tr \100 \n'
  6332. lt_NL2SP='tr \r\n \100\100'
  6333. ;;
  6334. esac
  6335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  6336. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  6337. if test "${lt_cv_ld_reload_flag+set}" = set; then :
  6338. $as_echo_n "(cached) " >&6
  6339. else
  6340. lt_cv_ld_reload_flag='-r'
  6341. fi
  6342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  6343. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  6344. reload_flag=$lt_cv_ld_reload_flag
  6345. case $reload_flag in
  6346. "" | " "*) ;;
  6347. *) reload_flag=" $reload_flag" ;;
  6348. esac
  6349. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6350. case $host_os in
  6351. darwin*)
  6352. if test "$GCC" = yes; then
  6353. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  6354. else
  6355. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  6356. fi
  6357. ;;
  6358. esac
  6359. if test -n "$ac_tool_prefix"; then
  6360. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  6361. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  6362. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6363. $as_echo_n "checking for $ac_word... " >&6; }
  6364. if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  6365. $as_echo_n "(cached) " >&6
  6366. else
  6367. if test -n "$OBJDUMP"; then
  6368. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  6369. else
  6370. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6371. for as_dir in $PATH
  6372. do
  6373. IFS=$as_save_IFS
  6374. test -z "$as_dir" && as_dir=.
  6375. for ac_exec_ext in '' $ac_executable_extensions; do
  6376. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6377. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  6378. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6379. break 2
  6380. fi
  6381. done
  6382. done
  6383. IFS=$as_save_IFS
  6384. fi
  6385. fi
  6386. OBJDUMP=$ac_cv_prog_OBJDUMP
  6387. if test -n "$OBJDUMP"; then
  6388. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  6389. $as_echo "$OBJDUMP" >&6; }
  6390. else
  6391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6392. $as_echo "no" >&6; }
  6393. fi
  6394. fi
  6395. if test -z "$ac_cv_prog_OBJDUMP"; then
  6396. ac_ct_OBJDUMP=$OBJDUMP
  6397. # Extract the first word of "objdump", so it can be a program name with args.
  6398. set dummy objdump; ac_word=$2
  6399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6400. $as_echo_n "checking for $ac_word... " >&6; }
  6401. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  6402. $as_echo_n "(cached) " >&6
  6403. else
  6404. if test -n "$ac_ct_OBJDUMP"; then
  6405. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  6406. else
  6407. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6408. for as_dir in $PATH
  6409. do
  6410. IFS=$as_save_IFS
  6411. test -z "$as_dir" && as_dir=.
  6412. for ac_exec_ext in '' $ac_executable_extensions; do
  6413. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6414. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  6415. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6416. break 2
  6417. fi
  6418. done
  6419. done
  6420. IFS=$as_save_IFS
  6421. fi
  6422. fi
  6423. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  6424. if test -n "$ac_ct_OBJDUMP"; then
  6425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  6426. $as_echo "$ac_ct_OBJDUMP" >&6; }
  6427. else
  6428. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6429. $as_echo "no" >&6; }
  6430. fi
  6431. if test "x$ac_ct_OBJDUMP" = x; then
  6432. OBJDUMP="false"
  6433. else
  6434. case $cross_compiling:$ac_tool_warned in
  6435. yes:)
  6436. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6437. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6438. ac_tool_warned=yes ;;
  6439. esac
  6440. OBJDUMP=$ac_ct_OBJDUMP
  6441. fi
  6442. else
  6443. OBJDUMP="$ac_cv_prog_OBJDUMP"
  6444. fi
  6445. test -z "$OBJDUMP" && OBJDUMP=objdump
  6446. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  6447. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  6448. if test "${lt_cv_deplibs_check_method+set}" = set; then :
  6449. $as_echo_n "(cached) " >&6
  6450. else
  6451. lt_cv_file_magic_cmd='$MAGIC_CMD'
  6452. lt_cv_file_magic_test_file=
  6453. lt_cv_deplibs_check_method='unknown'
  6454. # Need to set the preceding variable on all platforms that support
  6455. # interlibrary dependencies.
  6456. # 'none' -- dependencies not supported.
  6457. # `unknown' -- same as none, but documents that we really don't know.
  6458. # 'pass_all' -- all dependencies passed with no checks.
  6459. # 'test_compile' -- check by making test program.
  6460. # 'file_magic [[regex]]' -- check by looking for files in library path
  6461. # which responds to the $file_magic_cmd with a given extended regex.
  6462. # If you have `file' or equivalent on your system and you're not sure
  6463. # whether `pass_all' will *always* work, you probably want this one.
  6464. case $host_os in
  6465. aix[4-9]*)
  6466. lt_cv_deplibs_check_method=pass_all
  6467. ;;
  6468. beos*)
  6469. lt_cv_deplibs_check_method=pass_all
  6470. ;;
  6471. bsdi[45]*)
  6472. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  6473. lt_cv_file_magic_cmd='/usr/bin/file -L'
  6474. lt_cv_file_magic_test_file=/shlib/libc.so
  6475. ;;
  6476. cygwin*)
  6477. # func_win32_libid is a shell function defined in ltmain.sh
  6478. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6479. lt_cv_file_magic_cmd='func_win32_libid'
  6480. ;;
  6481. mingw* | pw32*)
  6482. # Base MSYS/MinGW do not provide the 'file' command needed by
  6483. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  6484. # unless we find 'file', for example because we are cross-compiling.
  6485. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  6486. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  6487. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  6488. lt_cv_file_magic_cmd='func_win32_libid'
  6489. else
  6490. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  6491. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6492. fi
  6493. ;;
  6494. cegcc*)
  6495. # use the weaker test based on 'objdump'. See mingw*.
  6496. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  6497. lt_cv_file_magic_cmd='$OBJDUMP -f'
  6498. ;;
  6499. darwin* | rhapsody*)
  6500. lt_cv_deplibs_check_method=pass_all
  6501. ;;
  6502. freebsd* | dragonfly*)
  6503. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6504. case $host_cpu in
  6505. i*86 )
  6506. # Not sure whether the presence of OpenBSD here was a mistake.
  6507. # Let's accept both of them until this is cleared up.
  6508. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  6509. lt_cv_file_magic_cmd=/usr/bin/file
  6510. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  6511. ;;
  6512. esac
  6513. else
  6514. lt_cv_deplibs_check_method=pass_all
  6515. fi
  6516. ;;
  6517. gnu*)
  6518. lt_cv_deplibs_check_method=pass_all
  6519. ;;
  6520. haiku*)
  6521. lt_cv_deplibs_check_method=pass_all
  6522. ;;
  6523. hpux10.20* | hpux11*)
  6524. lt_cv_file_magic_cmd=/usr/bin/file
  6525. case $host_cpu in
  6526. ia64*)
  6527. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  6528. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  6529. ;;
  6530. hppa*64*)
  6531. 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]'
  6532. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  6533. ;;
  6534. *)
  6535. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  6536. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  6537. ;;
  6538. esac
  6539. ;;
  6540. interix[3-9]*)
  6541. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  6542. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  6543. ;;
  6544. irix5* | irix6* | nonstopux*)
  6545. case $LD in
  6546. *-32|*"-32 ") libmagic=32-bit;;
  6547. *-n32|*"-n32 ") libmagic=N32;;
  6548. *-64|*"-64 ") libmagic=64-bit;;
  6549. *) libmagic=never-match;;
  6550. esac
  6551. lt_cv_deplibs_check_method=pass_all
  6552. ;;
  6553. # This must be Linux ELF.
  6554. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  6555. lt_cv_deplibs_check_method=pass_all
  6556. ;;
  6557. netbsd*)
  6558. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  6559. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6560. else
  6561. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  6562. fi
  6563. ;;
  6564. newos6*)
  6565. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  6566. lt_cv_file_magic_cmd=/usr/bin/file
  6567. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  6568. ;;
  6569. *nto* | *qnx*)
  6570. lt_cv_deplibs_check_method=pass_all
  6571. ;;
  6572. openbsd*)
  6573. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6574. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  6575. else
  6576. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  6577. fi
  6578. ;;
  6579. osf3* | osf4* | osf5*)
  6580. lt_cv_deplibs_check_method=pass_all
  6581. ;;
  6582. rdos*)
  6583. lt_cv_deplibs_check_method=pass_all
  6584. ;;
  6585. solaris*)
  6586. lt_cv_deplibs_check_method=pass_all
  6587. ;;
  6588. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  6589. lt_cv_deplibs_check_method=pass_all
  6590. ;;
  6591. sysv4 | sysv4.3*)
  6592. case $host_vendor in
  6593. motorola)
  6594. 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]'
  6595. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  6596. ;;
  6597. ncr)
  6598. lt_cv_deplibs_check_method=pass_all
  6599. ;;
  6600. sequent)
  6601. lt_cv_file_magic_cmd='/bin/file'
  6602. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  6603. ;;
  6604. sni)
  6605. lt_cv_file_magic_cmd='/bin/file'
  6606. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  6607. lt_cv_file_magic_test_file=/lib/libc.so
  6608. ;;
  6609. siemens)
  6610. lt_cv_deplibs_check_method=pass_all
  6611. ;;
  6612. pc)
  6613. lt_cv_deplibs_check_method=pass_all
  6614. ;;
  6615. esac
  6616. ;;
  6617. tpf*)
  6618. lt_cv_deplibs_check_method=pass_all
  6619. ;;
  6620. esac
  6621. fi
  6622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  6623. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  6624. file_magic_cmd=$lt_cv_file_magic_cmd
  6625. deplibs_check_method=$lt_cv_deplibs_check_method
  6626. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  6627. if test -n "$ac_tool_prefix"; then
  6628. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  6629. set dummy ${ac_tool_prefix}ar; ac_word=$2
  6630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6631. $as_echo_n "checking for $ac_word... " >&6; }
  6632. if test "${ac_cv_prog_AR+set}" = set; then :
  6633. $as_echo_n "(cached) " >&6
  6634. else
  6635. if test -n "$AR"; then
  6636. ac_cv_prog_AR="$AR" # Let the user override the test.
  6637. else
  6638. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6639. for as_dir in $PATH
  6640. do
  6641. IFS=$as_save_IFS
  6642. test -z "$as_dir" && as_dir=.
  6643. for ac_exec_ext in '' $ac_executable_extensions; do
  6644. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6645. ac_cv_prog_AR="${ac_tool_prefix}ar"
  6646. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6647. break 2
  6648. fi
  6649. done
  6650. done
  6651. IFS=$as_save_IFS
  6652. fi
  6653. fi
  6654. AR=$ac_cv_prog_AR
  6655. if test -n "$AR"; then
  6656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6657. $as_echo "$AR" >&6; }
  6658. else
  6659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6660. $as_echo "no" >&6; }
  6661. fi
  6662. fi
  6663. if test -z "$ac_cv_prog_AR"; then
  6664. ac_ct_AR=$AR
  6665. # Extract the first word of "ar", so it can be a program name with args.
  6666. set dummy ar; ac_word=$2
  6667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6668. $as_echo_n "checking for $ac_word... " >&6; }
  6669. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  6670. $as_echo_n "(cached) " >&6
  6671. else
  6672. if test -n "$ac_ct_AR"; then
  6673. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6674. else
  6675. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6676. for as_dir in $PATH
  6677. do
  6678. IFS=$as_save_IFS
  6679. test -z "$as_dir" && as_dir=.
  6680. for ac_exec_ext in '' $ac_executable_extensions; do
  6681. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6682. ac_cv_prog_ac_ct_AR="ar"
  6683. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6684. break 2
  6685. fi
  6686. done
  6687. done
  6688. IFS=$as_save_IFS
  6689. fi
  6690. fi
  6691. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6692. if test -n "$ac_ct_AR"; then
  6693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6694. $as_echo "$ac_ct_AR" >&6; }
  6695. else
  6696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6697. $as_echo "no" >&6; }
  6698. fi
  6699. if test "x$ac_ct_AR" = x; then
  6700. AR="false"
  6701. else
  6702. case $cross_compiling:$ac_tool_warned in
  6703. yes:)
  6704. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6705. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6706. ac_tool_warned=yes ;;
  6707. esac
  6708. AR=$ac_ct_AR
  6709. fi
  6710. else
  6711. AR="$ac_cv_prog_AR"
  6712. fi
  6713. test -z "$AR" && AR=ar
  6714. test -z "$AR_FLAGS" && AR_FLAGS=cru
  6715. if test -n "$ac_tool_prefix"; then
  6716. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6717. set dummy ${ac_tool_prefix}strip; ac_word=$2
  6718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6719. $as_echo_n "checking for $ac_word... " >&6; }
  6720. if test "${ac_cv_prog_STRIP+set}" = set; then :
  6721. $as_echo_n "(cached) " >&6
  6722. else
  6723. if test -n "$STRIP"; then
  6724. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6725. else
  6726. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6727. for as_dir in $PATH
  6728. do
  6729. IFS=$as_save_IFS
  6730. test -z "$as_dir" && as_dir=.
  6731. for ac_exec_ext in '' $ac_executable_extensions; do
  6732. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6733. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6734. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6735. break 2
  6736. fi
  6737. done
  6738. done
  6739. IFS=$as_save_IFS
  6740. fi
  6741. fi
  6742. STRIP=$ac_cv_prog_STRIP
  6743. if test -n "$STRIP"; then
  6744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6745. $as_echo "$STRIP" >&6; }
  6746. else
  6747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6748. $as_echo "no" >&6; }
  6749. fi
  6750. fi
  6751. if test -z "$ac_cv_prog_STRIP"; then
  6752. ac_ct_STRIP=$STRIP
  6753. # Extract the first word of "strip", so it can be a program name with args.
  6754. set dummy strip; ac_word=$2
  6755. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6756. $as_echo_n "checking for $ac_word... " >&6; }
  6757. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  6758. $as_echo_n "(cached) " >&6
  6759. else
  6760. if test -n "$ac_ct_STRIP"; then
  6761. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6762. else
  6763. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6764. for as_dir in $PATH
  6765. do
  6766. IFS=$as_save_IFS
  6767. test -z "$as_dir" && as_dir=.
  6768. for ac_exec_ext in '' $ac_executable_extensions; do
  6769. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6770. ac_cv_prog_ac_ct_STRIP="strip"
  6771. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6772. break 2
  6773. fi
  6774. done
  6775. done
  6776. IFS=$as_save_IFS
  6777. fi
  6778. fi
  6779. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6780. if test -n "$ac_ct_STRIP"; then
  6781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6782. $as_echo "$ac_ct_STRIP" >&6; }
  6783. else
  6784. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6785. $as_echo "no" >&6; }
  6786. fi
  6787. if test "x$ac_ct_STRIP" = x; then
  6788. STRIP=":"
  6789. else
  6790. case $cross_compiling:$ac_tool_warned in
  6791. yes:)
  6792. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6793. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6794. ac_tool_warned=yes ;;
  6795. esac
  6796. STRIP=$ac_ct_STRIP
  6797. fi
  6798. else
  6799. STRIP="$ac_cv_prog_STRIP"
  6800. fi
  6801. test -z "$STRIP" && STRIP=:
  6802. if test -n "$ac_tool_prefix"; then
  6803. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6804. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6805. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6806. $as_echo_n "checking for $ac_word... " >&6; }
  6807. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  6808. $as_echo_n "(cached) " >&6
  6809. else
  6810. if test -n "$RANLIB"; then
  6811. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6812. else
  6813. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6814. for as_dir in $PATH
  6815. do
  6816. IFS=$as_save_IFS
  6817. test -z "$as_dir" && as_dir=.
  6818. for ac_exec_ext in '' $ac_executable_extensions; do
  6819. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6820. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6821. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6822. break 2
  6823. fi
  6824. done
  6825. done
  6826. IFS=$as_save_IFS
  6827. fi
  6828. fi
  6829. RANLIB=$ac_cv_prog_RANLIB
  6830. if test -n "$RANLIB"; then
  6831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6832. $as_echo "$RANLIB" >&6; }
  6833. else
  6834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6835. $as_echo "no" >&6; }
  6836. fi
  6837. fi
  6838. if test -z "$ac_cv_prog_RANLIB"; then
  6839. ac_ct_RANLIB=$RANLIB
  6840. # Extract the first word of "ranlib", so it can be a program name with args.
  6841. set dummy ranlib; ac_word=$2
  6842. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6843. $as_echo_n "checking for $ac_word... " >&6; }
  6844. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  6845. $as_echo_n "(cached) " >&6
  6846. else
  6847. if test -n "$ac_ct_RANLIB"; then
  6848. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6849. else
  6850. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6851. for as_dir in $PATH
  6852. do
  6853. IFS=$as_save_IFS
  6854. test -z "$as_dir" && as_dir=.
  6855. for ac_exec_ext in '' $ac_executable_extensions; do
  6856. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6857. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6858. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6859. break 2
  6860. fi
  6861. done
  6862. done
  6863. IFS=$as_save_IFS
  6864. fi
  6865. fi
  6866. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6867. if test -n "$ac_ct_RANLIB"; then
  6868. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6869. $as_echo "$ac_ct_RANLIB" >&6; }
  6870. else
  6871. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6872. $as_echo "no" >&6; }
  6873. fi
  6874. if test "x$ac_ct_RANLIB" = x; then
  6875. RANLIB=":"
  6876. else
  6877. case $cross_compiling:$ac_tool_warned in
  6878. yes:)
  6879. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6880. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6881. ac_tool_warned=yes ;;
  6882. esac
  6883. RANLIB=$ac_ct_RANLIB
  6884. fi
  6885. else
  6886. RANLIB="$ac_cv_prog_RANLIB"
  6887. fi
  6888. test -z "$RANLIB" && RANLIB=:
  6889. # Determine commands to create old-style static archives.
  6890. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6891. old_postinstall_cmds='chmod 644 $oldlib'
  6892. old_postuninstall_cmds=
  6893. if test -n "$RANLIB"; then
  6894. case $host_os in
  6895. openbsd*)
  6896. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6897. ;;
  6898. *)
  6899. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6900. ;;
  6901. esac
  6902. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6903. fi
  6904. case $host_os in
  6905. darwin*)
  6906. lock_old_archive_extraction=yes ;;
  6907. *)
  6908. lock_old_archive_extraction=no ;;
  6909. esac
  6910. # If no C compiler was specified, use CC.
  6911. LTCC=${LTCC-"$CC"}
  6912. # If no C compiler flags were specified, use CFLAGS.
  6913. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6914. # Allow CC to be a program name with arguments.
  6915. compiler=$CC
  6916. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6917. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6918. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6919. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  6920. $as_echo_n "(cached) " >&6
  6921. else
  6922. # These are sane defaults that work on at least a few old systems.
  6923. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6924. # Character class describing NM global symbol codes.
  6925. symcode='[BCDEGRST]'
  6926. # Regexp to match symbols that can be accessed directly from C.
  6927. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6928. # Define system-specific variables.
  6929. case $host_os in
  6930. aix*)
  6931. symcode='[BCDT]'
  6932. ;;
  6933. cygwin* | mingw* | pw32* | cegcc*)
  6934. symcode='[ABCDGISTW]'
  6935. ;;
  6936. hpux*)
  6937. if test "$host_cpu" = ia64; then
  6938. symcode='[ABCDEGRST]'
  6939. fi
  6940. ;;
  6941. irix* | nonstopux*)
  6942. symcode='[BCDEGRST]'
  6943. ;;
  6944. osf*)
  6945. symcode='[BCDEGQRST]'
  6946. ;;
  6947. solaris*)
  6948. symcode='[BDRT]'
  6949. ;;
  6950. sco3.2v5*)
  6951. symcode='[DT]'
  6952. ;;
  6953. sysv4.2uw2*)
  6954. symcode='[DT]'
  6955. ;;
  6956. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6957. symcode='[ABDT]'
  6958. ;;
  6959. sysv4)
  6960. symcode='[DFNSTU]'
  6961. ;;
  6962. esac
  6963. # If we're using GNU nm, then use its standard symbol codes.
  6964. case `$NM -V 2>&1` in
  6965. *GNU* | *'with BFD'*)
  6966. symcode='[ABCDGIRSTW]' ;;
  6967. esac
  6968. # Transform an extracted symbol line into a proper C declaration.
  6969. # Some systems (esp. on ia64) link data and code symbols differently,
  6970. # so use this general approach.
  6971. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6972. # Transform an extracted symbol line into symbol name and symbol address
  6973. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  6974. 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'"
  6975. # Handle CRLF in mingw tool chain
  6976. opt_cr=
  6977. case $build_os in
  6978. mingw*)
  6979. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6980. ;;
  6981. esac
  6982. # Try without a prefix underscore, then with it.
  6983. for ac_symprfx in "" "_"; do
  6984. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6985. symxfrm="\\1 $ac_symprfx\\2 \\2"
  6986. # Write the raw and C identifiers.
  6987. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6988. # Fake it for dumpbin and say T for any non-static function
  6989. # and D for any global variable.
  6990. # Also find C++ and __fastcall symbols from MSVC++,
  6991. # which start with @ or ?.
  6992. lt_cv_sys_global_symbol_pipe="$AWK '"\
  6993. " {last_section=section; section=\$ 3};"\
  6994. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6995. " \$ 0!~/External *\|/{next};"\
  6996. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6997. " {if(hide[section]) next};"\
  6998. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6999. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  7000. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  7001. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  7002. " ' prfx=^$ac_symprfx"
  7003. else
  7004. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  7005. fi
  7006. # Check to see that the pipe works correctly.
  7007. pipe_works=no
  7008. rm -f conftest*
  7009. cat > conftest.$ac_ext <<_LT_EOF
  7010. #ifdef __cplusplus
  7011. extern "C" {
  7012. #endif
  7013. char nm_test_var;
  7014. void nm_test_func(void);
  7015. void nm_test_func(void){}
  7016. #ifdef __cplusplus
  7017. }
  7018. #endif
  7019. int main(){nm_test_var='a';nm_test_func();return(0);}
  7020. _LT_EOF
  7021. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7022. (eval $ac_compile) 2>&5
  7023. ac_status=$?
  7024. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7025. test $ac_status = 0; }; then
  7026. # Now try to grab the symbols.
  7027. nlist=conftest.nm
  7028. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  7029. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  7030. ac_status=$?
  7031. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7032. test $ac_status = 0; } && test -s "$nlist"; then
  7033. # Try sorting and uniquifying the output.
  7034. if sort "$nlist" | uniq > "$nlist"T; then
  7035. mv -f "$nlist"T "$nlist"
  7036. else
  7037. rm -f "$nlist"T
  7038. fi
  7039. # Make sure that we snagged all the symbols we need.
  7040. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  7041. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  7042. cat <<_LT_EOF > conftest.$ac_ext
  7043. #ifdef __cplusplus
  7044. extern "C" {
  7045. #endif
  7046. _LT_EOF
  7047. # Now generate the symbol file.
  7048. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  7049. cat <<_LT_EOF >> conftest.$ac_ext
  7050. /* The mapping between symbol names and symbols. */
  7051. const struct {
  7052. const char *name;
  7053. void *address;
  7054. }
  7055. lt__PROGRAM__LTX_preloaded_symbols[] =
  7056. {
  7057. { "@PROGRAM@", (void *) 0 },
  7058. _LT_EOF
  7059. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  7060. cat <<\_LT_EOF >> conftest.$ac_ext
  7061. {0, (void *) 0}
  7062. };
  7063. /* This works around a problem in FreeBSD linker */
  7064. #ifdef FREEBSD_WORKAROUND
  7065. static const void *lt_preloaded_setup() {
  7066. return lt__PROGRAM__LTX_preloaded_symbols;
  7067. }
  7068. #endif
  7069. #ifdef __cplusplus
  7070. }
  7071. #endif
  7072. _LT_EOF
  7073. # Now try linking the two files.
  7074. mv conftest.$ac_objext conftstm.$ac_objext
  7075. lt_save_LIBS="$LIBS"
  7076. lt_save_CFLAGS="$CFLAGS"
  7077. LIBS="conftstm.$ac_objext"
  7078. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  7079. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  7080. (eval $ac_link) 2>&5
  7081. ac_status=$?
  7082. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7083. test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  7084. pipe_works=yes
  7085. fi
  7086. LIBS="$lt_save_LIBS"
  7087. CFLAGS="$lt_save_CFLAGS"
  7088. else
  7089. echo "cannot find nm_test_func in $nlist" >&5
  7090. fi
  7091. else
  7092. echo "cannot find nm_test_var in $nlist" >&5
  7093. fi
  7094. else
  7095. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  7096. fi
  7097. else
  7098. echo "$progname: failed program was:" >&5
  7099. cat conftest.$ac_ext >&5
  7100. fi
  7101. rm -rf conftest* conftst*
  7102. # Do not use the global_symbol_pipe unless it works.
  7103. if test "$pipe_works" = yes; then
  7104. break
  7105. else
  7106. lt_cv_sys_global_symbol_pipe=
  7107. fi
  7108. done
  7109. fi
  7110. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  7111. lt_cv_sys_global_symbol_to_cdecl=
  7112. fi
  7113. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  7114. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  7115. $as_echo "failed" >&6; }
  7116. else
  7117. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  7118. $as_echo "ok" >&6; }
  7119. fi
  7120. # Check whether --enable-libtool-lock was given.
  7121. if test "${enable_libtool_lock+set}" = set; then :
  7122. enableval=$enable_libtool_lock;
  7123. fi
  7124. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  7125. # Some flags need to be propagated to the compiler or linker for good
  7126. # libtool support.
  7127. case $host in
  7128. ia64-*-hpux*)
  7129. # Find out which ABI we are using.
  7130. echo 'int i;' > conftest.$ac_ext
  7131. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7132. (eval $ac_compile) 2>&5
  7133. ac_status=$?
  7134. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7135. test $ac_status = 0; }; then
  7136. case `/usr/bin/file conftest.$ac_objext` in
  7137. *ELF-32*)
  7138. HPUX_IA64_MODE="32"
  7139. ;;
  7140. *ELF-64*)
  7141. HPUX_IA64_MODE="64"
  7142. ;;
  7143. esac
  7144. fi
  7145. rm -rf conftest*
  7146. ;;
  7147. *-*-irix6*)
  7148. # Find out which ABI we are using.
  7149. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  7150. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7151. (eval $ac_compile) 2>&5
  7152. ac_status=$?
  7153. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7154. test $ac_status = 0; }; then
  7155. if test "$lt_cv_prog_gnu_ld" = yes; then
  7156. case `/usr/bin/file conftest.$ac_objext` in
  7157. *32-bit*)
  7158. LD="${LD-ld} -melf32bsmip"
  7159. ;;
  7160. *N32*)
  7161. LD="${LD-ld} -melf32bmipn32"
  7162. ;;
  7163. *64-bit*)
  7164. LD="${LD-ld} -melf64bmip"
  7165. ;;
  7166. esac
  7167. else
  7168. case `/usr/bin/file conftest.$ac_objext` in
  7169. *32-bit*)
  7170. LD="${LD-ld} -32"
  7171. ;;
  7172. *N32*)
  7173. LD="${LD-ld} -n32"
  7174. ;;
  7175. *64-bit*)
  7176. LD="${LD-ld} -64"
  7177. ;;
  7178. esac
  7179. fi
  7180. fi
  7181. rm -rf conftest*
  7182. ;;
  7183. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  7184. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  7185. # Find out which ABI we are using.
  7186. echo 'int i;' > conftest.$ac_ext
  7187. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7188. (eval $ac_compile) 2>&5
  7189. ac_status=$?
  7190. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7191. test $ac_status = 0; }; then
  7192. case `/usr/bin/file conftest.o` in
  7193. *32-bit*)
  7194. case $host in
  7195. x86_64-*kfreebsd*-gnu)
  7196. LD="${LD-ld} -m elf_i386_fbsd"
  7197. ;;
  7198. x86_64-*linux*)
  7199. case `/usr/bin/file conftest.o` in
  7200. *x86-64*)
  7201. LD="${LD-ld} -m elf32_x86_64"
  7202. ;;
  7203. *)
  7204. LD="${LD-ld} -m elf_i386"
  7205. ;;
  7206. esac
  7207. ;;
  7208. powerpc64le-*linux*)
  7209. LD="${LD-ld} -m elf32lppclinux"
  7210. ;;
  7211. powerpc64-*linux*)
  7212. LD="${LD-ld} -m elf32ppclinux"
  7213. ;;
  7214. s390x-*linux*)
  7215. LD="${LD-ld} -m elf_s390"
  7216. ;;
  7217. sparc64-*linux*)
  7218. LD="${LD-ld} -m elf32_sparc"
  7219. ;;
  7220. esac
  7221. ;;
  7222. *64-bit*)
  7223. case $host in
  7224. x86_64-*kfreebsd*-gnu)
  7225. LD="${LD-ld} -m elf_x86_64_fbsd"
  7226. ;;
  7227. x86_64-*linux*)
  7228. LD="${LD-ld} -m elf_x86_64"
  7229. ;;
  7230. powerpcle-*linux*)
  7231. LD="${LD-ld} -m elf64lppc"
  7232. ;;
  7233. powerpc-*linux*)
  7234. LD="${LD-ld} -m elf64ppc"
  7235. ;;
  7236. s390*-*linux*|s390*-*tpf*)
  7237. LD="${LD-ld} -m elf64_s390"
  7238. ;;
  7239. sparc*-*linux*)
  7240. LD="${LD-ld} -m elf64_sparc"
  7241. ;;
  7242. esac
  7243. ;;
  7244. esac
  7245. fi
  7246. rm -rf conftest*
  7247. ;;
  7248. *-*-sco3.2v5*)
  7249. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  7250. SAVE_CFLAGS="$CFLAGS"
  7251. CFLAGS="$CFLAGS -belf"
  7252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  7253. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  7254. if test "${lt_cv_cc_needs_belf+set}" = set; then :
  7255. $as_echo_n "(cached) " >&6
  7256. else
  7257. ac_ext=c
  7258. ac_cpp='$CPP $CPPFLAGS'
  7259. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7260. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7261. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7262. if test x$gcc_no_link = xyes; then
  7263. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  7264. fi
  7265. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7266. /* end confdefs.h. */
  7267. int
  7268. main ()
  7269. {
  7270. ;
  7271. return 0;
  7272. }
  7273. _ACEOF
  7274. if ac_fn_c_try_link "$LINENO"; then :
  7275. lt_cv_cc_needs_belf=yes
  7276. else
  7277. lt_cv_cc_needs_belf=no
  7278. fi
  7279. rm -f core conftest.err conftest.$ac_objext \
  7280. conftest$ac_exeext conftest.$ac_ext
  7281. ac_ext=c
  7282. ac_cpp='$CPP $CPPFLAGS'
  7283. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7284. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7285. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7286. fi
  7287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  7288. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  7289. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  7290. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  7291. CFLAGS="$SAVE_CFLAGS"
  7292. fi
  7293. ;;
  7294. sparc*-*solaris*)
  7295. # Find out which ABI we are using.
  7296. echo 'int i;' > conftest.$ac_ext
  7297. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  7298. (eval $ac_compile) 2>&5
  7299. ac_status=$?
  7300. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7301. test $ac_status = 0; }; then
  7302. case `/usr/bin/file conftest.o` in
  7303. *64-bit*)
  7304. case $lt_cv_prog_gnu_ld in
  7305. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  7306. *)
  7307. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  7308. LD="${LD-ld} -64"
  7309. fi
  7310. ;;
  7311. esac
  7312. ;;
  7313. esac
  7314. fi
  7315. rm -rf conftest*
  7316. ;;
  7317. esac
  7318. need_locks="$enable_libtool_lock"
  7319. case $host_os in
  7320. rhapsody* | darwin*)
  7321. if test -n "$ac_tool_prefix"; then
  7322. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7323. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7324. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7325. $as_echo_n "checking for $ac_word... " >&6; }
  7326. if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  7327. $as_echo_n "(cached) " >&6
  7328. else
  7329. if test -n "$DSYMUTIL"; then
  7330. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7331. else
  7332. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7333. for as_dir in $PATH
  7334. do
  7335. IFS=$as_save_IFS
  7336. test -z "$as_dir" && as_dir=.
  7337. for ac_exec_ext in '' $ac_executable_extensions; do
  7338. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7339. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7340. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7341. break 2
  7342. fi
  7343. done
  7344. done
  7345. IFS=$as_save_IFS
  7346. fi
  7347. fi
  7348. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7349. if test -n "$DSYMUTIL"; then
  7350. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  7351. $as_echo "$DSYMUTIL" >&6; }
  7352. else
  7353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7354. $as_echo "no" >&6; }
  7355. fi
  7356. fi
  7357. if test -z "$ac_cv_prog_DSYMUTIL"; then
  7358. ac_ct_DSYMUTIL=$DSYMUTIL
  7359. # Extract the first word of "dsymutil", so it can be a program name with args.
  7360. set dummy dsymutil; ac_word=$2
  7361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7362. $as_echo_n "checking for $ac_word... " >&6; }
  7363. if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  7364. $as_echo_n "(cached) " >&6
  7365. else
  7366. if test -n "$ac_ct_DSYMUTIL"; then
  7367. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7368. else
  7369. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7370. for as_dir in $PATH
  7371. do
  7372. IFS=$as_save_IFS
  7373. test -z "$as_dir" && as_dir=.
  7374. for ac_exec_ext in '' $ac_executable_extensions; do
  7375. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7376. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7377. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7378. break 2
  7379. fi
  7380. done
  7381. done
  7382. IFS=$as_save_IFS
  7383. fi
  7384. fi
  7385. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7386. if test -n "$ac_ct_DSYMUTIL"; then
  7387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  7388. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7389. else
  7390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7391. $as_echo "no" >&6; }
  7392. fi
  7393. if test "x$ac_ct_DSYMUTIL" = x; then
  7394. DSYMUTIL=":"
  7395. else
  7396. case $cross_compiling:$ac_tool_warned in
  7397. yes:)
  7398. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7399. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7400. ac_tool_warned=yes ;;
  7401. esac
  7402. DSYMUTIL=$ac_ct_DSYMUTIL
  7403. fi
  7404. else
  7405. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7406. fi
  7407. if test -n "$ac_tool_prefix"; then
  7408. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7409. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7411. $as_echo_n "checking for $ac_word... " >&6; }
  7412. if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  7413. $as_echo_n "(cached) " >&6
  7414. else
  7415. if test -n "$NMEDIT"; then
  7416. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7417. else
  7418. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7419. for as_dir in $PATH
  7420. do
  7421. IFS=$as_save_IFS
  7422. test -z "$as_dir" && as_dir=.
  7423. for ac_exec_ext in '' $ac_executable_extensions; do
  7424. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7425. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7426. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7427. break 2
  7428. fi
  7429. done
  7430. done
  7431. IFS=$as_save_IFS
  7432. fi
  7433. fi
  7434. NMEDIT=$ac_cv_prog_NMEDIT
  7435. if test -n "$NMEDIT"; then
  7436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  7437. $as_echo "$NMEDIT" >&6; }
  7438. else
  7439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7440. $as_echo "no" >&6; }
  7441. fi
  7442. fi
  7443. if test -z "$ac_cv_prog_NMEDIT"; then
  7444. ac_ct_NMEDIT=$NMEDIT
  7445. # Extract the first word of "nmedit", so it can be a program name with args.
  7446. set dummy nmedit; ac_word=$2
  7447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7448. $as_echo_n "checking for $ac_word... " >&6; }
  7449. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  7450. $as_echo_n "(cached) " >&6
  7451. else
  7452. if test -n "$ac_ct_NMEDIT"; then
  7453. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7454. else
  7455. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7456. for as_dir in $PATH
  7457. do
  7458. IFS=$as_save_IFS
  7459. test -z "$as_dir" && as_dir=.
  7460. for ac_exec_ext in '' $ac_executable_extensions; do
  7461. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7462. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7463. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7464. break 2
  7465. fi
  7466. done
  7467. done
  7468. IFS=$as_save_IFS
  7469. fi
  7470. fi
  7471. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7472. if test -n "$ac_ct_NMEDIT"; then
  7473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  7474. $as_echo "$ac_ct_NMEDIT" >&6; }
  7475. else
  7476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7477. $as_echo "no" >&6; }
  7478. fi
  7479. if test "x$ac_ct_NMEDIT" = x; then
  7480. NMEDIT=":"
  7481. else
  7482. case $cross_compiling:$ac_tool_warned in
  7483. yes:)
  7484. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7485. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7486. ac_tool_warned=yes ;;
  7487. esac
  7488. NMEDIT=$ac_ct_NMEDIT
  7489. fi
  7490. else
  7491. NMEDIT="$ac_cv_prog_NMEDIT"
  7492. fi
  7493. if test -n "$ac_tool_prefix"; then
  7494. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  7495. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  7496. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7497. $as_echo_n "checking for $ac_word... " >&6; }
  7498. if test "${ac_cv_prog_LIPO+set}" = set; then :
  7499. $as_echo_n "(cached) " >&6
  7500. else
  7501. if test -n "$LIPO"; then
  7502. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7503. else
  7504. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7505. for as_dir in $PATH
  7506. do
  7507. IFS=$as_save_IFS
  7508. test -z "$as_dir" && as_dir=.
  7509. for ac_exec_ext in '' $ac_executable_extensions; do
  7510. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7511. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7512. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7513. break 2
  7514. fi
  7515. done
  7516. done
  7517. IFS=$as_save_IFS
  7518. fi
  7519. fi
  7520. LIPO=$ac_cv_prog_LIPO
  7521. if test -n "$LIPO"; then
  7522. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7523. $as_echo "$LIPO" >&6; }
  7524. else
  7525. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7526. $as_echo "no" >&6; }
  7527. fi
  7528. fi
  7529. if test -z "$ac_cv_prog_LIPO"; then
  7530. ac_ct_LIPO=$LIPO
  7531. # Extract the first word of "lipo", so it can be a program name with args.
  7532. set dummy lipo; ac_word=$2
  7533. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7534. $as_echo_n "checking for $ac_word... " >&6; }
  7535. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  7536. $as_echo_n "(cached) " >&6
  7537. else
  7538. if test -n "$ac_ct_LIPO"; then
  7539. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7540. else
  7541. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7542. for as_dir in $PATH
  7543. do
  7544. IFS=$as_save_IFS
  7545. test -z "$as_dir" && as_dir=.
  7546. for ac_exec_ext in '' $ac_executable_extensions; do
  7547. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7548. ac_cv_prog_ac_ct_LIPO="lipo"
  7549. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7550. break 2
  7551. fi
  7552. done
  7553. done
  7554. IFS=$as_save_IFS
  7555. fi
  7556. fi
  7557. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7558. if test -n "$ac_ct_LIPO"; then
  7559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7560. $as_echo "$ac_ct_LIPO" >&6; }
  7561. else
  7562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7563. $as_echo "no" >&6; }
  7564. fi
  7565. if test "x$ac_ct_LIPO" = x; then
  7566. LIPO=":"
  7567. else
  7568. case $cross_compiling:$ac_tool_warned in
  7569. yes:)
  7570. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7571. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7572. ac_tool_warned=yes ;;
  7573. esac
  7574. LIPO=$ac_ct_LIPO
  7575. fi
  7576. else
  7577. LIPO="$ac_cv_prog_LIPO"
  7578. fi
  7579. if test -n "$ac_tool_prefix"; then
  7580. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7581. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7583. $as_echo_n "checking for $ac_word... " >&6; }
  7584. if test "${ac_cv_prog_OTOOL+set}" = set; then :
  7585. $as_echo_n "(cached) " >&6
  7586. else
  7587. if test -n "$OTOOL"; then
  7588. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7589. else
  7590. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7591. for as_dir in $PATH
  7592. do
  7593. IFS=$as_save_IFS
  7594. test -z "$as_dir" && as_dir=.
  7595. for ac_exec_ext in '' $ac_executable_extensions; do
  7596. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7597. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7598. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7599. break 2
  7600. fi
  7601. done
  7602. done
  7603. IFS=$as_save_IFS
  7604. fi
  7605. fi
  7606. OTOOL=$ac_cv_prog_OTOOL
  7607. if test -n "$OTOOL"; then
  7608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7609. $as_echo "$OTOOL" >&6; }
  7610. else
  7611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7612. $as_echo "no" >&6; }
  7613. fi
  7614. fi
  7615. if test -z "$ac_cv_prog_OTOOL"; then
  7616. ac_ct_OTOOL=$OTOOL
  7617. # Extract the first word of "otool", so it can be a program name with args.
  7618. set dummy otool; ac_word=$2
  7619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7620. $as_echo_n "checking for $ac_word... " >&6; }
  7621. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  7622. $as_echo_n "(cached) " >&6
  7623. else
  7624. if test -n "$ac_ct_OTOOL"; then
  7625. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7626. else
  7627. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7628. for as_dir in $PATH
  7629. do
  7630. IFS=$as_save_IFS
  7631. test -z "$as_dir" && as_dir=.
  7632. for ac_exec_ext in '' $ac_executable_extensions; do
  7633. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7634. ac_cv_prog_ac_ct_OTOOL="otool"
  7635. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7636. break 2
  7637. fi
  7638. done
  7639. done
  7640. IFS=$as_save_IFS
  7641. fi
  7642. fi
  7643. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7644. if test -n "$ac_ct_OTOOL"; then
  7645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7646. $as_echo "$ac_ct_OTOOL" >&6; }
  7647. else
  7648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7649. $as_echo "no" >&6; }
  7650. fi
  7651. if test "x$ac_ct_OTOOL" = x; then
  7652. OTOOL=":"
  7653. else
  7654. case $cross_compiling:$ac_tool_warned in
  7655. yes:)
  7656. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7657. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7658. ac_tool_warned=yes ;;
  7659. esac
  7660. OTOOL=$ac_ct_OTOOL
  7661. fi
  7662. else
  7663. OTOOL="$ac_cv_prog_OTOOL"
  7664. fi
  7665. if test -n "$ac_tool_prefix"; then
  7666. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7667. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7668. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7669. $as_echo_n "checking for $ac_word... " >&6; }
  7670. if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  7671. $as_echo_n "(cached) " >&6
  7672. else
  7673. if test -n "$OTOOL64"; then
  7674. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7675. else
  7676. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7677. for as_dir in $PATH
  7678. do
  7679. IFS=$as_save_IFS
  7680. test -z "$as_dir" && as_dir=.
  7681. for ac_exec_ext in '' $ac_executable_extensions; do
  7682. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7683. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7684. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7685. break 2
  7686. fi
  7687. done
  7688. done
  7689. IFS=$as_save_IFS
  7690. fi
  7691. fi
  7692. OTOOL64=$ac_cv_prog_OTOOL64
  7693. if test -n "$OTOOL64"; then
  7694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7695. $as_echo "$OTOOL64" >&6; }
  7696. else
  7697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7698. $as_echo "no" >&6; }
  7699. fi
  7700. fi
  7701. if test -z "$ac_cv_prog_OTOOL64"; then
  7702. ac_ct_OTOOL64=$OTOOL64
  7703. # Extract the first word of "otool64", so it can be a program name with args.
  7704. set dummy otool64; ac_word=$2
  7705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7706. $as_echo_n "checking for $ac_word... " >&6; }
  7707. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  7708. $as_echo_n "(cached) " >&6
  7709. else
  7710. if test -n "$ac_ct_OTOOL64"; then
  7711. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7712. else
  7713. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7714. for as_dir in $PATH
  7715. do
  7716. IFS=$as_save_IFS
  7717. test -z "$as_dir" && as_dir=.
  7718. for ac_exec_ext in '' $ac_executable_extensions; do
  7719. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7720. ac_cv_prog_ac_ct_OTOOL64="otool64"
  7721. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7722. break 2
  7723. fi
  7724. done
  7725. done
  7726. IFS=$as_save_IFS
  7727. fi
  7728. fi
  7729. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7730. if test -n "$ac_ct_OTOOL64"; then
  7731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7732. $as_echo "$ac_ct_OTOOL64" >&6; }
  7733. else
  7734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7735. $as_echo "no" >&6; }
  7736. fi
  7737. if test "x$ac_ct_OTOOL64" = x; then
  7738. OTOOL64=":"
  7739. else
  7740. case $cross_compiling:$ac_tool_warned in
  7741. yes:)
  7742. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7743. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7744. ac_tool_warned=yes ;;
  7745. esac
  7746. OTOOL64=$ac_ct_OTOOL64
  7747. fi
  7748. else
  7749. OTOOL64="$ac_cv_prog_OTOOL64"
  7750. fi
  7751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7752. $as_echo_n "checking for -single_module linker flag... " >&6; }
  7753. if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  7754. $as_echo_n "(cached) " >&6
  7755. else
  7756. lt_cv_apple_cc_single_mod=no
  7757. if test -z "${LT_MULTI_MODULE}"; then
  7758. # By default we will add the -single_module flag. You can override
  7759. # by either setting the environment variable LT_MULTI_MODULE
  7760. # non-empty at configure time, or by adding -multi_module to the
  7761. # link flags.
  7762. rm -rf libconftest.dylib*
  7763. echo "int foo(void){return 1;}" > conftest.c
  7764. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7765. -dynamiclib -Wl,-single_module conftest.c" >&5
  7766. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7767. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7768. _lt_result=$?
  7769. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7770. lt_cv_apple_cc_single_mod=yes
  7771. else
  7772. cat conftest.err >&5
  7773. fi
  7774. rm -rf libconftest.dylib*
  7775. rm -f conftest.*
  7776. fi
  7777. fi
  7778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7779. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7781. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7782. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  7783. $as_echo_n "(cached) " >&6
  7784. else
  7785. lt_cv_ld_exported_symbols_list=no
  7786. save_LDFLAGS=$LDFLAGS
  7787. echo "_main" > conftest.sym
  7788. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7789. if test x$gcc_no_link = xyes; then
  7790. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  7791. fi
  7792. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7793. /* end confdefs.h. */
  7794. int
  7795. main ()
  7796. {
  7797. ;
  7798. return 0;
  7799. }
  7800. _ACEOF
  7801. if ac_fn_c_try_link "$LINENO"; then :
  7802. lt_cv_ld_exported_symbols_list=yes
  7803. else
  7804. lt_cv_ld_exported_symbols_list=no
  7805. fi
  7806. rm -f core conftest.err conftest.$ac_objext \
  7807. conftest$ac_exeext conftest.$ac_ext
  7808. LDFLAGS="$save_LDFLAGS"
  7809. fi
  7810. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7811. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7813. $as_echo_n "checking for -force_load linker flag... " >&6; }
  7814. if test "${lt_cv_ld_force_load+set}" = set; then :
  7815. $as_echo_n "(cached) " >&6
  7816. else
  7817. lt_cv_ld_force_load=no
  7818. cat > conftest.c << _LT_EOF
  7819. int forced_loaded() { return 2;}
  7820. _LT_EOF
  7821. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7822. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7823. echo "$AR cru libconftest.a conftest.o" >&5
  7824. $AR cru libconftest.a conftest.o 2>&5
  7825. cat > conftest.c << _LT_EOF
  7826. int main() { return 0;}
  7827. _LT_EOF
  7828. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7829. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7830. _lt_result=$?
  7831. if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  7832. lt_cv_ld_force_load=yes
  7833. else
  7834. cat conftest.err >&5
  7835. fi
  7836. rm -f conftest.err libconftest.a conftest conftest.c
  7837. rm -rf conftest.dSYM
  7838. fi
  7839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7840. $as_echo "$lt_cv_ld_force_load" >&6; }
  7841. case $host_os in
  7842. rhapsody* | darwin1.[012])
  7843. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7844. darwin1.*)
  7845. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7846. darwin*) # darwin 5.x on
  7847. # if running on 10.5 or later, the deployment target defaults
  7848. # to the OS version, if on x86, and 10.4, the deployment
  7849. # target defaults to 10.4. Don't you love it?
  7850. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7851. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7852. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7853. 10.[012][,.]*)
  7854. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7855. 10.*)
  7856. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7857. esac
  7858. ;;
  7859. esac
  7860. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7861. _lt_dar_single_mod='$single_module'
  7862. fi
  7863. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7864. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7865. else
  7866. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7867. fi
  7868. if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  7869. _lt_dsymutil='~$DSYMUTIL $lib || :'
  7870. else
  7871. _lt_dsymutil=
  7872. fi
  7873. ;;
  7874. esac
  7875. for ac_header in dlfcn.h
  7876. do :
  7877. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7878. "
  7879. if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  7880. cat >>confdefs.h <<_ACEOF
  7881. #define HAVE_DLFCN_H 1
  7882. _ACEOF
  7883. fi
  7884. done
  7885. # Set options
  7886. enable_win32_dll=no
  7887. # Check whether --enable-shared was given.
  7888. if test "${enable_shared+set}" = set; then :
  7889. enableval=$enable_shared; p=${PACKAGE-default}
  7890. case $enableval in
  7891. yes) enable_shared=yes ;;
  7892. no) enable_shared=no ;;
  7893. *)
  7894. enable_shared=no
  7895. # Look at the argument we got. We use all the common list separators.
  7896. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7897. for pkg in $enableval; do
  7898. IFS="$lt_save_ifs"
  7899. if test "X$pkg" = "X$p"; then
  7900. enable_shared=yes
  7901. fi
  7902. done
  7903. IFS="$lt_save_ifs"
  7904. ;;
  7905. esac
  7906. else
  7907. enable_shared=yes
  7908. fi
  7909. # Check whether --enable-static was given.
  7910. if test "${enable_static+set}" = set; then :
  7911. enableval=$enable_static; p=${PACKAGE-default}
  7912. case $enableval in
  7913. yes) enable_static=yes ;;
  7914. no) enable_static=no ;;
  7915. *)
  7916. enable_static=no
  7917. # Look at the argument we got. We use all the common list separators.
  7918. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7919. for pkg in $enableval; do
  7920. IFS="$lt_save_ifs"
  7921. if test "X$pkg" = "X$p"; then
  7922. enable_static=yes
  7923. fi
  7924. done
  7925. IFS="$lt_save_ifs"
  7926. ;;
  7927. esac
  7928. else
  7929. enable_static=yes
  7930. fi
  7931. # Check whether --with-pic was given.
  7932. if test "${with_pic+set}" = set; then :
  7933. withval=$with_pic; pic_mode="$withval"
  7934. else
  7935. pic_mode=default
  7936. fi
  7937. test -z "$pic_mode" && pic_mode=default
  7938. # Check whether --enable-fast-install was given.
  7939. if test "${enable_fast_install+set}" = set; then :
  7940. enableval=$enable_fast_install; p=${PACKAGE-default}
  7941. case $enableval in
  7942. yes) enable_fast_install=yes ;;
  7943. no) enable_fast_install=no ;;
  7944. *)
  7945. enable_fast_install=no
  7946. # Look at the argument we got. We use all the common list separators.
  7947. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7948. for pkg in $enableval; do
  7949. IFS="$lt_save_ifs"
  7950. if test "X$pkg" = "X$p"; then
  7951. enable_fast_install=yes
  7952. fi
  7953. done
  7954. IFS="$lt_save_ifs"
  7955. ;;
  7956. esac
  7957. else
  7958. enable_fast_install=yes
  7959. fi
  7960. # This can be used to rebuild libtool when needed
  7961. LIBTOOL_DEPS="$ltmain"
  7962. # Always use our own libtool.
  7963. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7964. test -z "$LN_S" && LN_S="ln -s"
  7965. if test -n "${ZSH_VERSION+set}" ; then
  7966. setopt NO_GLOB_SUBST
  7967. fi
  7968. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7969. $as_echo_n "checking for objdir... " >&6; }
  7970. if test "${lt_cv_objdir+set}" = set; then :
  7971. $as_echo_n "(cached) " >&6
  7972. else
  7973. rm -f .libs 2>/dev/null
  7974. mkdir .libs 2>/dev/null
  7975. if test -d .libs; then
  7976. lt_cv_objdir=.libs
  7977. else
  7978. # MS-DOS does not allow filenames that begin with a dot.
  7979. lt_cv_objdir=_libs
  7980. fi
  7981. rmdir .libs 2>/dev/null
  7982. fi
  7983. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7984. $as_echo "$lt_cv_objdir" >&6; }
  7985. objdir=$lt_cv_objdir
  7986. cat >>confdefs.h <<_ACEOF
  7987. #define LT_OBJDIR "$lt_cv_objdir/"
  7988. _ACEOF
  7989. case $host_os in
  7990. aix3*)
  7991. # AIX sometimes has problems with the GCC collect2 program. For some
  7992. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7993. # vanish in a puff of smoke.
  7994. if test "X${COLLECT_NAMES+set}" != Xset; then
  7995. COLLECT_NAMES=
  7996. export COLLECT_NAMES
  7997. fi
  7998. ;;
  7999. esac
  8000. # Global variables:
  8001. ofile=libtool
  8002. can_build_shared=yes
  8003. # All known linkers require a `.a' archive for static linking (except MSVC,
  8004. # which needs '.lib').
  8005. libext=a
  8006. with_gnu_ld="$lt_cv_prog_gnu_ld"
  8007. old_CC="$CC"
  8008. old_CFLAGS="$CFLAGS"
  8009. # Set sane defaults for various variables
  8010. test -z "$CC" && CC=cc
  8011. test -z "$LTCC" && LTCC=$CC
  8012. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8013. test -z "$LD" && LD=ld
  8014. test -z "$ac_objext" && ac_objext=o
  8015. for cc_temp in $compiler""; do
  8016. case $cc_temp in
  8017. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8018. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8019. \-*) ;;
  8020. *) break;;
  8021. esac
  8022. done
  8023. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  8024. # Only perform the check for file, if the check method requires it
  8025. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8026. case $deplibs_check_method in
  8027. file_magic*)
  8028. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8029. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  8030. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8031. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  8032. $as_echo_n "(cached) " >&6
  8033. else
  8034. case $MAGIC_CMD in
  8035. [\\/*] | ?:[\\/]*)
  8036. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8037. ;;
  8038. *)
  8039. lt_save_MAGIC_CMD="$MAGIC_CMD"
  8040. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8041. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8042. for ac_dir in $ac_dummy; do
  8043. IFS="$lt_save_ifs"
  8044. test -z "$ac_dir" && ac_dir=.
  8045. if test -f $ac_dir/${ac_tool_prefix}file; then
  8046. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8047. if test -n "$file_magic_test_file"; then
  8048. case $deplibs_check_method in
  8049. "file_magic "*)
  8050. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8051. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8052. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8053. $EGREP "$file_magic_regex" > /dev/null; then
  8054. :
  8055. else
  8056. cat <<_LT_EOF 1>&2
  8057. *** Warning: the command libtool uses to detect shared libraries,
  8058. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8059. *** The result is that libtool may fail to recognize shared libraries
  8060. *** as such. This will affect the creation of libtool libraries that
  8061. *** depend on shared libraries, but programs linked with such libtool
  8062. *** libraries will work regardless of this problem. Nevertheless, you
  8063. *** may want to report the problem to your system manager and/or to
  8064. *** bug-libtool@gnu.org
  8065. _LT_EOF
  8066. fi ;;
  8067. esac
  8068. fi
  8069. break
  8070. fi
  8071. done
  8072. IFS="$lt_save_ifs"
  8073. MAGIC_CMD="$lt_save_MAGIC_CMD"
  8074. ;;
  8075. esac
  8076. fi
  8077. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8078. if test -n "$MAGIC_CMD"; then
  8079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8080. $as_echo "$MAGIC_CMD" >&6; }
  8081. else
  8082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8083. $as_echo "no" >&6; }
  8084. fi
  8085. if test -z "$lt_cv_path_MAGIC_CMD"; then
  8086. if test -n "$ac_tool_prefix"; then
  8087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8088. $as_echo_n "checking for file... " >&6; }
  8089. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  8090. $as_echo_n "(cached) " >&6
  8091. else
  8092. case $MAGIC_CMD in
  8093. [\\/*] | ?:[\\/]*)
  8094. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8095. ;;
  8096. *)
  8097. lt_save_MAGIC_CMD="$MAGIC_CMD"
  8098. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8099. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8100. for ac_dir in $ac_dummy; do
  8101. IFS="$lt_save_ifs"
  8102. test -z "$ac_dir" && ac_dir=.
  8103. if test -f $ac_dir/file; then
  8104. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8105. if test -n "$file_magic_test_file"; then
  8106. case $deplibs_check_method in
  8107. "file_magic "*)
  8108. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8109. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8110. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8111. $EGREP "$file_magic_regex" > /dev/null; then
  8112. :
  8113. else
  8114. cat <<_LT_EOF 1>&2
  8115. *** Warning: the command libtool uses to detect shared libraries,
  8116. *** $file_magic_cmd, produces output that libtool cannot recognize.
  8117. *** The result is that libtool may fail to recognize shared libraries
  8118. *** as such. This will affect the creation of libtool libraries that
  8119. *** depend on shared libraries, but programs linked with such libtool
  8120. *** libraries will work regardless of this problem. Nevertheless, you
  8121. *** may want to report the problem to your system manager and/or to
  8122. *** bug-libtool@gnu.org
  8123. _LT_EOF
  8124. fi ;;
  8125. esac
  8126. fi
  8127. break
  8128. fi
  8129. done
  8130. IFS="$lt_save_ifs"
  8131. MAGIC_CMD="$lt_save_MAGIC_CMD"
  8132. ;;
  8133. esac
  8134. fi
  8135. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8136. if test -n "$MAGIC_CMD"; then
  8137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8138. $as_echo "$MAGIC_CMD" >&6; }
  8139. else
  8140. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8141. $as_echo "no" >&6; }
  8142. fi
  8143. else
  8144. MAGIC_CMD=:
  8145. fi
  8146. fi
  8147. fi
  8148. ;;
  8149. esac
  8150. # Use C for the default configuration in the libtool script
  8151. lt_save_CC="$CC"
  8152. ac_ext=c
  8153. ac_cpp='$CPP $CPPFLAGS'
  8154. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8155. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8156. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8157. # Source file extension for C test sources.
  8158. ac_ext=c
  8159. # Object file extension for compiled C test sources.
  8160. objext=o
  8161. objext=$objext
  8162. # Code to be used in simple compile tests
  8163. lt_simple_compile_test_code="int some_variable = 0;"
  8164. # Code to be used in simple link tests
  8165. lt_simple_link_test_code='int main(){return(0);}'
  8166. # If no C compiler was specified, use CC.
  8167. LTCC=${LTCC-"$CC"}
  8168. # If no C compiler flags were specified, use CFLAGS.
  8169. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8170. # Allow CC to be a program name with arguments.
  8171. compiler=$CC
  8172. # Save the default compiler, since it gets overwritten when the other
  8173. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8174. compiler_DEFAULT=$CC
  8175. # save warnings/boilerplate of simple test code
  8176. ac_outfile=conftest.$ac_objext
  8177. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8178. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8179. _lt_compiler_boilerplate=`cat conftest.err`
  8180. $RM conftest*
  8181. ac_outfile=conftest.$ac_objext
  8182. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8183. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8184. _lt_linker_boilerplate=`cat conftest.err`
  8185. $RM -r conftest*
  8186. ## CAVEAT EMPTOR:
  8187. ## There is no encapsulation within the following macros, do not change
  8188. ## the running order or otherwise move them around unless you know exactly
  8189. ## what you are doing...
  8190. if test -n "$compiler"; then
  8191. lt_prog_compiler_no_builtin_flag=
  8192. if test "$GCC" = yes; then
  8193. case $cc_basename in
  8194. nvcc*)
  8195. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8196. *)
  8197. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8198. esac
  8199. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8200. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8201. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  8202. $as_echo_n "(cached) " >&6
  8203. else
  8204. lt_cv_prog_compiler_rtti_exceptions=no
  8205. ac_outfile=conftest.$ac_objext
  8206. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8207. lt_compiler_flag="-fno-rtti -fno-exceptions"
  8208. # Insert the option either (1) after the last *FLAGS variable, or
  8209. # (2) before a word containing "conftest.", or (3) at the end.
  8210. # Note that $ac_compile itself does not contain backslashes and begins
  8211. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8212. # The option is referenced via a variable to avoid confusing sed.
  8213. lt_compile=`echo "$ac_compile" | $SED \
  8214. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8215. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8216. -e 's:$: $lt_compiler_flag:'`
  8217. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8218. (eval "$lt_compile" 2>conftest.err)
  8219. ac_status=$?
  8220. cat conftest.err >&5
  8221. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8222. if (exit $ac_status) && test -s "$ac_outfile"; then
  8223. # The compiler can only warn and ignore the option if not recognized
  8224. # So say no if there are warnings other than the usual output.
  8225. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8226. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8227. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8228. lt_cv_prog_compiler_rtti_exceptions=yes
  8229. fi
  8230. fi
  8231. $RM conftest*
  8232. fi
  8233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8234. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8235. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8236. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8237. else
  8238. :
  8239. fi
  8240. fi
  8241. lt_prog_compiler_wl=
  8242. lt_prog_compiler_pic=
  8243. lt_prog_compiler_static=
  8244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8245. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8246. if test "$GCC" = yes; then
  8247. lt_prog_compiler_wl='-Wl,'
  8248. lt_prog_compiler_static='-static'
  8249. case $host_os in
  8250. aix*)
  8251. # All AIX code is PIC.
  8252. if test "$host_cpu" = ia64; then
  8253. # AIX 5 now supports IA64 processor
  8254. lt_prog_compiler_static='-Bstatic'
  8255. fi
  8256. lt_prog_compiler_pic='-fPIC'
  8257. ;;
  8258. amigaos*)
  8259. case $host_cpu in
  8260. powerpc)
  8261. # see comment about AmigaOS4 .so support
  8262. lt_prog_compiler_pic='-fPIC'
  8263. ;;
  8264. m68k)
  8265. # FIXME: we need at least 68020 code to build shared libraries, but
  8266. # adding the `-m68020' flag to GCC prevents building anything better,
  8267. # like `-m68040'.
  8268. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8269. ;;
  8270. esac
  8271. ;;
  8272. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8273. # PIC is the default for these OSes.
  8274. ;;
  8275. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8276. # This hack is so that the source file can tell whether it is being
  8277. # built for inclusion in a dll (and should export symbols for example).
  8278. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8279. # (--disable-auto-import) libraries
  8280. lt_prog_compiler_pic='-DDLL_EXPORT'
  8281. ;;
  8282. darwin* | rhapsody*)
  8283. # PIC is the default on this platform
  8284. # Common symbols not allowed in MH_DYLIB files
  8285. lt_prog_compiler_pic='-fno-common'
  8286. ;;
  8287. haiku*)
  8288. # PIC is the default for Haiku.
  8289. # The "-static" flag exists, but is broken.
  8290. lt_prog_compiler_static=
  8291. ;;
  8292. hpux*)
  8293. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8294. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  8295. # sets the default TLS model and affects inlining.
  8296. case $host_cpu in
  8297. hppa*64*)
  8298. # +Z the default
  8299. ;;
  8300. *)
  8301. lt_prog_compiler_pic='-fPIC'
  8302. ;;
  8303. esac
  8304. ;;
  8305. interix[3-9]*)
  8306. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8307. # Instead, we relocate shared libraries at runtime.
  8308. ;;
  8309. msdosdjgpp*)
  8310. # Just because we use GCC doesn't mean we suddenly get shared libraries
  8311. # on systems that don't support them.
  8312. lt_prog_compiler_can_build_shared=no
  8313. enable_shared=no
  8314. ;;
  8315. *nto* | *qnx*)
  8316. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8317. # it will coredump.
  8318. lt_prog_compiler_pic='-fPIC -shared'
  8319. ;;
  8320. sysv4*MP*)
  8321. if test -d /usr/nec; then
  8322. lt_prog_compiler_pic=-Kconform_pic
  8323. fi
  8324. ;;
  8325. *)
  8326. lt_prog_compiler_pic='-fPIC'
  8327. ;;
  8328. esac
  8329. case $cc_basename in
  8330. nvcc*) # Cuda Compiler Driver 2.2
  8331. lt_prog_compiler_wl='-Xlinker '
  8332. lt_prog_compiler_pic='-Xcompiler -fPIC'
  8333. ;;
  8334. esac
  8335. else
  8336. # PORTME Check for flag to pass linker flags through the system compiler.
  8337. case $host_os in
  8338. aix*)
  8339. lt_prog_compiler_wl='-Wl,'
  8340. if test "$host_cpu" = ia64; then
  8341. # AIX 5 now supports IA64 processor
  8342. lt_prog_compiler_static='-Bstatic'
  8343. else
  8344. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8345. fi
  8346. ;;
  8347. mingw* | cygwin* | pw32* | os2* | cegcc*)
  8348. # This hack is so that the source file can tell whether it is being
  8349. # built for inclusion in a dll (and should export symbols for example).
  8350. lt_prog_compiler_pic='-DDLL_EXPORT'
  8351. ;;
  8352. hpux9* | hpux10* | hpux11*)
  8353. lt_prog_compiler_wl='-Wl,'
  8354. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8355. # not for PA HP-UX.
  8356. case $host_cpu in
  8357. hppa*64*|ia64*)
  8358. # +Z the default
  8359. ;;
  8360. *)
  8361. lt_prog_compiler_pic='+Z'
  8362. ;;
  8363. esac
  8364. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8365. lt_prog_compiler_static='${wl}-a ${wl}archive'
  8366. ;;
  8367. irix5* | irix6* | nonstopux*)
  8368. lt_prog_compiler_wl='-Wl,'
  8369. # PIC (with -KPIC) is the default.
  8370. lt_prog_compiler_static='-non_shared'
  8371. ;;
  8372. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8373. case $cc_basename in
  8374. # old Intel for x86_64 which still supported -KPIC.
  8375. ecc*)
  8376. lt_prog_compiler_wl='-Wl,'
  8377. lt_prog_compiler_pic='-KPIC'
  8378. lt_prog_compiler_static='-static'
  8379. ;;
  8380. # icc used to be incompatible with GCC.
  8381. # ICC 10 doesn't accept -KPIC any more.
  8382. icc* | ifort*)
  8383. lt_prog_compiler_wl='-Wl,'
  8384. lt_prog_compiler_pic='-fPIC'
  8385. lt_prog_compiler_static='-static'
  8386. ;;
  8387. # Lahey Fortran 8.1.
  8388. lf95*)
  8389. lt_prog_compiler_wl='-Wl,'
  8390. lt_prog_compiler_pic='--shared'
  8391. lt_prog_compiler_static='--static'
  8392. ;;
  8393. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8394. # Portland Group compilers (*not* the Pentium gcc compiler,
  8395. # which looks to be a dead project)
  8396. lt_prog_compiler_wl='-Wl,'
  8397. lt_prog_compiler_pic='-fpic'
  8398. lt_prog_compiler_static='-Bstatic'
  8399. ;;
  8400. ccc*)
  8401. lt_prog_compiler_wl='-Wl,'
  8402. # All Alpha code is PIC.
  8403. lt_prog_compiler_static='-non_shared'
  8404. ;;
  8405. xl* | bgxl* | bgf* | mpixl*)
  8406. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8407. lt_prog_compiler_wl='-Wl,'
  8408. lt_prog_compiler_pic='-qpic'
  8409. lt_prog_compiler_static='-qstaticlink'
  8410. ;;
  8411. *)
  8412. case `$CC -V 2>&1 | sed 5q` in
  8413. *Sun\ F* | *Sun*Fortran*)
  8414. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8415. lt_prog_compiler_pic='-KPIC'
  8416. lt_prog_compiler_static='-Bstatic'
  8417. lt_prog_compiler_wl=''
  8418. ;;
  8419. *Sun\ C*)
  8420. # Sun C 5.9
  8421. lt_prog_compiler_pic='-KPIC'
  8422. lt_prog_compiler_static='-Bstatic'
  8423. lt_prog_compiler_wl='-Wl,'
  8424. ;;
  8425. esac
  8426. ;;
  8427. esac
  8428. ;;
  8429. newsos6)
  8430. lt_prog_compiler_pic='-KPIC'
  8431. lt_prog_compiler_static='-Bstatic'
  8432. ;;
  8433. *nto* | *qnx*)
  8434. # QNX uses GNU C++, but need to define -shared option too, otherwise
  8435. # it will coredump.
  8436. lt_prog_compiler_pic='-fPIC -shared'
  8437. ;;
  8438. osf3* | osf4* | osf5*)
  8439. lt_prog_compiler_wl='-Wl,'
  8440. # All OSF/1 code is PIC.
  8441. lt_prog_compiler_static='-non_shared'
  8442. ;;
  8443. rdos*)
  8444. lt_prog_compiler_static='-non_shared'
  8445. ;;
  8446. solaris*)
  8447. lt_prog_compiler_pic='-KPIC'
  8448. lt_prog_compiler_static='-Bstatic'
  8449. case $cc_basename in
  8450. f77* | f90* | f95*)
  8451. lt_prog_compiler_wl='-Qoption ld ';;
  8452. *)
  8453. lt_prog_compiler_wl='-Wl,';;
  8454. esac
  8455. ;;
  8456. sunos4*)
  8457. lt_prog_compiler_wl='-Qoption ld '
  8458. lt_prog_compiler_pic='-PIC'
  8459. lt_prog_compiler_static='-Bstatic'
  8460. ;;
  8461. sysv4 | sysv4.2uw2* | sysv4.3*)
  8462. lt_prog_compiler_wl='-Wl,'
  8463. lt_prog_compiler_pic='-KPIC'
  8464. lt_prog_compiler_static='-Bstatic'
  8465. ;;
  8466. sysv4*MP*)
  8467. if test -d /usr/nec ;then
  8468. lt_prog_compiler_pic='-Kconform_pic'
  8469. lt_prog_compiler_static='-Bstatic'
  8470. fi
  8471. ;;
  8472. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8473. lt_prog_compiler_wl='-Wl,'
  8474. lt_prog_compiler_pic='-KPIC'
  8475. lt_prog_compiler_static='-Bstatic'
  8476. ;;
  8477. unicos*)
  8478. lt_prog_compiler_wl='-Wl,'
  8479. lt_prog_compiler_can_build_shared=no
  8480. ;;
  8481. uts4*)
  8482. lt_prog_compiler_pic='-pic'
  8483. lt_prog_compiler_static='-Bstatic'
  8484. ;;
  8485. *)
  8486. lt_prog_compiler_can_build_shared=no
  8487. ;;
  8488. esac
  8489. fi
  8490. case $host_os in
  8491. # For platforms which do not support PIC, -DPIC is meaningless:
  8492. *djgpp*)
  8493. lt_prog_compiler_pic=
  8494. ;;
  8495. *)
  8496. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8497. ;;
  8498. esac
  8499. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  8500. $as_echo "$lt_prog_compiler_pic" >&6; }
  8501. #
  8502. # Check to make sure the PIC flag actually works.
  8503. #
  8504. if test -n "$lt_prog_compiler_pic"; then
  8505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8506. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8507. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  8508. $as_echo_n "(cached) " >&6
  8509. else
  8510. lt_cv_prog_compiler_pic_works=no
  8511. ac_outfile=conftest.$ac_objext
  8512. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8513. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8514. # Insert the option either (1) after the last *FLAGS variable, or
  8515. # (2) before a word containing "conftest.", or (3) at the end.
  8516. # Note that $ac_compile itself does not contain backslashes and begins
  8517. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8518. # The option is referenced via a variable to avoid confusing sed.
  8519. lt_compile=`echo "$ac_compile" | $SED \
  8520. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8521. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8522. -e 's:$: $lt_compiler_flag:'`
  8523. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8524. (eval "$lt_compile" 2>conftest.err)
  8525. ac_status=$?
  8526. cat conftest.err >&5
  8527. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8528. if (exit $ac_status) && test -s "$ac_outfile"; then
  8529. # The compiler can only warn and ignore the option if not recognized
  8530. # So say no if there are warnings other than the usual output.
  8531. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8532. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8533. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8534. lt_cv_prog_compiler_pic_works=yes
  8535. fi
  8536. fi
  8537. $RM conftest*
  8538. fi
  8539. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8540. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8541. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8542. case $lt_prog_compiler_pic in
  8543. "" | " "*) ;;
  8544. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8545. esac
  8546. else
  8547. lt_prog_compiler_pic=
  8548. lt_prog_compiler_can_build_shared=no
  8549. fi
  8550. fi
  8551. #
  8552. # Check to make sure the static flag actually works.
  8553. #
  8554. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8556. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8557. if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  8558. $as_echo_n "(cached) " >&6
  8559. else
  8560. lt_cv_prog_compiler_static_works=no
  8561. save_LDFLAGS="$LDFLAGS"
  8562. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8563. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8564. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8565. # The linker can only warn and ignore the option if not recognized
  8566. # So say no if there are warnings
  8567. if test -s conftest.err; then
  8568. # Append any errors to the config.log.
  8569. cat conftest.err 1>&5
  8570. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8571. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8572. if diff conftest.exp conftest.er2 >/dev/null; then
  8573. lt_cv_prog_compiler_static_works=yes
  8574. fi
  8575. else
  8576. lt_cv_prog_compiler_static_works=yes
  8577. fi
  8578. fi
  8579. $RM -r conftest*
  8580. LDFLAGS="$save_LDFLAGS"
  8581. fi
  8582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8583. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8584. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8585. :
  8586. else
  8587. lt_prog_compiler_static=
  8588. fi
  8589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8590. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8591. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8592. $as_echo_n "(cached) " >&6
  8593. else
  8594. lt_cv_prog_compiler_c_o=no
  8595. $RM -r conftest 2>/dev/null
  8596. mkdir conftest
  8597. cd conftest
  8598. mkdir out
  8599. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8600. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8601. # Insert the option either (1) after the last *FLAGS variable, or
  8602. # (2) before a word containing "conftest.", or (3) at the end.
  8603. # Note that $ac_compile itself does not contain backslashes and begins
  8604. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8605. lt_compile=`echo "$ac_compile" | $SED \
  8606. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8607. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8608. -e 's:$: $lt_compiler_flag:'`
  8609. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8610. (eval "$lt_compile" 2>out/conftest.err)
  8611. ac_status=$?
  8612. cat out/conftest.err >&5
  8613. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8614. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8615. then
  8616. # The compiler can only warn and ignore the option if not recognized
  8617. # So say no if there are warnings
  8618. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8619. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8620. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8621. lt_cv_prog_compiler_c_o=yes
  8622. fi
  8623. fi
  8624. chmod u+w . 2>&5
  8625. $RM conftest*
  8626. # SGI C++ compiler will create directory out/ii_files/ for
  8627. # template instantiation
  8628. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8629. $RM out/* && rmdir out
  8630. cd ..
  8631. $RM -r conftest
  8632. $RM conftest*
  8633. fi
  8634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8635. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8637. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8638. if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8639. $as_echo_n "(cached) " >&6
  8640. else
  8641. lt_cv_prog_compiler_c_o=no
  8642. $RM -r conftest 2>/dev/null
  8643. mkdir conftest
  8644. cd conftest
  8645. mkdir out
  8646. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8647. lt_compiler_flag="-o out/conftest2.$ac_objext"
  8648. # Insert the option either (1) after the last *FLAGS variable, or
  8649. # (2) before a word containing "conftest.", or (3) at the end.
  8650. # Note that $ac_compile itself does not contain backslashes and begins
  8651. # with a dollar sign (not a hyphen), so the echo should work correctly.
  8652. lt_compile=`echo "$ac_compile" | $SED \
  8653. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8654. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8655. -e 's:$: $lt_compiler_flag:'`
  8656. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8657. (eval "$lt_compile" 2>out/conftest.err)
  8658. ac_status=$?
  8659. cat out/conftest.err >&5
  8660. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8661. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8662. then
  8663. # The compiler can only warn and ignore the option if not recognized
  8664. # So say no if there are warnings
  8665. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8666. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8667. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8668. lt_cv_prog_compiler_c_o=yes
  8669. fi
  8670. fi
  8671. chmod u+w . 2>&5
  8672. $RM conftest*
  8673. # SGI C++ compiler will create directory out/ii_files/ for
  8674. # template instantiation
  8675. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8676. $RM out/* && rmdir out
  8677. cd ..
  8678. $RM -r conftest
  8679. $RM conftest*
  8680. fi
  8681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8682. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8683. hard_links="nottested"
  8684. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8685. # do not overwrite the value of need_locks provided by the user
  8686. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8687. $as_echo_n "checking if we can lock with hard links... " >&6; }
  8688. hard_links=yes
  8689. $RM conftest*
  8690. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8691. touch conftest.a
  8692. ln conftest.a conftest.b 2>&5 || hard_links=no
  8693. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8695. $as_echo "$hard_links" >&6; }
  8696. if test "$hard_links" = no; then
  8697. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8698. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8699. need_locks=warn
  8700. fi
  8701. else
  8702. need_locks=no
  8703. fi
  8704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8705. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8706. runpath_var=
  8707. allow_undefined_flag=
  8708. always_export_symbols=no
  8709. archive_cmds=
  8710. archive_expsym_cmds=
  8711. compiler_needs_object=no
  8712. enable_shared_with_static_runtimes=no
  8713. export_dynamic_flag_spec=
  8714. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8715. hardcode_automatic=no
  8716. hardcode_direct=no
  8717. hardcode_direct_absolute=no
  8718. hardcode_libdir_flag_spec=
  8719. hardcode_libdir_flag_spec_ld=
  8720. hardcode_libdir_separator=
  8721. hardcode_minus_L=no
  8722. hardcode_shlibpath_var=unsupported
  8723. inherit_rpath=no
  8724. link_all_deplibs=unknown
  8725. module_cmds=
  8726. module_expsym_cmds=
  8727. old_archive_from_new_cmds=
  8728. old_archive_from_expsyms_cmds=
  8729. thread_safe_flag_spec=
  8730. whole_archive_flag_spec=
  8731. # include_expsyms should be a list of space-separated symbols to be *always*
  8732. # included in the symbol list
  8733. include_expsyms=
  8734. # exclude_expsyms can be an extended regexp of symbols to exclude
  8735. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8736. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8737. # as well as any symbol that contains `d'.
  8738. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8739. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8740. # platforms (ab)use it in PIC code, but their linkers get confused if
  8741. # the symbol is explicitly referenced. Since portable code cannot
  8742. # rely on this symbol name, it's probably fine to never include it in
  8743. # preloaded symbol tables.
  8744. # Exclude shared library initialization/finalization symbols.
  8745. extract_expsyms_cmds=
  8746. case $host_os in
  8747. cygwin* | mingw* | pw32* | cegcc*)
  8748. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8749. # When not using gcc, we currently assume that we are using
  8750. # Microsoft Visual C++.
  8751. if test "$GCC" != yes; then
  8752. with_gnu_ld=no
  8753. fi
  8754. ;;
  8755. interix*)
  8756. # we just hope/assume this is gcc and not c89 (= MSVC++)
  8757. with_gnu_ld=yes
  8758. ;;
  8759. openbsd*)
  8760. with_gnu_ld=no
  8761. ;;
  8762. esac
  8763. ld_shlibs=yes
  8764. # On some targets, GNU ld is compatible enough with the native linker
  8765. # that we're better off using the native interface for both.
  8766. lt_use_gnu_ld_interface=no
  8767. if test "$with_gnu_ld" = yes; then
  8768. case $host_os in
  8769. aix*)
  8770. # The AIX port of GNU ld has always aspired to compatibility
  8771. # with the native linker. However, as the warning in the GNU ld
  8772. # block says, versions before 2.19.5* couldn't really create working
  8773. # shared libraries, regardless of the interface used.
  8774. case `$LD -v 2>&1` in
  8775. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8776. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8777. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8778. *)
  8779. lt_use_gnu_ld_interface=yes
  8780. ;;
  8781. esac
  8782. ;;
  8783. *)
  8784. lt_use_gnu_ld_interface=yes
  8785. ;;
  8786. esac
  8787. fi
  8788. if test "$lt_use_gnu_ld_interface" = yes; then
  8789. # If archive_cmds runs LD, not CC, wlarc should be empty
  8790. wlarc='${wl}'
  8791. # Set some defaults for GNU ld with shared library support. These
  8792. # are reset later if shared libraries are not supported. Putting them
  8793. # here allows them to be overridden if necessary.
  8794. runpath_var=LD_RUN_PATH
  8795. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8796. export_dynamic_flag_spec='${wl}--export-dynamic'
  8797. # ancient GNU ld didn't support --whole-archive et. al.
  8798. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8799. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8800. else
  8801. whole_archive_flag_spec=
  8802. fi
  8803. supports_anon_versioning=no
  8804. case `$LD -v 2>&1` in
  8805. *GNU\ gold*) supports_anon_versioning=yes ;;
  8806. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8807. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8808. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8809. *\ 2.11.*) ;; # other 2.11 versions
  8810. *) supports_anon_versioning=yes ;;
  8811. esac
  8812. # See if GNU ld supports shared libraries.
  8813. case $host_os in
  8814. aix[3-9]*)
  8815. # On AIX/PPC, the GNU linker is very broken
  8816. if test "$host_cpu" != ia64; then
  8817. ld_shlibs=no
  8818. cat <<_LT_EOF 1>&2
  8819. *** Warning: the GNU linker, at least up to release 2.19, is reported
  8820. *** to be unable to reliably create shared libraries on AIX.
  8821. *** Therefore, libtool is disabling shared libraries support. If you
  8822. *** really care for shared libraries, you may want to install binutils
  8823. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8824. *** You will then need to restart the configuration process.
  8825. _LT_EOF
  8826. fi
  8827. ;;
  8828. amigaos*)
  8829. case $host_cpu in
  8830. powerpc)
  8831. # see comment about AmigaOS4 .so support
  8832. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8833. archive_expsym_cmds=''
  8834. ;;
  8835. m68k)
  8836. 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)'
  8837. hardcode_libdir_flag_spec='-L$libdir'
  8838. hardcode_minus_L=yes
  8839. ;;
  8840. esac
  8841. ;;
  8842. beos*)
  8843. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8844. allow_undefined_flag=unsupported
  8845. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8846. # support --undefined. This deserves some investigation. FIXME
  8847. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8848. else
  8849. ld_shlibs=no
  8850. fi
  8851. ;;
  8852. cygwin* | mingw* | pw32* | cegcc*)
  8853. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8854. # as there is no search path for DLLs.
  8855. hardcode_libdir_flag_spec='-L$libdir'
  8856. export_dynamic_flag_spec='${wl}--export-all-symbols'
  8857. allow_undefined_flag=unsupported
  8858. always_export_symbols=no
  8859. enable_shared_with_static_runtimes=yes
  8860. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8861. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8862. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8863. # If the export-symbols file already is a .def file (1st line
  8864. # is EXPORTS), use it as is; otherwise, prepend...
  8865. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8866. cp $export_symbols $output_objdir/$soname.def;
  8867. else
  8868. echo EXPORTS > $output_objdir/$soname.def;
  8869. cat $export_symbols >> $output_objdir/$soname.def;
  8870. fi~
  8871. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8872. else
  8873. ld_shlibs=no
  8874. fi
  8875. ;;
  8876. haiku*)
  8877. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8878. link_all_deplibs=yes
  8879. ;;
  8880. interix[3-9]*)
  8881. hardcode_direct=no
  8882. hardcode_shlibpath_var=no
  8883. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8884. export_dynamic_flag_spec='${wl}-E'
  8885. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8886. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8887. # default) and relocated if they conflict, which is a slow very memory
  8888. # consuming and fragmenting process. To avoid this, we pick a random,
  8889. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8890. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8891. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8892. 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'
  8893. ;;
  8894. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8895. tmp_diet=no
  8896. if test "$host_os" = linux-dietlibc; then
  8897. case $cc_basename in
  8898. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8899. esac
  8900. fi
  8901. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8902. && test "$tmp_diet" = no
  8903. then
  8904. tmp_addflag=' $pic_flag'
  8905. tmp_sharedflag='-shared'
  8906. case $cc_basename,$host_cpu in
  8907. pgcc*) # Portland Group C compiler
  8908. 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'
  8909. tmp_addflag=' $pic_flag'
  8910. ;;
  8911. pgf77* | pgf90* | pgf95* | pgfortran*)
  8912. # Portland Group f77 and f90 compilers
  8913. 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'
  8914. tmp_addflag=' $pic_flag -Mnomain' ;;
  8915. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8916. tmp_addflag=' -i_dynamic' ;;
  8917. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8918. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8919. ifc* | ifort*) # Intel Fortran compiler
  8920. tmp_addflag=' -nofor_main' ;;
  8921. lf95*) # Lahey Fortran 8.1
  8922. whole_archive_flag_spec=
  8923. tmp_sharedflag='--shared' ;;
  8924. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8925. tmp_sharedflag='-qmkshrobj'
  8926. tmp_addflag= ;;
  8927. nvcc*) # Cuda Compiler Driver 2.2
  8928. 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'
  8929. compiler_needs_object=yes
  8930. ;;
  8931. esac
  8932. case `$CC -V 2>&1 | sed 5q` in
  8933. *Sun\ C*) # Sun C 5.9
  8934. 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'
  8935. compiler_needs_object=yes
  8936. tmp_sharedflag='-G' ;;
  8937. *Sun\ F*) # Sun Fortran 8.3
  8938. tmp_sharedflag='-G' ;;
  8939. esac
  8940. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8941. if test "x$supports_anon_versioning" = xyes; then
  8942. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8943. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8944. echo "local: *; };" >> $output_objdir/$libname.ver~
  8945. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8946. fi
  8947. case $cc_basename in
  8948. xlf* | bgf* | bgxlf* | mpixlf*)
  8949. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8950. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8951. hardcode_libdir_flag_spec=
  8952. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  8953. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  8954. if test "x$supports_anon_versioning" = xyes; then
  8955. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8956. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8957. echo "local: *; };" >> $output_objdir/$libname.ver~
  8958. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8959. fi
  8960. ;;
  8961. esac
  8962. else
  8963. ld_shlibs=no
  8964. fi
  8965. ;;
  8966. netbsd*)
  8967. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8968. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8969. wlarc=
  8970. else
  8971. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8972. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8973. fi
  8974. ;;
  8975. solaris*)
  8976. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8977. ld_shlibs=no
  8978. cat <<_LT_EOF 1>&2
  8979. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8980. *** create shared libraries on Solaris systems. Therefore, libtool
  8981. *** is disabling shared libraries support. We urge you to upgrade GNU
  8982. *** binutils to release 2.9.1 or newer. Another option is to modify
  8983. *** your PATH or compiler configuration so that the native linker is
  8984. *** used, and then restart.
  8985. _LT_EOF
  8986. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8987. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8988. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8989. else
  8990. ld_shlibs=no
  8991. fi
  8992. ;;
  8993. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8994. case `$LD -v 2>&1` in
  8995. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8996. ld_shlibs=no
  8997. cat <<_LT_EOF 1>&2
  8998. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8999. *** reliably create shared libraries on SCO systems. Therefore, libtool
  9000. *** is disabling shared libraries support. We urge you to upgrade GNU
  9001. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  9002. *** your PATH or compiler configuration so that the native linker is
  9003. *** used, and then restart.
  9004. _LT_EOF
  9005. ;;
  9006. *)
  9007. # For security reasons, it is highly recommended that you always
  9008. # use absolute paths for naming shared libraries, and exclude the
  9009. # DT_RUNPATH tag from executables and libraries. But doing so
  9010. # requires that you compile everything twice, which is a pain.
  9011. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9012. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9013. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9014. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9015. else
  9016. ld_shlibs=no
  9017. fi
  9018. ;;
  9019. esac
  9020. ;;
  9021. sunos4*)
  9022. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9023. wlarc=
  9024. hardcode_direct=yes
  9025. hardcode_shlibpath_var=no
  9026. ;;
  9027. *)
  9028. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9029. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9030. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9031. else
  9032. ld_shlibs=no
  9033. fi
  9034. ;;
  9035. esac
  9036. if test "$ld_shlibs" = no; then
  9037. runpath_var=
  9038. hardcode_libdir_flag_spec=
  9039. export_dynamic_flag_spec=
  9040. whole_archive_flag_spec=
  9041. fi
  9042. else
  9043. # PORTME fill in a description of your system's linker (not GNU ld)
  9044. case $host_os in
  9045. aix3*)
  9046. allow_undefined_flag=unsupported
  9047. always_export_symbols=yes
  9048. 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'
  9049. # Note: this linker hardcodes the directories in LIBPATH if there
  9050. # are no directories specified by -L.
  9051. hardcode_minus_L=yes
  9052. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9053. # Neither direct hardcoding nor static linking is supported with a
  9054. # broken collect2.
  9055. hardcode_direct=unsupported
  9056. fi
  9057. ;;
  9058. aix[4-9]*)
  9059. if test "$host_cpu" = ia64; then
  9060. # On IA64, the linker does run time linking by default, so we don't
  9061. # have to do anything special.
  9062. aix_use_runtimelinking=no
  9063. exp_sym_flag='-Bexport'
  9064. no_entry_flag=""
  9065. else
  9066. # If we're using GNU nm, then we don't want the "-C" option.
  9067. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  9068. # Also, AIX nm treats weak defined symbols like other global
  9069. # defined symbols, whereas GNU nm marks them as "W".
  9070. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9071. 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'
  9072. else
  9073. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9074. fi
  9075. aix_use_runtimelinking=no
  9076. # Test if we are trying to use run time linking or normal
  9077. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9078. # need to do runtime linking.
  9079. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9080. for ld_flag in $LDFLAGS; do
  9081. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9082. aix_use_runtimelinking=yes
  9083. break
  9084. fi
  9085. done
  9086. ;;
  9087. esac
  9088. exp_sym_flag='-bexport'
  9089. no_entry_flag='-bnoentry'
  9090. fi
  9091. # When large executables or shared objects are built, AIX ld can
  9092. # have problems creating the table of contents. If linking a library
  9093. # or program results in "error TOC overflow" add -mminimal-toc to
  9094. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  9095. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9096. archive_cmds=''
  9097. hardcode_direct=yes
  9098. hardcode_direct_absolute=yes
  9099. hardcode_libdir_separator=':'
  9100. link_all_deplibs=yes
  9101. file_list_spec='${wl}-f,'
  9102. if test "$GCC" = yes; then
  9103. case $host_os in aix4.[012]|aix4.[012].*)
  9104. # We only want to do this on AIX 4.2 and lower, the check
  9105. # below for broken collect2 doesn't work under 4.3+
  9106. collect2name=`${CC} -print-prog-name=collect2`
  9107. if test -f "$collect2name" &&
  9108. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9109. then
  9110. # We have reworked collect2
  9111. :
  9112. else
  9113. # We have old collect2
  9114. hardcode_direct=unsupported
  9115. # It fails to find uninstalled libraries when the uninstalled
  9116. # path is not listed in the libpath. Setting hardcode_minus_L
  9117. # to unsupported forces relinking
  9118. hardcode_minus_L=yes
  9119. hardcode_libdir_flag_spec='-L$libdir'
  9120. hardcode_libdir_separator=
  9121. fi
  9122. ;;
  9123. esac
  9124. shared_flag='-shared'
  9125. if test "$aix_use_runtimelinking" = yes; then
  9126. shared_flag="$shared_flag "'${wl}-G'
  9127. fi
  9128. else
  9129. # not using gcc
  9130. if test "$host_cpu" = ia64; then
  9131. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9132. # chokes on -Wl,-G. The following line is correct:
  9133. shared_flag='-G'
  9134. else
  9135. if test "$aix_use_runtimelinking" = yes; then
  9136. shared_flag='${wl}-G'
  9137. else
  9138. shared_flag='${wl}-bM:SRE'
  9139. fi
  9140. fi
  9141. fi
  9142. export_dynamic_flag_spec='${wl}-bexpall'
  9143. # It seems that -bexpall does not export symbols beginning with
  9144. # underscore (_), so it is better to generate a list of symbols to export.
  9145. always_export_symbols=yes
  9146. if test "$aix_use_runtimelinking" = yes; then
  9147. # Warning - without using the other runtime loading flags (-brtl),
  9148. # -berok will link without error, but may produce a broken library.
  9149. allow_undefined_flag='-berok'
  9150. # Determine the default libpath from the value encoded in an
  9151. # empty executable.
  9152. if test x$gcc_no_link = xyes; then
  9153. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9154. fi
  9155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9156. /* end confdefs.h. */
  9157. int
  9158. main ()
  9159. {
  9160. ;
  9161. return 0;
  9162. }
  9163. _ACEOF
  9164. if ac_fn_c_try_link "$LINENO"; then :
  9165. lt_aix_libpath_sed='
  9166. /Import File Strings/,/^$/ {
  9167. /^0/ {
  9168. s/^0 *\(.*\)$/\1/
  9169. p
  9170. }
  9171. }'
  9172. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9173. # Check for a 64-bit object if we didn't find anything.
  9174. if test -z "$aix_libpath"; then
  9175. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9176. fi
  9177. fi
  9178. rm -f core conftest.err conftest.$ac_objext \
  9179. conftest$ac_exeext conftest.$ac_ext
  9180. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9181. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9182. 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"
  9183. else
  9184. if test "$host_cpu" = ia64; then
  9185. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9186. allow_undefined_flag="-z nodefs"
  9187. 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"
  9188. else
  9189. # Determine the default libpath from the value encoded in an
  9190. # empty executable.
  9191. if test x$gcc_no_link = xyes; then
  9192. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9193. fi
  9194. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9195. /* end confdefs.h. */
  9196. int
  9197. main ()
  9198. {
  9199. ;
  9200. return 0;
  9201. }
  9202. _ACEOF
  9203. if ac_fn_c_try_link "$LINENO"; then :
  9204. lt_aix_libpath_sed='
  9205. /Import File Strings/,/^$/ {
  9206. /^0/ {
  9207. s/^0 *\(.*\)$/\1/
  9208. p
  9209. }
  9210. }'
  9211. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9212. # Check for a 64-bit object if we didn't find anything.
  9213. if test -z "$aix_libpath"; then
  9214. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9215. fi
  9216. fi
  9217. rm -f core conftest.err conftest.$ac_objext \
  9218. conftest$ac_exeext conftest.$ac_ext
  9219. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9220. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9221. # Warning - without using the other run time loading flags,
  9222. # -berok will link without error, but may produce a broken library.
  9223. no_undefined_flag=' ${wl}-bernotok'
  9224. allow_undefined_flag=' ${wl}-berok'
  9225. if test "$with_gnu_ld" = yes; then
  9226. # We only use this code for GNU lds that support --whole-archive.
  9227. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9228. else
  9229. # Exported symbols can be pulled into shared objects from archives
  9230. whole_archive_flag_spec='$convenience'
  9231. fi
  9232. archive_cmds_need_lc=yes
  9233. # This is similar to how AIX traditionally builds its shared libraries.
  9234. 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'
  9235. fi
  9236. fi
  9237. ;;
  9238. amigaos*)
  9239. case $host_cpu in
  9240. powerpc)
  9241. # see comment about AmigaOS4 .so support
  9242. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9243. archive_expsym_cmds=''
  9244. ;;
  9245. m68k)
  9246. 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)'
  9247. hardcode_libdir_flag_spec='-L$libdir'
  9248. hardcode_minus_L=yes
  9249. ;;
  9250. esac
  9251. ;;
  9252. bsdi[45]*)
  9253. export_dynamic_flag_spec=-rdynamic
  9254. ;;
  9255. cygwin* | mingw* | pw32* | cegcc*)
  9256. # When not using gcc, we currently assume that we are using
  9257. # Microsoft Visual C++.
  9258. # hardcode_libdir_flag_spec is actually meaningless, as there is
  9259. # no search path for DLLs.
  9260. hardcode_libdir_flag_spec=' '
  9261. allow_undefined_flag=unsupported
  9262. # Tell ltmain to make .lib files, not .a files.
  9263. libext=lib
  9264. # Tell ltmain to make .dll files, not .so files.
  9265. shrext_cmds=".dll"
  9266. # FIXME: Setting linknames here is a bad hack.
  9267. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9268. # The linker will automatically build a .lib file if we build a DLL.
  9269. old_archive_from_new_cmds='true'
  9270. # FIXME: Should let the user specify the lib program.
  9271. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9272. fix_srcfile_path='`cygpath -w "$srcfile"`'
  9273. enable_shared_with_static_runtimes=yes
  9274. ;;
  9275. darwin* | rhapsody*)
  9276. archive_cmds_need_lc=no
  9277. hardcode_direct=no
  9278. hardcode_automatic=yes
  9279. hardcode_shlibpath_var=unsupported
  9280. if test "$lt_cv_ld_force_load" = "yes"; then
  9281. 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\"`'
  9282. else
  9283. whole_archive_flag_spec=''
  9284. fi
  9285. link_all_deplibs=yes
  9286. allow_undefined_flag="$_lt_dar_allow_undefined"
  9287. case $cc_basename in
  9288. ifort*) _lt_dar_can_shared=yes ;;
  9289. *) _lt_dar_can_shared=$GCC ;;
  9290. esac
  9291. if test "$_lt_dar_can_shared" = "yes"; then
  9292. output_verbose_link_cmd=func_echo_all
  9293. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9294. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9295. 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}"
  9296. 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}"
  9297. else
  9298. ld_shlibs=no
  9299. fi
  9300. ;;
  9301. dgux*)
  9302. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9303. hardcode_libdir_flag_spec='-L$libdir'
  9304. hardcode_shlibpath_var=no
  9305. ;;
  9306. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9307. # support. Future versions do this automatically, but an explicit c++rt0.o
  9308. # does not break anything, and helps significantly (at the cost of a little
  9309. # extra space).
  9310. freebsd2.2*)
  9311. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9312. hardcode_libdir_flag_spec='-R$libdir'
  9313. hardcode_direct=yes
  9314. hardcode_shlibpath_var=no
  9315. ;;
  9316. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9317. freebsd2.*)
  9318. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9319. hardcode_direct=yes
  9320. hardcode_minus_L=yes
  9321. hardcode_shlibpath_var=no
  9322. ;;
  9323. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9324. freebsd* | dragonfly*)
  9325. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9326. hardcode_libdir_flag_spec='-R$libdir'
  9327. hardcode_direct=yes
  9328. hardcode_shlibpath_var=no
  9329. ;;
  9330. hpux9*)
  9331. if test "$GCC" = yes; then
  9332. 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'
  9333. else
  9334. 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'
  9335. fi
  9336. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9337. hardcode_libdir_separator=:
  9338. hardcode_direct=yes
  9339. # hardcode_minus_L: Not really in the search PATH,
  9340. # but as the default location of the library.
  9341. hardcode_minus_L=yes
  9342. export_dynamic_flag_spec='${wl}-E'
  9343. ;;
  9344. hpux10*)
  9345. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9346. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9347. else
  9348. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9349. fi
  9350. if test "$with_gnu_ld" = no; then
  9351. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9352. hardcode_libdir_flag_spec_ld='+b $libdir'
  9353. hardcode_libdir_separator=:
  9354. hardcode_direct=yes
  9355. hardcode_direct_absolute=yes
  9356. export_dynamic_flag_spec='${wl}-E'
  9357. # hardcode_minus_L: Not really in the search PATH,
  9358. # but as the default location of the library.
  9359. hardcode_minus_L=yes
  9360. fi
  9361. ;;
  9362. hpux11*)
  9363. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9364. case $host_cpu in
  9365. hppa*64*)
  9366. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9367. ;;
  9368. ia64*)
  9369. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9370. ;;
  9371. *)
  9372. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9373. ;;
  9374. esac
  9375. else
  9376. case $host_cpu in
  9377. hppa*64*)
  9378. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9379. ;;
  9380. ia64*)
  9381. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9382. ;;
  9383. *)
  9384. # Older versions of the 11.00 compiler do not understand -b yet
  9385. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9387. $as_echo_n "checking if $CC understands -b... " >&6; }
  9388. if test "${lt_cv_prog_compiler__b+set}" = set; then :
  9389. $as_echo_n "(cached) " >&6
  9390. else
  9391. lt_cv_prog_compiler__b=no
  9392. save_LDFLAGS="$LDFLAGS"
  9393. LDFLAGS="$LDFLAGS -b"
  9394. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9395. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9396. # The linker can only warn and ignore the option if not recognized
  9397. # So say no if there are warnings
  9398. if test -s conftest.err; then
  9399. # Append any errors to the config.log.
  9400. cat conftest.err 1>&5
  9401. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9402. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9403. if diff conftest.exp conftest.er2 >/dev/null; then
  9404. lt_cv_prog_compiler__b=yes
  9405. fi
  9406. else
  9407. lt_cv_prog_compiler__b=yes
  9408. fi
  9409. fi
  9410. $RM -r conftest*
  9411. LDFLAGS="$save_LDFLAGS"
  9412. fi
  9413. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9414. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9415. if test x"$lt_cv_prog_compiler__b" = xyes; then
  9416. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9417. else
  9418. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9419. fi
  9420. ;;
  9421. esac
  9422. fi
  9423. if test "$with_gnu_ld" = no; then
  9424. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9425. hardcode_libdir_separator=:
  9426. case $host_cpu in
  9427. hppa*64*|ia64*)
  9428. hardcode_direct=no
  9429. hardcode_shlibpath_var=no
  9430. ;;
  9431. *)
  9432. hardcode_direct=yes
  9433. hardcode_direct_absolute=yes
  9434. export_dynamic_flag_spec='${wl}-E'
  9435. # hardcode_minus_L: Not really in the search PATH,
  9436. # but as the default location of the library.
  9437. hardcode_minus_L=yes
  9438. ;;
  9439. esac
  9440. fi
  9441. ;;
  9442. irix5* | irix6* | nonstopux*)
  9443. if test "$GCC" = yes; then
  9444. 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'
  9445. # Try to use the -exported_symbol ld option, if it does not
  9446. # work, assume that -exports_file does not work either and
  9447. # implicitly export all symbols.
  9448. save_LDFLAGS="$LDFLAGS"
  9449. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9450. if test x$gcc_no_link = xyes; then
  9451. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  9452. fi
  9453. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9454. /* end confdefs.h. */
  9455. int foo(void) {}
  9456. _ACEOF
  9457. if ac_fn_c_try_link "$LINENO"; then :
  9458. 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'
  9459. fi
  9460. rm -f core conftest.err conftest.$ac_objext \
  9461. conftest$ac_exeext conftest.$ac_ext
  9462. LDFLAGS="$save_LDFLAGS"
  9463. else
  9464. 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'
  9465. 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'
  9466. fi
  9467. archive_cmds_need_lc='no'
  9468. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9469. hardcode_libdir_separator=:
  9470. inherit_rpath=yes
  9471. link_all_deplibs=yes
  9472. ;;
  9473. netbsd*)
  9474. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9475. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  9476. else
  9477. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  9478. fi
  9479. hardcode_libdir_flag_spec='-R$libdir'
  9480. hardcode_direct=yes
  9481. hardcode_shlibpath_var=no
  9482. ;;
  9483. newsos6)
  9484. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9485. hardcode_direct=yes
  9486. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9487. hardcode_libdir_separator=:
  9488. hardcode_shlibpath_var=no
  9489. ;;
  9490. *nto* | *qnx*)
  9491. ;;
  9492. openbsd*)
  9493. if test -f /usr/libexec/ld.so; then
  9494. hardcode_direct=yes
  9495. hardcode_shlibpath_var=no
  9496. hardcode_direct_absolute=yes
  9497. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9498. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9499. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9500. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9501. export_dynamic_flag_spec='${wl}-E'
  9502. else
  9503. case $host_os in
  9504. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9505. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9506. hardcode_libdir_flag_spec='-R$libdir'
  9507. ;;
  9508. *)
  9509. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9510. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9511. ;;
  9512. esac
  9513. fi
  9514. else
  9515. ld_shlibs=no
  9516. fi
  9517. ;;
  9518. os2*)
  9519. hardcode_libdir_flag_spec='-L$libdir'
  9520. hardcode_minus_L=yes
  9521. allow_undefined_flag=unsupported
  9522. 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'
  9523. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9524. ;;
  9525. osf3*)
  9526. if test "$GCC" = yes; then
  9527. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9528. 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'
  9529. else
  9530. allow_undefined_flag=' -expect_unresolved \*'
  9531. 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'
  9532. fi
  9533. archive_cmds_need_lc='no'
  9534. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9535. hardcode_libdir_separator=:
  9536. ;;
  9537. osf4* | osf5*) # as osf3* with the addition of -msym flag
  9538. if test "$GCC" = yes; then
  9539. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9540. 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'
  9541. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9542. else
  9543. allow_undefined_flag=' -expect_unresolved \*'
  9544. 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'
  9545. 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~
  9546. $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'
  9547. # Both c and cxx compiler support -rpath directly
  9548. hardcode_libdir_flag_spec='-rpath $libdir'
  9549. fi
  9550. archive_cmds_need_lc='no'
  9551. hardcode_libdir_separator=:
  9552. ;;
  9553. solaris*)
  9554. no_undefined_flag=' -z defs'
  9555. if test "$GCC" = yes; then
  9556. wlarc='${wl}'
  9557. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9558. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9559. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9560. else
  9561. case `$CC -V 2>&1` in
  9562. *"Compilers 5.0"*)
  9563. wlarc=''
  9564. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9565. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9566. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9567. ;;
  9568. *)
  9569. wlarc='${wl}'
  9570. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9571. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9572. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9573. ;;
  9574. esac
  9575. fi
  9576. hardcode_libdir_flag_spec='-R$libdir'
  9577. hardcode_shlibpath_var=no
  9578. case $host_os in
  9579. solaris2.[0-5] | solaris2.[0-5].*) ;;
  9580. *)
  9581. # The compiler driver will combine and reorder linker options,
  9582. # but understands `-z linker_flag'. GCC discards it without `$wl',
  9583. # but is careful enough not to reorder.
  9584. # Supported since Solaris 2.6 (maybe 2.5.1?)
  9585. if test "$GCC" = yes; then
  9586. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9587. else
  9588. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9589. fi
  9590. ;;
  9591. esac
  9592. link_all_deplibs=yes
  9593. ;;
  9594. sunos4*)
  9595. if test "x$host_vendor" = xsequent; then
  9596. # Use $CC to link under sequent, because it throws in some extra .o
  9597. # files that make .init and .fini sections work.
  9598. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9599. else
  9600. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9601. fi
  9602. hardcode_libdir_flag_spec='-L$libdir'
  9603. hardcode_direct=yes
  9604. hardcode_minus_L=yes
  9605. hardcode_shlibpath_var=no
  9606. ;;
  9607. sysv4)
  9608. case $host_vendor in
  9609. sni)
  9610. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9611. hardcode_direct=yes # is this really true???
  9612. ;;
  9613. siemens)
  9614. ## LD is ld it makes a PLAMLIB
  9615. ## CC just makes a GrossModule.
  9616. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9617. reload_cmds='$CC -r -o $output$reload_objs'
  9618. hardcode_direct=no
  9619. ;;
  9620. motorola)
  9621. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9622. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9623. ;;
  9624. esac
  9625. runpath_var='LD_RUN_PATH'
  9626. hardcode_shlibpath_var=no
  9627. ;;
  9628. sysv4.3*)
  9629. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9630. hardcode_shlibpath_var=no
  9631. export_dynamic_flag_spec='-Bexport'
  9632. ;;
  9633. sysv4*MP*)
  9634. if test -d /usr/nec; then
  9635. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9636. hardcode_shlibpath_var=no
  9637. runpath_var=LD_RUN_PATH
  9638. hardcode_runpath_var=yes
  9639. ld_shlibs=yes
  9640. fi
  9641. ;;
  9642. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9643. no_undefined_flag='${wl}-z,text'
  9644. archive_cmds_need_lc=no
  9645. hardcode_shlibpath_var=no
  9646. runpath_var='LD_RUN_PATH'
  9647. if test "$GCC" = yes; then
  9648. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9649. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9650. else
  9651. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9652. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9653. fi
  9654. ;;
  9655. sysv5* | sco3.2v5* | sco5v6*)
  9656. # Note: We can NOT use -z defs as we might desire, because we do not
  9657. # link with -lc, and that would cause any symbols used from libc to
  9658. # always be unresolved, which means just about no library would
  9659. # ever link correctly. If we're not using GNU ld we use -z text
  9660. # though, which does catch some bad symbols but isn't as heavy-handed
  9661. # as -z defs.
  9662. no_undefined_flag='${wl}-z,text'
  9663. allow_undefined_flag='${wl}-z,nodefs'
  9664. archive_cmds_need_lc=no
  9665. hardcode_shlibpath_var=no
  9666. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  9667. hardcode_libdir_separator=':'
  9668. link_all_deplibs=yes
  9669. export_dynamic_flag_spec='${wl}-Bexport'
  9670. runpath_var='LD_RUN_PATH'
  9671. if test "$GCC" = yes; then
  9672. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9673. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9674. else
  9675. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9676. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9677. fi
  9678. ;;
  9679. uts4*)
  9680. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9681. hardcode_libdir_flag_spec='-L$libdir'
  9682. hardcode_shlibpath_var=no
  9683. ;;
  9684. *)
  9685. ld_shlibs=no
  9686. ;;
  9687. esac
  9688. if test x$host_vendor = xsni; then
  9689. case $host in
  9690. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9691. export_dynamic_flag_spec='${wl}-Blargedynsym'
  9692. ;;
  9693. esac
  9694. fi
  9695. fi
  9696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9697. $as_echo "$ld_shlibs" >&6; }
  9698. test "$ld_shlibs" = no && can_build_shared=no
  9699. with_gnu_ld=$with_gnu_ld
  9700. #
  9701. # Do we need to explicitly link libc?
  9702. #
  9703. case "x$archive_cmds_need_lc" in
  9704. x|xyes)
  9705. # Assume -lc should be added
  9706. archive_cmds_need_lc=yes
  9707. if test "$enable_shared" = yes && test "$GCC" = yes; then
  9708. case $archive_cmds in
  9709. *'~'*)
  9710. # FIXME: we may have to deal with multi-command sequences.
  9711. ;;
  9712. '$CC '*)
  9713. # Test whether the compiler implicitly links with -lc since on some
  9714. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9715. # to ld, don't add -lc before -lgcc.
  9716. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9717. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9718. if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  9719. $as_echo_n "(cached) " >&6
  9720. else
  9721. $RM conftest*
  9722. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9723. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9724. (eval $ac_compile) 2>&5
  9725. ac_status=$?
  9726. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9727. test $ac_status = 0; } 2>conftest.err; then
  9728. soname=conftest
  9729. lib=conftest
  9730. libobjs=conftest.$ac_objext
  9731. deplibs=
  9732. wl=$lt_prog_compiler_wl
  9733. pic_flag=$lt_prog_compiler_pic
  9734. compiler_flags=-v
  9735. linker_flags=-v
  9736. verstring=
  9737. output_objdir=.
  9738. libname=conftest
  9739. lt_save_allow_undefined_flag=$allow_undefined_flag
  9740. allow_undefined_flag=
  9741. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9742. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9743. ac_status=$?
  9744. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9745. test $ac_status = 0; }
  9746. then
  9747. lt_cv_archive_cmds_need_lc=no
  9748. else
  9749. lt_cv_archive_cmds_need_lc=yes
  9750. fi
  9751. allow_undefined_flag=$lt_save_allow_undefined_flag
  9752. else
  9753. cat conftest.err 1>&5
  9754. fi
  9755. $RM conftest*
  9756. fi
  9757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9758. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9759. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9760. ;;
  9761. esac
  9762. fi
  9763. ;;
  9764. esac
  9765. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  9766. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9767. if test "$GCC" = yes; then
  9768. case $host_os in
  9769. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  9770. *) lt_awk_arg="/^libraries:/" ;;
  9771. esac
  9772. case $host_os in
  9773. mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  9774. *) lt_sed_strip_eq="s,=/,/,g" ;;
  9775. esac
  9776. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  9777. case $lt_search_path_spec in
  9778. *\;*)
  9779. # if the path contains ";" then we assume it to be the separator
  9780. # otherwise default to the standard path separator (i.e. ":") - it is
  9781. # assumed that no part of a normal pathname contains ";" but that should
  9782. # okay in the real world where ";" in dirpaths is itself problematic.
  9783. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  9784. ;;
  9785. *)
  9786. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  9787. ;;
  9788. esac
  9789. # Ok, now we have the path, separated by spaces, we can step through it
  9790. # and add multilib dir if necessary.
  9791. lt_tmp_lt_search_path_spec=
  9792. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9793. for lt_sys_path in $lt_search_path_spec; do
  9794. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9795. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9796. else
  9797. test -d "$lt_sys_path" && \
  9798. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9799. fi
  9800. done
  9801. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  9802. BEGIN {RS=" "; FS="/|\n";} {
  9803. lt_foo="";
  9804. lt_count=0;
  9805. for (lt_i = NF; lt_i > 0; lt_i--) {
  9806. if ($lt_i != "" && $lt_i != ".") {
  9807. if ($lt_i == "..") {
  9808. lt_count++;
  9809. } else {
  9810. if (lt_count == 0) {
  9811. lt_foo="/" $lt_i lt_foo;
  9812. } else {
  9813. lt_count--;
  9814. }
  9815. }
  9816. }
  9817. }
  9818. if (lt_foo != "") { lt_freq[lt_foo]++; }
  9819. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9820. }'`
  9821. # AWK program above erroneously prepends '/' to C:/dos/paths
  9822. # for these hosts.
  9823. case $host_os in
  9824. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  9825. $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  9826. esac
  9827. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  9828. else
  9829. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9830. fi
  9831. library_names_spec=
  9832. libname_spec='lib$name'
  9833. soname_spec=
  9834. shrext_cmds=".so"
  9835. postinstall_cmds=
  9836. postuninstall_cmds=
  9837. finish_cmds=
  9838. finish_eval=
  9839. shlibpath_var=
  9840. shlibpath_overrides_runpath=unknown
  9841. version_type=none
  9842. dynamic_linker="$host_os ld.so"
  9843. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9844. need_lib_prefix=unknown
  9845. hardcode_into_libs=no
  9846. # when you set need_version to no, make sure it does not cause -set_version
  9847. # flags to be left without arguments
  9848. need_version=unknown
  9849. case $host_os in
  9850. aix3*)
  9851. version_type=linux
  9852. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9853. shlibpath_var=LIBPATH
  9854. # AIX 3 has no versioning support, so we append a major version to the name.
  9855. soname_spec='${libname}${release}${shared_ext}$major'
  9856. ;;
  9857. aix[4-9]*)
  9858. version_type=linux
  9859. need_lib_prefix=no
  9860. need_version=no
  9861. hardcode_into_libs=yes
  9862. if test "$host_cpu" = ia64; then
  9863. # AIX 5 supports IA64
  9864. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9865. shlibpath_var=LD_LIBRARY_PATH
  9866. else
  9867. # With GCC up to 2.95.x, collect2 would create an import file
  9868. # for dependence libraries. The import file would start with
  9869. # the line `#! .'. This would cause the generated library to
  9870. # depend on `.', always an invalid library. This was fixed in
  9871. # development snapshots of GCC prior to 3.0.
  9872. case $host_os in
  9873. aix4 | aix4.[01] | aix4.[01].*)
  9874. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9875. echo ' yes '
  9876. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9877. :
  9878. else
  9879. can_build_shared=no
  9880. fi
  9881. ;;
  9882. esac
  9883. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9884. # soname into executable. Probably we can add versioning support to
  9885. # collect2, so additional links can be useful in future.
  9886. if test "$aix_use_runtimelinking" = yes; then
  9887. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9888. # instead of lib<name>.a to let people know that these are not
  9889. # typical AIX shared libraries.
  9890. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9891. else
  9892. # We preserve .a as extension for shared libraries through AIX4.2
  9893. # and later when we are not doing run time linking.
  9894. library_names_spec='${libname}${release}.a $libname.a'
  9895. soname_spec='${libname}${release}${shared_ext}$major'
  9896. fi
  9897. shlibpath_var=LIBPATH
  9898. fi
  9899. ;;
  9900. amigaos*)
  9901. case $host_cpu in
  9902. powerpc)
  9903. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9904. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9905. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9906. ;;
  9907. m68k)
  9908. library_names_spec='$libname.ixlibrary $libname.a'
  9909. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9910. 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'
  9911. ;;
  9912. esac
  9913. ;;
  9914. beos*)
  9915. library_names_spec='${libname}${shared_ext}'
  9916. dynamic_linker="$host_os ld.so"
  9917. shlibpath_var=LIBRARY_PATH
  9918. ;;
  9919. bsdi[45]*)
  9920. version_type=linux
  9921. need_version=no
  9922. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9923. soname_spec='${libname}${release}${shared_ext}$major'
  9924. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9925. shlibpath_var=LD_LIBRARY_PATH
  9926. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9927. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9928. # the default ld.so.conf also contains /usr/contrib/lib and
  9929. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9930. # libtool to hard-code these into programs
  9931. ;;
  9932. cygwin* | mingw* | pw32* | cegcc*)
  9933. version_type=windows
  9934. shrext_cmds=".dll"
  9935. need_version=no
  9936. need_lib_prefix=no
  9937. case $GCC,$host_os in
  9938. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  9939. library_names_spec='$libname.dll.a'
  9940. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9941. postinstall_cmds='base_file=`basename \${file}`~
  9942. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9943. dldir=$destdir/`dirname \$dlpath`~
  9944. test -d \$dldir || mkdir -p \$dldir~
  9945. $install_prog $dir/$dlname \$dldir/$dlname~
  9946. chmod a+x \$dldir/$dlname~
  9947. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9948. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9949. fi'
  9950. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9951. dlpath=$dir/\$dldll~
  9952. $RM \$dlpath'
  9953. shlibpath_overrides_runpath=yes
  9954. case $host_os in
  9955. cygwin*)
  9956. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9957. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9958. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  9959. ;;
  9960. mingw* | cegcc*)
  9961. # MinGW DLLs use traditional 'lib' prefix
  9962. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9963. ;;
  9964. pw32*)
  9965. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9966. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9967. ;;
  9968. esac
  9969. ;;
  9970. *)
  9971. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9972. ;;
  9973. esac
  9974. dynamic_linker='Win32 ld.exe'
  9975. # FIXME: first we should search . and the directory the executable is in
  9976. shlibpath_var=PATH
  9977. ;;
  9978. darwin* | rhapsody*)
  9979. dynamic_linker="$host_os dyld"
  9980. version_type=darwin
  9981. need_lib_prefix=no
  9982. need_version=no
  9983. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9984. soname_spec='${libname}${release}${major}$shared_ext'
  9985. shlibpath_overrides_runpath=yes
  9986. shlibpath_var=DYLD_LIBRARY_PATH
  9987. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9988. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9989. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9990. ;;
  9991. dgux*)
  9992. version_type=linux
  9993. need_lib_prefix=no
  9994. need_version=no
  9995. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9996. soname_spec='${libname}${release}${shared_ext}$major'
  9997. shlibpath_var=LD_LIBRARY_PATH
  9998. ;;
  9999. freebsd* | dragonfly*)
  10000. # DragonFly does not have aout. When/if they implement a new
  10001. # versioning mechanism, adjust this.
  10002. if test -x /usr/bin/objformat; then
  10003. objformat=`/usr/bin/objformat`
  10004. else
  10005. case $host_os in
  10006. freebsd[23].*) objformat=aout ;;
  10007. *) objformat=elf ;;
  10008. esac
  10009. fi
  10010. version_type=freebsd-$objformat
  10011. case $version_type in
  10012. freebsd-elf*)
  10013. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10014. need_version=no
  10015. need_lib_prefix=no
  10016. ;;
  10017. freebsd-*)
  10018. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  10019. need_version=yes
  10020. ;;
  10021. esac
  10022. shlibpath_var=LD_LIBRARY_PATH
  10023. case $host_os in
  10024. freebsd2.*)
  10025. shlibpath_overrides_runpath=yes
  10026. ;;
  10027. freebsd3.[01]* | freebsdelf3.[01]*)
  10028. shlibpath_overrides_runpath=yes
  10029. hardcode_into_libs=yes
  10030. ;;
  10031. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  10032. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  10033. shlibpath_overrides_runpath=no
  10034. hardcode_into_libs=yes
  10035. ;;
  10036. *) # from 4.6 on, and DragonFly
  10037. shlibpath_overrides_runpath=yes
  10038. hardcode_into_libs=yes
  10039. ;;
  10040. esac
  10041. ;;
  10042. gnu*)
  10043. version_type=linux
  10044. need_lib_prefix=no
  10045. need_version=no
  10046. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  10047. soname_spec='${libname}${release}${shared_ext}$major'
  10048. shlibpath_var=LD_LIBRARY_PATH
  10049. hardcode_into_libs=yes
  10050. ;;
  10051. haiku*)
  10052. version_type=linux
  10053. need_lib_prefix=no
  10054. need_version=no
  10055. dynamic_linker="$host_os runtime_loader"
  10056. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  10057. soname_spec='${libname}${release}${shared_ext}$major'
  10058. shlibpath_var=LIBRARY_PATH
  10059. shlibpath_overrides_runpath=yes
  10060. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  10061. hardcode_into_libs=yes
  10062. ;;
  10063. hpux9* | hpux10* | hpux11*)
  10064. # Give a soname corresponding to the major version so that dld.sl refuses to
  10065. # link against other versions.
  10066. version_type=sunos
  10067. need_lib_prefix=no
  10068. need_version=no
  10069. case $host_cpu in
  10070. ia64*)
  10071. shrext_cmds='.so'
  10072. hardcode_into_libs=yes
  10073. dynamic_linker="$host_os dld.so"
  10074. shlibpath_var=LD_LIBRARY_PATH
  10075. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10076. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10077. soname_spec='${libname}${release}${shared_ext}$major'
  10078. if test "X$HPUX_IA64_MODE" = X32; then
  10079. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  10080. else
  10081. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  10082. fi
  10083. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10084. ;;
  10085. hppa*64*)
  10086. shrext_cmds='.sl'
  10087. hardcode_into_libs=yes
  10088. dynamic_linker="$host_os dld.sl"
  10089. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  10090. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  10091. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10092. soname_spec='${libname}${release}${shared_ext}$major'
  10093. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  10094. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  10095. ;;
  10096. *)
  10097. shrext_cmds='.sl'
  10098. dynamic_linker="$host_os dld.sl"
  10099. shlibpath_var=SHLIB_PATH
  10100. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  10101. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10102. soname_spec='${libname}${release}${shared_ext}$major'
  10103. ;;
  10104. esac
  10105. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  10106. postinstall_cmds='chmod 555 $lib'
  10107. # or fails outright, so override atomically:
  10108. install_override_mode=555
  10109. ;;
  10110. interix[3-9]*)
  10111. version_type=linux
  10112. need_lib_prefix=no
  10113. need_version=no
  10114. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10115. soname_spec='${libname}${release}${shared_ext}$major'
  10116. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  10117. shlibpath_var=LD_LIBRARY_PATH
  10118. shlibpath_overrides_runpath=no
  10119. hardcode_into_libs=yes
  10120. ;;
  10121. irix5* | irix6* | nonstopux*)
  10122. case $host_os in
  10123. nonstopux*) version_type=nonstopux ;;
  10124. *)
  10125. if test "$lt_cv_prog_gnu_ld" = yes; then
  10126. version_type=linux
  10127. else
  10128. version_type=irix
  10129. fi ;;
  10130. esac
  10131. need_lib_prefix=no
  10132. need_version=no
  10133. soname_spec='${libname}${release}${shared_ext}$major'
  10134. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  10135. case $host_os in
  10136. irix5* | nonstopux*)
  10137. libsuff= shlibsuff=
  10138. ;;
  10139. *)
  10140. case $LD in # libtool.m4 will add one of these switches to LD
  10141. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  10142. libsuff= shlibsuff= libmagic=32-bit;;
  10143. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  10144. libsuff=32 shlibsuff=N32 libmagic=N32;;
  10145. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  10146. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  10147. *) libsuff= shlibsuff= libmagic=never-match;;
  10148. esac
  10149. ;;
  10150. esac
  10151. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  10152. shlibpath_overrides_runpath=no
  10153. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  10154. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  10155. hardcode_into_libs=yes
  10156. ;;
  10157. # No shared lib support for Linux oldld, aout, or coff.
  10158. linux*oldld* | linux*aout* | linux*coff*)
  10159. dynamic_linker=no
  10160. ;;
  10161. # This must be Linux ELF.
  10162. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  10163. version_type=linux
  10164. need_lib_prefix=no
  10165. need_version=no
  10166. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10167. soname_spec='${libname}${release}${shared_ext}$major'
  10168. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  10169. shlibpath_var=LD_LIBRARY_PATH
  10170. shlibpath_overrides_runpath=no
  10171. # Some binutils ld are patched to set DT_RUNPATH
  10172. if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  10173. $as_echo_n "(cached) " >&6
  10174. else
  10175. lt_cv_shlibpath_overrides_runpath=no
  10176. save_LDFLAGS=$LDFLAGS
  10177. save_libdir=$libdir
  10178. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  10179. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  10180. if test x$gcc_no_link = xyes; then
  10181. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10182. fi
  10183. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10184. /* end confdefs.h. */
  10185. int
  10186. main ()
  10187. {
  10188. ;
  10189. return 0;
  10190. }
  10191. _ACEOF
  10192. if ac_fn_c_try_link "$LINENO"; then :
  10193. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  10194. lt_cv_shlibpath_overrides_runpath=yes
  10195. fi
  10196. fi
  10197. rm -f core conftest.err conftest.$ac_objext \
  10198. conftest$ac_exeext conftest.$ac_ext
  10199. LDFLAGS=$save_LDFLAGS
  10200. libdir=$save_libdir
  10201. fi
  10202. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  10203. # This implies no fast_install, which is unacceptable.
  10204. # Some rework will be needed to allow for fast_install
  10205. # before this can be enabled.
  10206. hardcode_into_libs=yes
  10207. # Append ld.so.conf contents to the search path
  10208. if test -f /etc/ld.so.conf; then
  10209. 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' ' '`
  10210. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  10211. fi
  10212. # We used to test for /lib/ld.so.1 and disable shared libraries on
  10213. # powerpc, because MkLinux only supported shared libraries with the
  10214. # GNU dynamic linker. Since this was broken with cross compilers,
  10215. # most powerpc-linux boxes support dynamic linking these days and
  10216. # people can always --disable-shared, the test was removed, and we
  10217. # assume the GNU/Linux dynamic linker is in use.
  10218. dynamic_linker='GNU/Linux ld.so'
  10219. ;;
  10220. netbsd*)
  10221. version_type=sunos
  10222. need_lib_prefix=no
  10223. need_version=no
  10224. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  10225. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10226. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10227. dynamic_linker='NetBSD (a.out) ld.so'
  10228. else
  10229. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  10230. soname_spec='${libname}${release}${shared_ext}$major'
  10231. dynamic_linker='NetBSD ld.elf_so'
  10232. fi
  10233. shlibpath_var=LD_LIBRARY_PATH
  10234. shlibpath_overrides_runpath=yes
  10235. hardcode_into_libs=yes
  10236. ;;
  10237. newsos6)
  10238. version_type=linux
  10239. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10240. shlibpath_var=LD_LIBRARY_PATH
  10241. shlibpath_overrides_runpath=yes
  10242. ;;
  10243. *nto* | *qnx*)
  10244. version_type=qnx
  10245. need_lib_prefix=no
  10246. need_version=no
  10247. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10248. soname_spec='${libname}${release}${shared_ext}$major'
  10249. shlibpath_var=LD_LIBRARY_PATH
  10250. shlibpath_overrides_runpath=no
  10251. hardcode_into_libs=yes
  10252. dynamic_linker='ldqnx.so'
  10253. ;;
  10254. openbsd*)
  10255. version_type=sunos
  10256. sys_lib_dlsearch_path_spec="/usr/lib"
  10257. need_lib_prefix=no
  10258. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  10259. case $host_os in
  10260. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  10261. *) need_version=no ;;
  10262. esac
  10263. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10264. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  10265. shlibpath_var=LD_LIBRARY_PATH
  10266. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10267. case $host_os in
  10268. openbsd2.[89] | openbsd2.[89].*)
  10269. shlibpath_overrides_runpath=no
  10270. ;;
  10271. *)
  10272. shlibpath_overrides_runpath=yes
  10273. ;;
  10274. esac
  10275. else
  10276. shlibpath_overrides_runpath=yes
  10277. fi
  10278. ;;
  10279. os2*)
  10280. libname_spec='$name'
  10281. shrext_cmds=".dll"
  10282. need_lib_prefix=no
  10283. library_names_spec='$libname${shared_ext} $libname.a'
  10284. dynamic_linker='OS/2 ld.exe'
  10285. shlibpath_var=LIBPATH
  10286. ;;
  10287. osf3* | osf4* | osf5*)
  10288. version_type=osf
  10289. need_lib_prefix=no
  10290. need_version=no
  10291. soname_spec='${libname}${release}${shared_ext}$major'
  10292. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10293. shlibpath_var=LD_LIBRARY_PATH
  10294. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  10295. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  10296. ;;
  10297. rdos*)
  10298. dynamic_linker=no
  10299. ;;
  10300. solaris*)
  10301. version_type=linux
  10302. need_lib_prefix=no
  10303. need_version=no
  10304. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10305. soname_spec='${libname}${release}${shared_ext}$major'
  10306. shlibpath_var=LD_LIBRARY_PATH
  10307. shlibpath_overrides_runpath=yes
  10308. hardcode_into_libs=yes
  10309. # ldd complains unless libraries are executable
  10310. postinstall_cmds='chmod +x $lib'
  10311. ;;
  10312. sunos4*)
  10313. version_type=sunos
  10314. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  10315. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  10316. shlibpath_var=LD_LIBRARY_PATH
  10317. shlibpath_overrides_runpath=yes
  10318. if test "$with_gnu_ld" = yes; then
  10319. need_lib_prefix=no
  10320. fi
  10321. need_version=yes
  10322. ;;
  10323. sysv4 | sysv4.3*)
  10324. version_type=linux
  10325. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10326. soname_spec='${libname}${release}${shared_ext}$major'
  10327. shlibpath_var=LD_LIBRARY_PATH
  10328. case $host_vendor in
  10329. sni)
  10330. shlibpath_overrides_runpath=no
  10331. need_lib_prefix=no
  10332. runpath_var=LD_RUN_PATH
  10333. ;;
  10334. siemens)
  10335. need_lib_prefix=no
  10336. ;;
  10337. motorola)
  10338. need_lib_prefix=no
  10339. need_version=no
  10340. shlibpath_overrides_runpath=no
  10341. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  10342. ;;
  10343. esac
  10344. ;;
  10345. sysv4*MP*)
  10346. if test -d /usr/nec ;then
  10347. version_type=linux
  10348. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  10349. soname_spec='$libname${shared_ext}.$major'
  10350. shlibpath_var=LD_LIBRARY_PATH
  10351. fi
  10352. ;;
  10353. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10354. version_type=freebsd-elf
  10355. need_lib_prefix=no
  10356. need_version=no
  10357. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  10358. soname_spec='${libname}${release}${shared_ext}$major'
  10359. shlibpath_var=LD_LIBRARY_PATH
  10360. shlibpath_overrides_runpath=yes
  10361. hardcode_into_libs=yes
  10362. if test "$with_gnu_ld" = yes; then
  10363. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  10364. else
  10365. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  10366. case $host_os in
  10367. sco3.2v5*)
  10368. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  10369. ;;
  10370. esac
  10371. fi
  10372. sys_lib_dlsearch_path_spec='/usr/lib'
  10373. ;;
  10374. tpf*)
  10375. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  10376. version_type=linux
  10377. need_lib_prefix=no
  10378. need_version=no
  10379. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10380. shlibpath_var=LD_LIBRARY_PATH
  10381. shlibpath_overrides_runpath=no
  10382. hardcode_into_libs=yes
  10383. ;;
  10384. uts4*)
  10385. version_type=linux
  10386. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  10387. soname_spec='${libname}${release}${shared_ext}$major'
  10388. shlibpath_var=LD_LIBRARY_PATH
  10389. ;;
  10390. *)
  10391. dynamic_linker=no
  10392. ;;
  10393. esac
  10394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  10395. $as_echo "$dynamic_linker" >&6; }
  10396. test "$dynamic_linker" = no && can_build_shared=no
  10397. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  10398. if test "$GCC" = yes; then
  10399. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  10400. fi
  10401. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  10402. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  10403. fi
  10404. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  10405. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  10406. fi
  10407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  10408. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  10409. hardcode_action=
  10410. if test -n "$hardcode_libdir_flag_spec" ||
  10411. test -n "$runpath_var" ||
  10412. test "X$hardcode_automatic" = "Xyes" ; then
  10413. # We can hardcode non-existent directories.
  10414. if test "$hardcode_direct" != no &&
  10415. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  10416. # have to relink, otherwise we might link with an installed library
  10417. # when we should be linking with a yet-to-be-installed one
  10418. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  10419. test "$hardcode_minus_L" != no; then
  10420. # Linking always hardcodes the temporary library directory.
  10421. hardcode_action=relink
  10422. else
  10423. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  10424. hardcode_action=immediate
  10425. fi
  10426. else
  10427. # We cannot hardcode anything, or else we can only hardcode existing
  10428. # directories.
  10429. hardcode_action=unsupported
  10430. fi
  10431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  10432. $as_echo "$hardcode_action" >&6; }
  10433. if test "$hardcode_action" = relink ||
  10434. test "$inherit_rpath" = yes; then
  10435. # Fast installation is not supported
  10436. enable_fast_install=no
  10437. elif test "$shlibpath_overrides_runpath" = yes ||
  10438. test "$enable_shared" = no; then
  10439. # Fast installation is not necessary
  10440. enable_fast_install=needless
  10441. fi
  10442. if test "x$enable_dlopen" != xyes; then
  10443. enable_dlopen=unknown
  10444. enable_dlopen_self=unknown
  10445. enable_dlopen_self_static=unknown
  10446. else
  10447. lt_cv_dlopen=no
  10448. lt_cv_dlopen_libs=
  10449. case $host_os in
  10450. beos*)
  10451. lt_cv_dlopen="load_add_on"
  10452. lt_cv_dlopen_libs=
  10453. lt_cv_dlopen_self=yes
  10454. ;;
  10455. mingw* | pw32* | cegcc*)
  10456. lt_cv_dlopen="LoadLibrary"
  10457. lt_cv_dlopen_libs=
  10458. ;;
  10459. cygwin*)
  10460. lt_cv_dlopen="dlopen"
  10461. lt_cv_dlopen_libs=
  10462. ;;
  10463. darwin*)
  10464. # if libdl is installed we need to link against it
  10465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10466. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10467. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  10468. $as_echo_n "(cached) " >&6
  10469. else
  10470. ac_check_lib_save_LIBS=$LIBS
  10471. LIBS="-ldl $LIBS"
  10472. if test x$gcc_no_link = xyes; then
  10473. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10474. fi
  10475. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10476. /* end confdefs.h. */
  10477. /* Override any GCC internal prototype to avoid an error.
  10478. Use char because int might match the return type of a GCC
  10479. builtin and then its argument prototype would still apply. */
  10480. #ifdef __cplusplus
  10481. extern "C"
  10482. #endif
  10483. char dlopen ();
  10484. int
  10485. main ()
  10486. {
  10487. return dlopen ();
  10488. ;
  10489. return 0;
  10490. }
  10491. _ACEOF
  10492. if ac_fn_c_try_link "$LINENO"; then :
  10493. ac_cv_lib_dl_dlopen=yes
  10494. else
  10495. ac_cv_lib_dl_dlopen=no
  10496. fi
  10497. rm -f core conftest.err conftest.$ac_objext \
  10498. conftest$ac_exeext conftest.$ac_ext
  10499. LIBS=$ac_check_lib_save_LIBS
  10500. fi
  10501. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10502. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10503. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  10504. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10505. else
  10506. lt_cv_dlopen="dyld"
  10507. lt_cv_dlopen_libs=
  10508. lt_cv_dlopen_self=yes
  10509. fi
  10510. ;;
  10511. *)
  10512. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  10513. if test "x$ac_cv_func_shl_load" = x""yes; then :
  10514. lt_cv_dlopen="shl_load"
  10515. else
  10516. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  10517. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  10518. if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  10519. $as_echo_n "(cached) " >&6
  10520. else
  10521. ac_check_lib_save_LIBS=$LIBS
  10522. LIBS="-ldld $LIBS"
  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. /* Override any GCC internal prototype to avoid an error.
  10529. Use char because int might match the return type of a GCC
  10530. builtin and then its argument prototype would still apply. */
  10531. #ifdef __cplusplus
  10532. extern "C"
  10533. #endif
  10534. char shl_load ();
  10535. int
  10536. main ()
  10537. {
  10538. return shl_load ();
  10539. ;
  10540. return 0;
  10541. }
  10542. _ACEOF
  10543. if ac_fn_c_try_link "$LINENO"; then :
  10544. ac_cv_lib_dld_shl_load=yes
  10545. else
  10546. ac_cv_lib_dld_shl_load=no
  10547. fi
  10548. rm -f core conftest.err conftest.$ac_objext \
  10549. conftest$ac_exeext conftest.$ac_ext
  10550. LIBS=$ac_check_lib_save_LIBS
  10551. fi
  10552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  10553. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  10554. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  10555. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  10556. else
  10557. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  10558. if test "x$ac_cv_func_dlopen" = x""yes; then :
  10559. lt_cv_dlopen="dlopen"
  10560. else
  10561. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  10562. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  10563. if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  10564. $as_echo_n "(cached) " >&6
  10565. else
  10566. ac_check_lib_save_LIBS=$LIBS
  10567. LIBS="-ldl $LIBS"
  10568. if test x$gcc_no_link = xyes; then
  10569. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10570. fi
  10571. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10572. /* end confdefs.h. */
  10573. /* Override any GCC internal prototype to avoid an error.
  10574. Use char because int might match the return type of a GCC
  10575. builtin and then its argument prototype would still apply. */
  10576. #ifdef __cplusplus
  10577. extern "C"
  10578. #endif
  10579. char dlopen ();
  10580. int
  10581. main ()
  10582. {
  10583. return dlopen ();
  10584. ;
  10585. return 0;
  10586. }
  10587. _ACEOF
  10588. if ac_fn_c_try_link "$LINENO"; then :
  10589. ac_cv_lib_dl_dlopen=yes
  10590. else
  10591. ac_cv_lib_dl_dlopen=no
  10592. fi
  10593. rm -f core conftest.err conftest.$ac_objext \
  10594. conftest$ac_exeext conftest.$ac_ext
  10595. LIBS=$ac_check_lib_save_LIBS
  10596. fi
  10597. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  10598. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10599. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  10600. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10601. else
  10602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  10603. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10604. if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  10605. $as_echo_n "(cached) " >&6
  10606. else
  10607. ac_check_lib_save_LIBS=$LIBS
  10608. LIBS="-lsvld $LIBS"
  10609. if test x$gcc_no_link = xyes; then
  10610. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10611. fi
  10612. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10613. /* end confdefs.h. */
  10614. /* Override any GCC internal prototype to avoid an error.
  10615. Use char because int might match the return type of a GCC
  10616. builtin and then its argument prototype would still apply. */
  10617. #ifdef __cplusplus
  10618. extern "C"
  10619. #endif
  10620. char dlopen ();
  10621. int
  10622. main ()
  10623. {
  10624. return dlopen ();
  10625. ;
  10626. return 0;
  10627. }
  10628. _ACEOF
  10629. if ac_fn_c_try_link "$LINENO"; then :
  10630. ac_cv_lib_svld_dlopen=yes
  10631. else
  10632. ac_cv_lib_svld_dlopen=no
  10633. fi
  10634. rm -f core conftest.err conftest.$ac_objext \
  10635. conftest$ac_exeext conftest.$ac_ext
  10636. LIBS=$ac_check_lib_save_LIBS
  10637. fi
  10638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  10639. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10640. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  10641. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10642. else
  10643. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  10644. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10645. if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  10646. $as_echo_n "(cached) " >&6
  10647. else
  10648. ac_check_lib_save_LIBS=$LIBS
  10649. LIBS="-ldld $LIBS"
  10650. if test x$gcc_no_link = xyes; then
  10651. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  10652. fi
  10653. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10654. /* end confdefs.h. */
  10655. /* Override any GCC internal prototype to avoid an error.
  10656. Use char because int might match the return type of a GCC
  10657. builtin and then its argument prototype would still apply. */
  10658. #ifdef __cplusplus
  10659. extern "C"
  10660. #endif
  10661. char dld_link ();
  10662. int
  10663. main ()
  10664. {
  10665. return dld_link ();
  10666. ;
  10667. return 0;
  10668. }
  10669. _ACEOF
  10670. if ac_fn_c_try_link "$LINENO"; then :
  10671. ac_cv_lib_dld_dld_link=yes
  10672. else
  10673. ac_cv_lib_dld_dld_link=no
  10674. fi
  10675. rm -f core conftest.err conftest.$ac_objext \
  10676. conftest$ac_exeext conftest.$ac_ext
  10677. LIBS=$ac_check_lib_save_LIBS
  10678. fi
  10679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  10680. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10681. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  10682. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  10683. fi
  10684. fi
  10685. fi
  10686. fi
  10687. fi
  10688. fi
  10689. ;;
  10690. esac
  10691. if test "x$lt_cv_dlopen" != xno; then
  10692. enable_dlopen=yes
  10693. else
  10694. enable_dlopen=no
  10695. fi
  10696. case $lt_cv_dlopen in
  10697. dlopen)
  10698. save_CPPFLAGS="$CPPFLAGS"
  10699. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10700. save_LDFLAGS="$LDFLAGS"
  10701. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10702. save_LIBS="$LIBS"
  10703. LIBS="$lt_cv_dlopen_libs $LIBS"
  10704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  10705. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10706. if test "${lt_cv_dlopen_self+set}" = set; then :
  10707. $as_echo_n "(cached) " >&6
  10708. else
  10709. if test "$cross_compiling" = yes; then :
  10710. lt_cv_dlopen_self=cross
  10711. else
  10712. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10713. lt_status=$lt_dlunknown
  10714. cat > conftest.$ac_ext <<_LT_EOF
  10715. #line 12379 "configure"
  10716. #include "confdefs.h"
  10717. #if HAVE_DLFCN_H
  10718. #include <dlfcn.h>
  10719. #endif
  10720. #include <stdio.h>
  10721. #ifdef RTLD_GLOBAL
  10722. # define LT_DLGLOBAL RTLD_GLOBAL
  10723. #else
  10724. # ifdef DL_GLOBAL
  10725. # define LT_DLGLOBAL DL_GLOBAL
  10726. # else
  10727. # define LT_DLGLOBAL 0
  10728. # endif
  10729. #endif
  10730. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10731. find out it does not work in some platform. */
  10732. #ifndef LT_DLLAZY_OR_NOW
  10733. # ifdef RTLD_LAZY
  10734. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10735. # else
  10736. # ifdef DL_LAZY
  10737. # define LT_DLLAZY_OR_NOW DL_LAZY
  10738. # else
  10739. # ifdef RTLD_NOW
  10740. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10741. # else
  10742. # ifdef DL_NOW
  10743. # define LT_DLLAZY_OR_NOW DL_NOW
  10744. # else
  10745. # define LT_DLLAZY_OR_NOW 0
  10746. # endif
  10747. # endif
  10748. # endif
  10749. # endif
  10750. #endif
  10751. /* When -fvisbility=hidden is used, assume the code has been annotated
  10752. correspondingly for the symbols needed. */
  10753. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10754. void fnord () __attribute__((visibility("default")));
  10755. #endif
  10756. void fnord () { int i=42; }
  10757. int main ()
  10758. {
  10759. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10760. int status = $lt_dlunknown;
  10761. if (self)
  10762. {
  10763. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10764. else
  10765. {
  10766. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10767. else puts (dlerror ());
  10768. }
  10769. /* dlclose (self); */
  10770. }
  10771. else
  10772. puts (dlerror ());
  10773. return status;
  10774. }
  10775. _LT_EOF
  10776. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10777. (eval $ac_link) 2>&5
  10778. ac_status=$?
  10779. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10780. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10781. (./conftest; exit; ) >&5 2>/dev/null
  10782. lt_status=$?
  10783. case x$lt_status in
  10784. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10785. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10786. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10787. esac
  10788. else :
  10789. # compilation failed
  10790. lt_cv_dlopen_self=no
  10791. fi
  10792. fi
  10793. rm -fr conftest*
  10794. fi
  10795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  10796. $as_echo "$lt_cv_dlopen_self" >&6; }
  10797. if test "x$lt_cv_dlopen_self" = xyes; then
  10798. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10799. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  10800. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10801. if test "${lt_cv_dlopen_self_static+set}" = set; then :
  10802. $as_echo_n "(cached) " >&6
  10803. else
  10804. if test "$cross_compiling" = yes; then :
  10805. lt_cv_dlopen_self_static=cross
  10806. else
  10807. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10808. lt_status=$lt_dlunknown
  10809. cat > conftest.$ac_ext <<_LT_EOF
  10810. #line 12485 "configure"
  10811. #include "confdefs.h"
  10812. #if HAVE_DLFCN_H
  10813. #include <dlfcn.h>
  10814. #endif
  10815. #include <stdio.h>
  10816. #ifdef RTLD_GLOBAL
  10817. # define LT_DLGLOBAL RTLD_GLOBAL
  10818. #else
  10819. # ifdef DL_GLOBAL
  10820. # define LT_DLGLOBAL DL_GLOBAL
  10821. # else
  10822. # define LT_DLGLOBAL 0
  10823. # endif
  10824. #endif
  10825. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10826. find out it does not work in some platform. */
  10827. #ifndef LT_DLLAZY_OR_NOW
  10828. # ifdef RTLD_LAZY
  10829. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10830. # else
  10831. # ifdef DL_LAZY
  10832. # define LT_DLLAZY_OR_NOW DL_LAZY
  10833. # else
  10834. # ifdef RTLD_NOW
  10835. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10836. # else
  10837. # ifdef DL_NOW
  10838. # define LT_DLLAZY_OR_NOW DL_NOW
  10839. # else
  10840. # define LT_DLLAZY_OR_NOW 0
  10841. # endif
  10842. # endif
  10843. # endif
  10844. # endif
  10845. #endif
  10846. /* When -fvisbility=hidden is used, assume the code has been annotated
  10847. correspondingly for the symbols needed. */
  10848. #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  10849. void fnord () __attribute__((visibility("default")));
  10850. #endif
  10851. void fnord () { int i=42; }
  10852. int main ()
  10853. {
  10854. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10855. int status = $lt_dlunknown;
  10856. if (self)
  10857. {
  10858. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10859. else
  10860. {
  10861. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10862. else puts (dlerror ());
  10863. }
  10864. /* dlclose (self); */
  10865. }
  10866. else
  10867. puts (dlerror ());
  10868. return status;
  10869. }
  10870. _LT_EOF
  10871. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10872. (eval $ac_link) 2>&5
  10873. ac_status=$?
  10874. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10875. test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  10876. (./conftest; exit; ) >&5 2>/dev/null
  10877. lt_status=$?
  10878. case x$lt_status in
  10879. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10880. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10881. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10882. esac
  10883. else :
  10884. # compilation failed
  10885. lt_cv_dlopen_self_static=no
  10886. fi
  10887. fi
  10888. rm -fr conftest*
  10889. fi
  10890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  10891. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10892. fi
  10893. CPPFLAGS="$save_CPPFLAGS"
  10894. LDFLAGS="$save_LDFLAGS"
  10895. LIBS="$save_LIBS"
  10896. ;;
  10897. esac
  10898. case $lt_cv_dlopen_self in
  10899. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10900. *) enable_dlopen_self=unknown ;;
  10901. esac
  10902. case $lt_cv_dlopen_self_static in
  10903. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10904. *) enable_dlopen_self_static=unknown ;;
  10905. esac
  10906. fi
  10907. striplib=
  10908. old_striplib=
  10909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  10910. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10911. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10912. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10913. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10914. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10915. $as_echo "yes" >&6; }
  10916. else
  10917. # FIXME - insert some real tests, host_os isn't really good enough
  10918. case $host_os in
  10919. darwin*)
  10920. if test -n "$STRIP" ; then
  10921. striplib="$STRIP -x"
  10922. old_striplib="$STRIP -S"
  10923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10924. $as_echo "yes" >&6; }
  10925. else
  10926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10927. $as_echo "no" >&6; }
  10928. fi
  10929. ;;
  10930. *)
  10931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10932. $as_echo "no" >&6; }
  10933. ;;
  10934. esac
  10935. fi
  10936. # Report which library types will actually be built
  10937. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  10938. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  10940. $as_echo "$can_build_shared" >&6; }
  10941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  10942. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10943. test "$can_build_shared" = "no" && enable_shared=no
  10944. # On AIX, shared libraries and static libraries use the same namespace, and
  10945. # are all built from PIC.
  10946. case $host_os in
  10947. aix3*)
  10948. test "$enable_shared" = yes && enable_static=no
  10949. if test -n "$RANLIB"; then
  10950. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10951. postinstall_cmds='$RANLIB $lib'
  10952. fi
  10953. ;;
  10954. aix[4-9]*)
  10955. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10956. test "$enable_shared" = yes && enable_static=no
  10957. fi
  10958. ;;
  10959. esac
  10960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  10961. $as_echo "$enable_shared" >&6; }
  10962. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  10963. $as_echo_n "checking whether to build static libraries... " >&6; }
  10964. # Make sure either enable_shared or enable_static is yes.
  10965. test "$enable_shared" = yes || enable_static=yes
  10966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  10967. $as_echo "$enable_static" >&6; }
  10968. fi
  10969. ac_ext=c
  10970. ac_cpp='$CPP $CPPFLAGS'
  10971. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10972. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10973. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10974. CC="$lt_save_CC"
  10975. ac_config_commands="$ac_config_commands libtool"
  10976. # Only expand once:
  10977. case $host in
  10978. *-cygwin* | *-mingw*)
  10979. # 'host' will be top-level target in the case of a target lib,
  10980. # we must compare to with_cross_host to decide if this is a native
  10981. # or cross-compiler and select where to install dlls appropriately.
  10982. if test -n "$with_cross_host" &&
  10983. test x"$with_cross_host" != x"no"; then
  10984. lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
  10985. else
  10986. lt_host_flags='-no-undefined -bindir "$(bindir)"';
  10987. fi
  10988. ;;
  10989. *)
  10990. lt_host_flags=
  10991. ;;
  10992. esac
  10993. #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
  10994. # We need gfortran to compile parts of the library
  10995. #AC_PROG_FC(gfortran)
  10996. FC="$GFORTRAN"
  10997. ac_ext=${ac_fc_srcext-f}
  10998. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  10999. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  11000. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  11001. if test -n "$ac_tool_prefix"; then
  11002. for ac_prog in gfortran
  11003. do
  11004. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  11005. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  11006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11007. $as_echo_n "checking for $ac_word... " >&6; }
  11008. if test "${ac_cv_prog_FC+set}" = set; then :
  11009. $as_echo_n "(cached) " >&6
  11010. else
  11011. if test -n "$FC"; then
  11012. ac_cv_prog_FC="$FC" # Let the user override the test.
  11013. else
  11014. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11015. for as_dir in $PATH
  11016. do
  11017. IFS=$as_save_IFS
  11018. test -z "$as_dir" && as_dir=.
  11019. for ac_exec_ext in '' $ac_executable_extensions; do
  11020. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11021. ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
  11022. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11023. break 2
  11024. fi
  11025. done
  11026. done
  11027. IFS=$as_save_IFS
  11028. fi
  11029. fi
  11030. FC=$ac_cv_prog_FC
  11031. if test -n "$FC"; then
  11032. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
  11033. $as_echo "$FC" >&6; }
  11034. else
  11035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11036. $as_echo "no" >&6; }
  11037. fi
  11038. test -n "$FC" && break
  11039. done
  11040. fi
  11041. if test -z "$FC"; then
  11042. ac_ct_FC=$FC
  11043. for ac_prog in gfortran
  11044. do
  11045. # Extract the first word of "$ac_prog", so it can be a program name with args.
  11046. set dummy $ac_prog; ac_word=$2
  11047. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11048. $as_echo_n "checking for $ac_word... " >&6; }
  11049. if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
  11050. $as_echo_n "(cached) " >&6
  11051. else
  11052. if test -n "$ac_ct_FC"; then
  11053. ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
  11054. else
  11055. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11056. for as_dir in $PATH
  11057. do
  11058. IFS=$as_save_IFS
  11059. test -z "$as_dir" && as_dir=.
  11060. for ac_exec_ext in '' $ac_executable_extensions; do
  11061. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11062. ac_cv_prog_ac_ct_FC="$ac_prog"
  11063. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11064. break 2
  11065. fi
  11066. done
  11067. done
  11068. IFS=$as_save_IFS
  11069. fi
  11070. fi
  11071. ac_ct_FC=$ac_cv_prog_ac_ct_FC
  11072. if test -n "$ac_ct_FC"; then
  11073. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
  11074. $as_echo "$ac_ct_FC" >&6; }
  11075. else
  11076. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11077. $as_echo "no" >&6; }
  11078. fi
  11079. test -n "$ac_ct_FC" && break
  11080. done
  11081. if test "x$ac_ct_FC" = x; then
  11082. FC=""
  11083. else
  11084. case $cross_compiling:$ac_tool_warned in
  11085. yes:)
  11086. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11087. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11088. ac_tool_warned=yes ;;
  11089. esac
  11090. FC=$ac_ct_FC
  11091. fi
  11092. fi
  11093. # Provide some information about the compiler.
  11094. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
  11095. set X $ac_compile
  11096. ac_compiler=$2
  11097. for ac_option in --version -v -V -qversion; do
  11098. { { ac_try="$ac_compiler $ac_option >&5"
  11099. case "(($ac_try" in
  11100. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11101. *) ac_try_echo=$ac_try;;
  11102. esac
  11103. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11104. $as_echo "$ac_try_echo"; } >&5
  11105. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  11106. ac_status=$?
  11107. if test -s conftest.err; then
  11108. sed '10a\
  11109. ... rest of stderr output deleted ...
  11110. 10q' conftest.err >conftest.er1
  11111. cat conftest.er1 >&5
  11112. rm -f conftest.er1 conftest.err
  11113. fi
  11114. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11115. test $ac_status = 0; }
  11116. done
  11117. rm -f a.out
  11118. # If we don't use `.F' as extension, the preprocessor is not run on the
  11119. # input file. (Note that this only needs to work for GNU compilers.)
  11120. ac_save_ext=$ac_ext
  11121. ac_ext=F
  11122. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
  11123. $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
  11124. if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
  11125. $as_echo_n "(cached) " >&6
  11126. else
  11127. cat > conftest.$ac_ext <<_ACEOF
  11128. program main
  11129. #ifndef __GNUC__
  11130. choke me
  11131. #endif
  11132. end
  11133. _ACEOF
  11134. if ac_fn_fc_try_compile "$LINENO"; then :
  11135. ac_compiler_gnu=yes
  11136. else
  11137. ac_compiler_gnu=no
  11138. fi
  11139. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11140. ac_cv_fc_compiler_gnu=$ac_compiler_gnu
  11141. fi
  11142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
  11143. $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
  11144. ac_ext=$ac_save_ext
  11145. ac_test_FCFLAGS=${FCFLAGS+set}
  11146. ac_save_FCFLAGS=$FCFLAGS
  11147. FCFLAGS=
  11148. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
  11149. $as_echo_n "checking whether $FC accepts -g... " >&6; }
  11150. if test "${ac_cv_prog_fc_g+set}" = set; then :
  11151. $as_echo_n "(cached) " >&6
  11152. else
  11153. FCFLAGS=-g
  11154. cat > conftest.$ac_ext <<_ACEOF
  11155. program main
  11156. end
  11157. _ACEOF
  11158. if ac_fn_fc_try_compile "$LINENO"; then :
  11159. ac_cv_prog_fc_g=yes
  11160. else
  11161. ac_cv_prog_fc_g=no
  11162. fi
  11163. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11164. fi
  11165. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
  11166. $as_echo "$ac_cv_prog_fc_g" >&6; }
  11167. if test "$ac_test_FCFLAGS" = set; then
  11168. FCFLAGS=$ac_save_FCFLAGS
  11169. elif test $ac_cv_prog_fc_g = yes; then
  11170. if test "x$ac_cv_fc_compiler_gnu" = xyes; then
  11171. FCFLAGS="-g -O2"
  11172. else
  11173. FCFLAGS="-g"
  11174. fi
  11175. else
  11176. if test "x$ac_cv_fc_compiler_gnu" = xyes; then
  11177. FCFLAGS="-O2"
  11178. else
  11179. FCFLAGS=
  11180. fi
  11181. fi
  11182. ac_ext=c
  11183. ac_cpp='$CPP $CPPFLAGS'
  11184. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11185. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11186. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11187. ac_ext=${ac_fc_srcext-f}
  11188. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  11189. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  11190. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  11191. if test -z "$FC" || test "X$FC" = "Xno"; then
  11192. _lt_disable_FC=yes
  11193. fi
  11194. archive_cmds_need_lc_FC=no
  11195. allow_undefined_flag_FC=
  11196. always_export_symbols_FC=no
  11197. archive_expsym_cmds_FC=
  11198. export_dynamic_flag_spec_FC=
  11199. hardcode_direct_FC=no
  11200. hardcode_direct_absolute_FC=no
  11201. hardcode_libdir_flag_spec_FC=
  11202. hardcode_libdir_flag_spec_ld_FC=
  11203. hardcode_libdir_separator_FC=
  11204. hardcode_minus_L_FC=no
  11205. hardcode_automatic_FC=no
  11206. inherit_rpath_FC=no
  11207. module_cmds_FC=
  11208. module_expsym_cmds_FC=
  11209. link_all_deplibs_FC=unknown
  11210. old_archive_cmds_FC=$old_archive_cmds
  11211. reload_flag_FC=$reload_flag
  11212. reload_cmds_FC=$reload_cmds
  11213. no_undefined_flag_FC=
  11214. whole_archive_flag_spec_FC=
  11215. enable_shared_with_static_runtimes_FC=no
  11216. # Source file extension for fc test sources.
  11217. ac_ext=${ac_fc_srcext-f}
  11218. # Object file extension for compiled fc test sources.
  11219. objext=o
  11220. objext_FC=$objext
  11221. # No sense in running all these tests if we already determined that
  11222. # the FC compiler isn't working. Some variables (like enable_shared)
  11223. # are currently assumed to apply to all compilers on this platform,
  11224. # and will be corrupted by setting them based on a non-working compiler.
  11225. if test "$_lt_disable_FC" != yes; then
  11226. # Code to be used in simple compile tests
  11227. lt_simple_compile_test_code="\
  11228. subroutine t
  11229. return
  11230. end
  11231. "
  11232. # Code to be used in simple link tests
  11233. lt_simple_link_test_code="\
  11234. program t
  11235. end
  11236. "
  11237. # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  11238. # If no C compiler was specified, use CC.
  11239. LTCC=${LTCC-"$CC"}
  11240. # If no C compiler flags were specified, use CFLAGS.
  11241. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  11242. # Allow CC to be a program name with arguments.
  11243. compiler=$CC
  11244. # save warnings/boilerplate of simple test code
  11245. ac_outfile=conftest.$ac_objext
  11246. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  11247. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11248. _lt_compiler_boilerplate=`cat conftest.err`
  11249. $RM conftest*
  11250. ac_outfile=conftest.$ac_objext
  11251. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  11252. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11253. _lt_linker_boilerplate=`cat conftest.err`
  11254. $RM -r conftest*
  11255. # Allow CC to be a program name with arguments.
  11256. lt_save_CC="$CC"
  11257. lt_save_GCC=$GCC
  11258. CC=${FC-"f95"}
  11259. compiler=$CC
  11260. GCC=$ac_cv_fc_compiler_gnu
  11261. compiler_FC=$CC
  11262. for cc_temp in $compiler""; do
  11263. case $cc_temp in
  11264. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  11265. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  11266. \-*) ;;
  11267. *) break;;
  11268. esac
  11269. done
  11270. cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  11271. if test -n "$compiler"; then
  11272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  11273. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  11274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  11275. $as_echo "$can_build_shared" >&6; }
  11276. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  11277. $as_echo_n "checking whether to build shared libraries... " >&6; }
  11278. test "$can_build_shared" = "no" && enable_shared=no
  11279. # On AIX, shared libraries and static libraries use the same namespace, and
  11280. # are all built from PIC.
  11281. case $host_os in
  11282. aix3*)
  11283. test "$enable_shared" = yes && enable_static=no
  11284. if test -n "$RANLIB"; then
  11285. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  11286. postinstall_cmds='$RANLIB $lib'
  11287. fi
  11288. ;;
  11289. aix[4-9]*)
  11290. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  11291. test "$enable_shared" = yes && enable_static=no
  11292. fi
  11293. ;;
  11294. esac
  11295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  11296. $as_echo "$enable_shared" >&6; }
  11297. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  11298. $as_echo_n "checking whether to build static libraries... " >&6; }
  11299. # Make sure either enable_shared or enable_static is yes.
  11300. test "$enable_shared" = yes || enable_static=yes
  11301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  11302. $as_echo "$enable_static" >&6; }
  11303. GCC_FC="$ac_cv_fc_compiler_gnu"
  11304. LD_FC="$LD"
  11305. ## CAVEAT EMPTOR:
  11306. ## There is no encapsulation within the following macros, do not change
  11307. ## the running order or otherwise move them around unless you know exactly
  11308. ## what you are doing...
  11309. # Dependencies to place before and after the object being linked:
  11310. predep_objects_FC=
  11311. postdep_objects_FC=
  11312. predeps_FC=
  11313. postdeps_FC=
  11314. compiler_lib_search_path_FC=
  11315. cat > conftest.$ac_ext <<_LT_EOF
  11316. subroutine foo
  11317. implicit none
  11318. integer a
  11319. a=0
  11320. return
  11321. end
  11322. _LT_EOF
  11323. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11324. (eval $ac_compile) 2>&5
  11325. ac_status=$?
  11326. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11327. test $ac_status = 0; }; then
  11328. # Parse the compiler output and extract the necessary
  11329. # objects, libraries and library flags.
  11330. # Sentinel used to keep track of whether or not we are before
  11331. # the conftest object file.
  11332. pre_test_object_deps_done=no
  11333. for p in `eval "$output_verbose_link_cmd"`; do
  11334. case $p in
  11335. -L* | -R* | -l*)
  11336. # Some compilers place space between "-{L,R}" and the path.
  11337. # Remove the space.
  11338. if test $p = "-L" ||
  11339. test $p = "-R"; then
  11340. prev=$p
  11341. continue
  11342. else
  11343. prev=
  11344. fi
  11345. if test "$pre_test_object_deps_done" = no; then
  11346. case $p in
  11347. -L* | -R*)
  11348. # Internal compiler library paths should come after those
  11349. # provided the user. The postdeps already come after the
  11350. # user supplied libs so there is no need to process them.
  11351. if test -z "$compiler_lib_search_path_FC"; then
  11352. compiler_lib_search_path_FC="${prev}${p}"
  11353. else
  11354. compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
  11355. fi
  11356. ;;
  11357. # The "-l" case would never come before the object being
  11358. # linked, so don't bother handling this case.
  11359. esac
  11360. else
  11361. if test -z "$postdeps_FC"; then
  11362. postdeps_FC="${prev}${p}"
  11363. else
  11364. postdeps_FC="${postdeps_FC} ${prev}${p}"
  11365. fi
  11366. fi
  11367. ;;
  11368. *.$objext)
  11369. # This assumes that the test object file only shows up
  11370. # once in the compiler output.
  11371. if test "$p" = "conftest.$objext"; then
  11372. pre_test_object_deps_done=yes
  11373. continue
  11374. fi
  11375. if test "$pre_test_object_deps_done" = no; then
  11376. if test -z "$predep_objects_FC"; then
  11377. predep_objects_FC="$p"
  11378. else
  11379. predep_objects_FC="$predep_objects_FC $p"
  11380. fi
  11381. else
  11382. if test -z "$postdep_objects_FC"; then
  11383. postdep_objects_FC="$p"
  11384. else
  11385. postdep_objects_FC="$postdep_objects_FC $p"
  11386. fi
  11387. fi
  11388. ;;
  11389. *) ;; # Ignore the rest.
  11390. esac
  11391. done
  11392. # Clean up.
  11393. rm -f a.out a.exe
  11394. else
  11395. echo "libtool.m4: error: problem compiling FC test program"
  11396. fi
  11397. $RM -f confest.$objext
  11398. # PORTME: override above test on systems where it is broken
  11399. case " $postdeps_FC " in
  11400. *" -lc "*) archive_cmds_need_lc_FC=no ;;
  11401. esac
  11402. compiler_lib_search_dirs_FC=
  11403. if test -n "${compiler_lib_search_path_FC}"; then
  11404. compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  11405. fi
  11406. lt_prog_compiler_wl_FC=
  11407. lt_prog_compiler_pic_FC=
  11408. lt_prog_compiler_static_FC=
  11409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  11410. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  11411. if test "$GCC" = yes; then
  11412. lt_prog_compiler_wl_FC='-Wl,'
  11413. lt_prog_compiler_static_FC='-static'
  11414. case $host_os in
  11415. aix*)
  11416. # All AIX code is PIC.
  11417. if test "$host_cpu" = ia64; then
  11418. # AIX 5 now supports IA64 processor
  11419. lt_prog_compiler_static_FC='-Bstatic'
  11420. fi
  11421. lt_prog_compiler_pic_FC='-fPIC'
  11422. ;;
  11423. amigaos*)
  11424. case $host_cpu in
  11425. powerpc)
  11426. # see comment about AmigaOS4 .so support
  11427. lt_prog_compiler_pic_FC='-fPIC'
  11428. ;;
  11429. m68k)
  11430. # FIXME: we need at least 68020 code to build shared libraries, but
  11431. # adding the `-m68020' flag to GCC prevents building anything better,
  11432. # like `-m68040'.
  11433. lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
  11434. ;;
  11435. esac
  11436. ;;
  11437. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  11438. # PIC is the default for these OSes.
  11439. ;;
  11440. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11441. # This hack is so that the source file can tell whether it is being
  11442. # built for inclusion in a dll (and should export symbols for example).
  11443. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  11444. # (--disable-auto-import) libraries
  11445. lt_prog_compiler_pic_FC='-DDLL_EXPORT'
  11446. ;;
  11447. darwin* | rhapsody*)
  11448. # PIC is the default on this platform
  11449. # Common symbols not allowed in MH_DYLIB files
  11450. lt_prog_compiler_pic_FC='-fno-common'
  11451. ;;
  11452. haiku*)
  11453. # PIC is the default for Haiku.
  11454. # The "-static" flag exists, but is broken.
  11455. lt_prog_compiler_static_FC=
  11456. ;;
  11457. hpux*)
  11458. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  11459. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  11460. # sets the default TLS model and affects inlining.
  11461. case $host_cpu in
  11462. hppa*64*)
  11463. # +Z the default
  11464. ;;
  11465. *)
  11466. lt_prog_compiler_pic_FC='-fPIC'
  11467. ;;
  11468. esac
  11469. ;;
  11470. interix[3-9]*)
  11471. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  11472. # Instead, we relocate shared libraries at runtime.
  11473. ;;
  11474. msdosdjgpp*)
  11475. # Just because we use GCC doesn't mean we suddenly get shared libraries
  11476. # on systems that don't support them.
  11477. lt_prog_compiler_can_build_shared_FC=no
  11478. enable_shared=no
  11479. ;;
  11480. *nto* | *qnx*)
  11481. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11482. # it will coredump.
  11483. lt_prog_compiler_pic_FC='-fPIC -shared'
  11484. ;;
  11485. sysv4*MP*)
  11486. if test -d /usr/nec; then
  11487. lt_prog_compiler_pic_FC=-Kconform_pic
  11488. fi
  11489. ;;
  11490. *)
  11491. lt_prog_compiler_pic_FC='-fPIC'
  11492. ;;
  11493. esac
  11494. case $cc_basename in
  11495. nvcc*) # Cuda Compiler Driver 2.2
  11496. lt_prog_compiler_wl_FC='-Xlinker '
  11497. lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
  11498. ;;
  11499. esac
  11500. else
  11501. # PORTME Check for flag to pass linker flags through the system compiler.
  11502. case $host_os in
  11503. aix*)
  11504. lt_prog_compiler_wl_FC='-Wl,'
  11505. if test "$host_cpu" = ia64; then
  11506. # AIX 5 now supports IA64 processor
  11507. lt_prog_compiler_static_FC='-Bstatic'
  11508. else
  11509. lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
  11510. fi
  11511. ;;
  11512. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11513. # This hack is so that the source file can tell whether it is being
  11514. # built for inclusion in a dll (and should export symbols for example).
  11515. lt_prog_compiler_pic_FC='-DDLL_EXPORT'
  11516. ;;
  11517. hpux9* | hpux10* | hpux11*)
  11518. lt_prog_compiler_wl_FC='-Wl,'
  11519. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  11520. # not for PA HP-UX.
  11521. case $host_cpu in
  11522. hppa*64*|ia64*)
  11523. # +Z the default
  11524. ;;
  11525. *)
  11526. lt_prog_compiler_pic_FC='+Z'
  11527. ;;
  11528. esac
  11529. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  11530. lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
  11531. ;;
  11532. irix5* | irix6* | nonstopux*)
  11533. lt_prog_compiler_wl_FC='-Wl,'
  11534. # PIC (with -KPIC) is the default.
  11535. lt_prog_compiler_static_FC='-non_shared'
  11536. ;;
  11537. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  11538. case $cc_basename in
  11539. # old Intel for x86_64 which still supported -KPIC.
  11540. ecc*)
  11541. lt_prog_compiler_wl_FC='-Wl,'
  11542. lt_prog_compiler_pic_FC='-KPIC'
  11543. lt_prog_compiler_static_FC='-static'
  11544. ;;
  11545. # icc used to be incompatible with GCC.
  11546. # ICC 10 doesn't accept -KPIC any more.
  11547. icc* | ifort*)
  11548. lt_prog_compiler_wl_FC='-Wl,'
  11549. lt_prog_compiler_pic_FC='-fPIC'
  11550. lt_prog_compiler_static_FC='-static'
  11551. ;;
  11552. # Lahey Fortran 8.1.
  11553. lf95*)
  11554. lt_prog_compiler_wl_FC='-Wl,'
  11555. lt_prog_compiler_pic_FC='--shared'
  11556. lt_prog_compiler_static_FC='--static'
  11557. ;;
  11558. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  11559. # Portland Group compilers (*not* the Pentium gcc compiler,
  11560. # which looks to be a dead project)
  11561. lt_prog_compiler_wl_FC='-Wl,'
  11562. lt_prog_compiler_pic_FC='-fpic'
  11563. lt_prog_compiler_static_FC='-Bstatic'
  11564. ;;
  11565. ccc*)
  11566. lt_prog_compiler_wl_FC='-Wl,'
  11567. # All Alpha code is PIC.
  11568. lt_prog_compiler_static_FC='-non_shared'
  11569. ;;
  11570. xl* | bgxl* | bgf* | mpixl*)
  11571. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  11572. lt_prog_compiler_wl_FC='-Wl,'
  11573. lt_prog_compiler_pic_FC='-qpic'
  11574. lt_prog_compiler_static_FC='-qstaticlink'
  11575. ;;
  11576. *)
  11577. case `$CC -V 2>&1 | sed 5q` in
  11578. *Sun\ F* | *Sun*Fortran*)
  11579. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  11580. lt_prog_compiler_pic_FC='-KPIC'
  11581. lt_prog_compiler_static_FC='-Bstatic'
  11582. lt_prog_compiler_wl_FC=''
  11583. ;;
  11584. *Sun\ C*)
  11585. # Sun C 5.9
  11586. lt_prog_compiler_pic_FC='-KPIC'
  11587. lt_prog_compiler_static_FC='-Bstatic'
  11588. lt_prog_compiler_wl_FC='-Wl,'
  11589. ;;
  11590. esac
  11591. ;;
  11592. esac
  11593. ;;
  11594. newsos6)
  11595. lt_prog_compiler_pic_FC='-KPIC'
  11596. lt_prog_compiler_static_FC='-Bstatic'
  11597. ;;
  11598. *nto* | *qnx*)
  11599. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11600. # it will coredump.
  11601. lt_prog_compiler_pic_FC='-fPIC -shared'
  11602. ;;
  11603. osf3* | osf4* | osf5*)
  11604. lt_prog_compiler_wl_FC='-Wl,'
  11605. # All OSF/1 code is PIC.
  11606. lt_prog_compiler_static_FC='-non_shared'
  11607. ;;
  11608. rdos*)
  11609. lt_prog_compiler_static_FC='-non_shared'
  11610. ;;
  11611. solaris*)
  11612. lt_prog_compiler_pic_FC='-KPIC'
  11613. lt_prog_compiler_static_FC='-Bstatic'
  11614. case $cc_basename in
  11615. f77* | f90* | f95*)
  11616. lt_prog_compiler_wl_FC='-Qoption ld ';;
  11617. *)
  11618. lt_prog_compiler_wl_FC='-Wl,';;
  11619. esac
  11620. ;;
  11621. sunos4*)
  11622. lt_prog_compiler_wl_FC='-Qoption ld '
  11623. lt_prog_compiler_pic_FC='-PIC'
  11624. lt_prog_compiler_static_FC='-Bstatic'
  11625. ;;
  11626. sysv4 | sysv4.2uw2* | sysv4.3*)
  11627. lt_prog_compiler_wl_FC='-Wl,'
  11628. lt_prog_compiler_pic_FC='-KPIC'
  11629. lt_prog_compiler_static_FC='-Bstatic'
  11630. ;;
  11631. sysv4*MP*)
  11632. if test -d /usr/nec ;then
  11633. lt_prog_compiler_pic_FC='-Kconform_pic'
  11634. lt_prog_compiler_static_FC='-Bstatic'
  11635. fi
  11636. ;;
  11637. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  11638. lt_prog_compiler_wl_FC='-Wl,'
  11639. lt_prog_compiler_pic_FC='-KPIC'
  11640. lt_prog_compiler_static_FC='-Bstatic'
  11641. ;;
  11642. unicos*)
  11643. lt_prog_compiler_wl_FC='-Wl,'
  11644. lt_prog_compiler_can_build_shared_FC=no
  11645. ;;
  11646. uts4*)
  11647. lt_prog_compiler_pic_FC='-pic'
  11648. lt_prog_compiler_static_FC='-Bstatic'
  11649. ;;
  11650. *)
  11651. lt_prog_compiler_can_build_shared_FC=no
  11652. ;;
  11653. esac
  11654. fi
  11655. case $host_os in
  11656. # For platforms which do not support PIC, -DPIC is meaningless:
  11657. *djgpp*)
  11658. lt_prog_compiler_pic_FC=
  11659. ;;
  11660. *)
  11661. lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
  11662. ;;
  11663. esac
  11664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
  11665. $as_echo "$lt_prog_compiler_pic_FC" >&6; }
  11666. #
  11667. # Check to make sure the PIC flag actually works.
  11668. #
  11669. if test -n "$lt_prog_compiler_pic_FC"; then
  11670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
  11671. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
  11672. if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
  11673. $as_echo_n "(cached) " >&6
  11674. else
  11675. lt_cv_prog_compiler_pic_works_FC=no
  11676. ac_outfile=conftest.$ac_objext
  11677. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11678. lt_compiler_flag="$lt_prog_compiler_pic_FC"
  11679. # Insert the option either (1) after the last *FLAGS variable, or
  11680. # (2) before a word containing "conftest.", or (3) at the end.
  11681. # Note that $ac_compile itself does not contain backslashes and begins
  11682. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11683. # The option is referenced via a variable to avoid confusing sed.
  11684. lt_compile=`echo "$ac_compile" | $SED \
  11685. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11686. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11687. -e 's:$: $lt_compiler_flag:'`
  11688. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  11689. (eval "$lt_compile" 2>conftest.err)
  11690. ac_status=$?
  11691. cat conftest.err >&5
  11692. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11693. if (exit $ac_status) && test -s "$ac_outfile"; then
  11694. # The compiler can only warn and ignore the option if not recognized
  11695. # So say no if there are warnings other than the usual output.
  11696. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  11697. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11698. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  11699. lt_cv_prog_compiler_pic_works_FC=yes
  11700. fi
  11701. fi
  11702. $RM conftest*
  11703. fi
  11704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
  11705. $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
  11706. if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
  11707. case $lt_prog_compiler_pic_FC in
  11708. "" | " "*) ;;
  11709. *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
  11710. esac
  11711. else
  11712. lt_prog_compiler_pic_FC=
  11713. lt_prog_compiler_can_build_shared_FC=no
  11714. fi
  11715. fi
  11716. #
  11717. # Check to make sure the static flag actually works.
  11718. #
  11719. wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
  11720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  11721. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  11722. if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
  11723. $as_echo_n "(cached) " >&6
  11724. else
  11725. lt_cv_prog_compiler_static_works_FC=no
  11726. save_LDFLAGS="$LDFLAGS"
  11727. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  11728. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  11729. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  11730. # The linker can only warn and ignore the option if not recognized
  11731. # So say no if there are warnings
  11732. if test -s conftest.err; then
  11733. # Append any errors to the config.log.
  11734. cat conftest.err 1>&5
  11735. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  11736. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11737. if diff conftest.exp conftest.er2 >/dev/null; then
  11738. lt_cv_prog_compiler_static_works_FC=yes
  11739. fi
  11740. else
  11741. lt_cv_prog_compiler_static_works_FC=yes
  11742. fi
  11743. fi
  11744. $RM -r conftest*
  11745. LDFLAGS="$save_LDFLAGS"
  11746. fi
  11747. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
  11748. $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
  11749. if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
  11750. :
  11751. else
  11752. lt_prog_compiler_static_FC=
  11753. fi
  11754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  11755. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  11756. if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
  11757. $as_echo_n "(cached) " >&6
  11758. else
  11759. lt_cv_prog_compiler_c_o_FC=no
  11760. $RM -r conftest 2>/dev/null
  11761. mkdir conftest
  11762. cd conftest
  11763. mkdir out
  11764. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11765. lt_compiler_flag="-o out/conftest2.$ac_objext"
  11766. # Insert the option either (1) after the last *FLAGS variable, or
  11767. # (2) before a word containing "conftest.", or (3) at the end.
  11768. # Note that $ac_compile itself does not contain backslashes and begins
  11769. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11770. lt_compile=`echo "$ac_compile" | $SED \
  11771. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11772. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11773. -e 's:$: $lt_compiler_flag:'`
  11774. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  11775. (eval "$lt_compile" 2>out/conftest.err)
  11776. ac_status=$?
  11777. cat out/conftest.err >&5
  11778. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11779. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  11780. then
  11781. # The compiler can only warn and ignore the option if not recognized
  11782. # So say no if there are warnings
  11783. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  11784. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  11785. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  11786. lt_cv_prog_compiler_c_o_FC=yes
  11787. fi
  11788. fi
  11789. chmod u+w . 2>&5
  11790. $RM conftest*
  11791. # SGI C++ compiler will create directory out/ii_files/ for
  11792. # template instantiation
  11793. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  11794. $RM out/* && rmdir out
  11795. cd ..
  11796. $RM -r conftest
  11797. $RM conftest*
  11798. fi
  11799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
  11800. $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
  11801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  11802. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  11803. if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
  11804. $as_echo_n "(cached) " >&6
  11805. else
  11806. lt_cv_prog_compiler_c_o_FC=no
  11807. $RM -r conftest 2>/dev/null
  11808. mkdir conftest
  11809. cd conftest
  11810. mkdir out
  11811. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11812. lt_compiler_flag="-o out/conftest2.$ac_objext"
  11813. # Insert the option either (1) after the last *FLAGS variable, or
  11814. # (2) before a word containing "conftest.", or (3) at the end.
  11815. # Note that $ac_compile itself does not contain backslashes and begins
  11816. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11817. lt_compile=`echo "$ac_compile" | $SED \
  11818. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11819. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11820. -e 's:$: $lt_compiler_flag:'`
  11821. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  11822. (eval "$lt_compile" 2>out/conftest.err)
  11823. ac_status=$?
  11824. cat out/conftest.err >&5
  11825. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11826. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  11827. then
  11828. # The compiler can only warn and ignore the option if not recognized
  11829. # So say no if there are warnings
  11830. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  11831. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  11832. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  11833. lt_cv_prog_compiler_c_o_FC=yes
  11834. fi
  11835. fi
  11836. chmod u+w . 2>&5
  11837. $RM conftest*
  11838. # SGI C++ compiler will create directory out/ii_files/ for
  11839. # template instantiation
  11840. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  11841. $RM out/* && rmdir out
  11842. cd ..
  11843. $RM -r conftest
  11844. $RM conftest*
  11845. fi
  11846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
  11847. $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
  11848. hard_links="nottested"
  11849. if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
  11850. # do not overwrite the value of need_locks provided by the user
  11851. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  11852. $as_echo_n "checking if we can lock with hard links... " >&6; }
  11853. hard_links=yes
  11854. $RM conftest*
  11855. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  11856. touch conftest.a
  11857. ln conftest.a conftest.b 2>&5 || hard_links=no
  11858. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  11859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  11860. $as_echo "$hard_links" >&6; }
  11861. if test "$hard_links" = no; then
  11862. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  11863. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  11864. need_locks=warn
  11865. fi
  11866. else
  11867. need_locks=no
  11868. fi
  11869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  11870. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  11871. runpath_var=
  11872. allow_undefined_flag_FC=
  11873. always_export_symbols_FC=no
  11874. archive_cmds_FC=
  11875. archive_expsym_cmds_FC=
  11876. compiler_needs_object_FC=no
  11877. enable_shared_with_static_runtimes_FC=no
  11878. export_dynamic_flag_spec_FC=
  11879. export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  11880. hardcode_automatic_FC=no
  11881. hardcode_direct_FC=no
  11882. hardcode_direct_absolute_FC=no
  11883. hardcode_libdir_flag_spec_FC=
  11884. hardcode_libdir_flag_spec_ld_FC=
  11885. hardcode_libdir_separator_FC=
  11886. hardcode_minus_L_FC=no
  11887. hardcode_shlibpath_var_FC=unsupported
  11888. inherit_rpath_FC=no
  11889. link_all_deplibs_FC=unknown
  11890. module_cmds_FC=
  11891. module_expsym_cmds_FC=
  11892. old_archive_from_new_cmds_FC=
  11893. old_archive_from_expsyms_cmds_FC=
  11894. thread_safe_flag_spec_FC=
  11895. whole_archive_flag_spec_FC=
  11896. # include_expsyms should be a list of space-separated symbols to be *always*
  11897. # included in the symbol list
  11898. include_expsyms_FC=
  11899. # exclude_expsyms can be an extended regexp of symbols to exclude
  11900. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  11901. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  11902. # as well as any symbol that contains `d'.
  11903. exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  11904. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  11905. # platforms (ab)use it in PIC code, but their linkers get confused if
  11906. # the symbol is explicitly referenced. Since portable code cannot
  11907. # rely on this symbol name, it's probably fine to never include it in
  11908. # preloaded symbol tables.
  11909. # Exclude shared library initialization/finalization symbols.
  11910. extract_expsyms_cmds=
  11911. case $host_os in
  11912. cygwin* | mingw* | pw32* | cegcc*)
  11913. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  11914. # When not using gcc, we currently assume that we are using
  11915. # Microsoft Visual C++.
  11916. if test "$GCC" != yes; then
  11917. with_gnu_ld=no
  11918. fi
  11919. ;;
  11920. interix*)
  11921. # we just hope/assume this is gcc and not c89 (= MSVC++)
  11922. with_gnu_ld=yes
  11923. ;;
  11924. openbsd*)
  11925. with_gnu_ld=no
  11926. ;;
  11927. esac
  11928. ld_shlibs_FC=yes
  11929. # On some targets, GNU ld is compatible enough with the native linker
  11930. # that we're better off using the native interface for both.
  11931. lt_use_gnu_ld_interface=no
  11932. if test "$with_gnu_ld" = yes; then
  11933. case $host_os in
  11934. aix*)
  11935. # The AIX port of GNU ld has always aspired to compatibility
  11936. # with the native linker. However, as the warning in the GNU ld
  11937. # block says, versions before 2.19.5* couldn't really create working
  11938. # shared libraries, regardless of the interface used.
  11939. case `$LD -v 2>&1` in
  11940. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  11941. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  11942. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  11943. *)
  11944. lt_use_gnu_ld_interface=yes
  11945. ;;
  11946. esac
  11947. ;;
  11948. *)
  11949. lt_use_gnu_ld_interface=yes
  11950. ;;
  11951. esac
  11952. fi
  11953. if test "$lt_use_gnu_ld_interface" = yes; then
  11954. # If archive_cmds runs LD, not CC, wlarc should be empty
  11955. wlarc='${wl}'
  11956. # Set some defaults for GNU ld with shared library support. These
  11957. # are reset later if shared libraries are not supported. Putting them
  11958. # here allows them to be overridden if necessary.
  11959. runpath_var=LD_RUN_PATH
  11960. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  11961. export_dynamic_flag_spec_FC='${wl}--export-dynamic'
  11962. # ancient GNU ld didn't support --whole-archive et. al.
  11963. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  11964. whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  11965. else
  11966. whole_archive_flag_spec_FC=
  11967. fi
  11968. supports_anon_versioning=no
  11969. case `$LD -v 2>&1` in
  11970. *GNU\ gold*) supports_anon_versioning=yes ;;
  11971. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  11972. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  11973. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  11974. *\ 2.11.*) ;; # other 2.11 versions
  11975. *) supports_anon_versioning=yes ;;
  11976. esac
  11977. # See if GNU ld supports shared libraries.
  11978. case $host_os in
  11979. aix[3-9]*)
  11980. # On AIX/PPC, the GNU linker is very broken
  11981. if test "$host_cpu" != ia64; then
  11982. ld_shlibs_FC=no
  11983. cat <<_LT_EOF 1>&2
  11984. *** Warning: the GNU linker, at least up to release 2.19, is reported
  11985. *** to be unable to reliably create shared libraries on AIX.
  11986. *** Therefore, libtool is disabling shared libraries support. If you
  11987. *** really care for shared libraries, you may want to install binutils
  11988. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  11989. *** You will then need to restart the configuration process.
  11990. _LT_EOF
  11991. fi
  11992. ;;
  11993. amigaos*)
  11994. case $host_cpu in
  11995. powerpc)
  11996. # see comment about AmigaOS4 .so support
  11997. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  11998. archive_expsym_cmds_FC=''
  11999. ;;
  12000. m68k)
  12001. 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)'
  12002. hardcode_libdir_flag_spec_FC='-L$libdir'
  12003. hardcode_minus_L_FC=yes
  12004. ;;
  12005. esac
  12006. ;;
  12007. beos*)
  12008. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12009. allow_undefined_flag_FC=unsupported
  12010. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  12011. # support --undefined. This deserves some investigation. FIXME
  12012. archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12013. else
  12014. ld_shlibs_FC=no
  12015. fi
  12016. ;;
  12017. cygwin* | mingw* | pw32* | cegcc*)
  12018. # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
  12019. # as there is no search path for DLLs.
  12020. hardcode_libdir_flag_spec_FC='-L$libdir'
  12021. export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
  12022. allow_undefined_flag_FC=unsupported
  12023. always_export_symbols_FC=no
  12024. enable_shared_with_static_runtimes_FC=yes
  12025. export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  12026. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  12027. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12028. # If the export-symbols file already is a .def file (1st line
  12029. # is EXPORTS), use it as is; otherwise, prepend...
  12030. archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  12031. cp $export_symbols $output_objdir/$soname.def;
  12032. else
  12033. echo EXPORTS > $output_objdir/$soname.def;
  12034. cat $export_symbols >> $output_objdir/$soname.def;
  12035. fi~
  12036. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12037. else
  12038. ld_shlibs_FC=no
  12039. fi
  12040. ;;
  12041. haiku*)
  12042. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12043. link_all_deplibs_FC=yes
  12044. ;;
  12045. interix[3-9]*)
  12046. hardcode_direct_FC=no
  12047. hardcode_shlibpath_var_FC=no
  12048. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  12049. export_dynamic_flag_spec_FC='${wl}-E'
  12050. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  12051. # Instead, shared libraries are loaded at an image base (0x10000000 by
  12052. # default) and relocated if they conflict, which is a slow very memory
  12053. # consuming and fragmenting process. To avoid this, we pick a random,
  12054. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  12055. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  12056. 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'
  12057. 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'
  12058. ;;
  12059. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  12060. tmp_diet=no
  12061. if test "$host_os" = linux-dietlibc; then
  12062. case $cc_basename in
  12063. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  12064. esac
  12065. fi
  12066. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  12067. && test "$tmp_diet" = no
  12068. then
  12069. tmp_addflag=' $pic_flag'
  12070. tmp_sharedflag='-shared'
  12071. case $cc_basename,$host_cpu in
  12072. pgcc*) # Portland Group C compiler
  12073. 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'
  12074. tmp_addflag=' $pic_flag'
  12075. ;;
  12076. pgf77* | pgf90* | pgf95* | pgfortran*)
  12077. # Portland Group f77 and f90 compilers
  12078. 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'
  12079. tmp_addflag=' $pic_flag -Mnomain' ;;
  12080. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  12081. tmp_addflag=' -i_dynamic' ;;
  12082. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  12083. tmp_addflag=' -i_dynamic -nofor_main' ;;
  12084. ifc* | ifort*) # Intel Fortran compiler
  12085. tmp_addflag=' -nofor_main' ;;
  12086. lf95*) # Lahey Fortran 8.1
  12087. whole_archive_flag_spec_FC=
  12088. tmp_sharedflag='--shared' ;;
  12089. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  12090. tmp_sharedflag='-qmkshrobj'
  12091. tmp_addflag= ;;
  12092. nvcc*) # Cuda Compiler Driver 2.2
  12093. 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'
  12094. compiler_needs_object_FC=yes
  12095. ;;
  12096. esac
  12097. case `$CC -V 2>&1 | sed 5q` in
  12098. *Sun\ C*) # Sun C 5.9
  12099. 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'
  12100. compiler_needs_object_FC=yes
  12101. tmp_sharedflag='-G' ;;
  12102. *Sun\ F*) # Sun Fortran 8.3
  12103. tmp_sharedflag='-G' ;;
  12104. esac
  12105. archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12106. if test "x$supports_anon_versioning" = xyes; then
  12107. archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
  12108. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12109. echo "local: *; };" >> $output_objdir/$libname.ver~
  12110. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  12111. fi
  12112. case $cc_basename in
  12113. xlf* | bgf* | bgxlf* | mpixlf*)
  12114. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  12115. whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
  12116. hardcode_libdir_flag_spec_FC=
  12117. hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
  12118. archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  12119. if test "x$supports_anon_versioning" = xyes; then
  12120. archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
  12121. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12122. echo "local: *; };" >> $output_objdir/$libname.ver~
  12123. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  12124. fi
  12125. ;;
  12126. esac
  12127. else
  12128. ld_shlibs_FC=no
  12129. fi
  12130. ;;
  12131. netbsd*)
  12132. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  12133. archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  12134. wlarc=
  12135. else
  12136. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12137. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12138. fi
  12139. ;;
  12140. solaris*)
  12141. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  12142. ld_shlibs_FC=no
  12143. cat <<_LT_EOF 1>&2
  12144. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  12145. *** create shared libraries on Solaris systems. Therefore, libtool
  12146. *** is disabling shared libraries support. We urge you to upgrade GNU
  12147. *** binutils to release 2.9.1 or newer. Another option is to modify
  12148. *** your PATH or compiler configuration so that the native linker is
  12149. *** used, and then restart.
  12150. _LT_EOF
  12151. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12152. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12153. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12154. else
  12155. ld_shlibs_FC=no
  12156. fi
  12157. ;;
  12158. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  12159. case `$LD -v 2>&1` in
  12160. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  12161. ld_shlibs_FC=no
  12162. cat <<_LT_EOF 1>&2
  12163. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  12164. *** reliably create shared libraries on SCO systems. Therefore, libtool
  12165. *** is disabling shared libraries support. We urge you to upgrade GNU
  12166. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  12167. *** your PATH or compiler configuration so that the native linker is
  12168. *** used, and then restart.
  12169. _LT_EOF
  12170. ;;
  12171. *)
  12172. # For security reasons, it is highly recommended that you always
  12173. # use absolute paths for naming shared libraries, and exclude the
  12174. # DT_RUNPATH tag from executables and libraries. But doing so
  12175. # requires that you compile everything twice, which is a pain.
  12176. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12177. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12178. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12179. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12180. else
  12181. ld_shlibs_FC=no
  12182. fi
  12183. ;;
  12184. esac
  12185. ;;
  12186. sunos4*)
  12187. archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12188. wlarc=
  12189. hardcode_direct_FC=yes
  12190. hardcode_shlibpath_var_FC=no
  12191. ;;
  12192. *)
  12193. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12194. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12195. archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  12196. else
  12197. ld_shlibs_FC=no
  12198. fi
  12199. ;;
  12200. esac
  12201. if test "$ld_shlibs_FC" = no; then
  12202. runpath_var=
  12203. hardcode_libdir_flag_spec_FC=
  12204. export_dynamic_flag_spec_FC=
  12205. whole_archive_flag_spec_FC=
  12206. fi
  12207. else
  12208. # PORTME fill in a description of your system's linker (not GNU ld)
  12209. case $host_os in
  12210. aix3*)
  12211. allow_undefined_flag_FC=unsupported
  12212. always_export_symbols_FC=yes
  12213. 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'
  12214. # Note: this linker hardcodes the directories in LIBPATH if there
  12215. # are no directories specified by -L.
  12216. hardcode_minus_L_FC=yes
  12217. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  12218. # Neither direct hardcoding nor static linking is supported with a
  12219. # broken collect2.
  12220. hardcode_direct_FC=unsupported
  12221. fi
  12222. ;;
  12223. aix[4-9]*)
  12224. if test "$host_cpu" = ia64; then
  12225. # On IA64, the linker does run time linking by default, so we don't
  12226. # have to do anything special.
  12227. aix_use_runtimelinking=no
  12228. exp_sym_flag='-Bexport'
  12229. no_entry_flag=""
  12230. else
  12231. # If we're using GNU nm, then we don't want the "-C" option.
  12232. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  12233. # Also, AIX nm treats weak defined symbols like other global
  12234. # defined symbols, whereas GNU nm marks them as "W".
  12235. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12236. 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'
  12237. else
  12238. export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  12239. fi
  12240. aix_use_runtimelinking=no
  12241. # Test if we are trying to use run time linking or normal
  12242. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  12243. # need to do runtime linking.
  12244. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  12245. for ld_flag in $LDFLAGS; do
  12246. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  12247. aix_use_runtimelinking=yes
  12248. break
  12249. fi
  12250. done
  12251. ;;
  12252. esac
  12253. exp_sym_flag='-bexport'
  12254. no_entry_flag='-bnoentry'
  12255. fi
  12256. # When large executables or shared objects are built, AIX ld can
  12257. # have problems creating the table of contents. If linking a library
  12258. # or program results in "error TOC overflow" add -mminimal-toc to
  12259. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  12260. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  12261. archive_cmds_FC=''
  12262. hardcode_direct_FC=yes
  12263. hardcode_direct_absolute_FC=yes
  12264. hardcode_libdir_separator_FC=':'
  12265. link_all_deplibs_FC=yes
  12266. file_list_spec_FC='${wl}-f,'
  12267. if test "$GCC" = yes; then
  12268. case $host_os in aix4.[012]|aix4.[012].*)
  12269. # We only want to do this on AIX 4.2 and lower, the check
  12270. # below for broken collect2 doesn't work under 4.3+
  12271. collect2name=`${CC} -print-prog-name=collect2`
  12272. if test -f "$collect2name" &&
  12273. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  12274. then
  12275. # We have reworked collect2
  12276. :
  12277. else
  12278. # We have old collect2
  12279. hardcode_direct_FC=unsupported
  12280. # It fails to find uninstalled libraries when the uninstalled
  12281. # path is not listed in the libpath. Setting hardcode_minus_L
  12282. # to unsupported forces relinking
  12283. hardcode_minus_L_FC=yes
  12284. hardcode_libdir_flag_spec_FC='-L$libdir'
  12285. hardcode_libdir_separator_FC=
  12286. fi
  12287. ;;
  12288. esac
  12289. shared_flag='-shared'
  12290. if test "$aix_use_runtimelinking" = yes; then
  12291. shared_flag="$shared_flag "'${wl}-G'
  12292. fi
  12293. else
  12294. # not using gcc
  12295. if test "$host_cpu" = ia64; then
  12296. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  12297. # chokes on -Wl,-G. The following line is correct:
  12298. shared_flag='-G'
  12299. else
  12300. if test "$aix_use_runtimelinking" = yes; then
  12301. shared_flag='${wl}-G'
  12302. else
  12303. shared_flag='${wl}-bM:SRE'
  12304. fi
  12305. fi
  12306. fi
  12307. export_dynamic_flag_spec_FC='${wl}-bexpall'
  12308. # It seems that -bexpall does not export symbols beginning with
  12309. # underscore (_), so it is better to generate a list of symbols to export.
  12310. always_export_symbols_FC=yes
  12311. if test "$aix_use_runtimelinking" = yes; then
  12312. # Warning - without using the other runtime loading flags (-brtl),
  12313. # -berok will link without error, but may produce a broken library.
  12314. allow_undefined_flag_FC='-berok'
  12315. # Determine the default libpath from the value encoded in an
  12316. # empty executable.
  12317. if test x$gcc_no_link = xyes; then
  12318. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  12319. fi
  12320. cat > conftest.$ac_ext <<_ACEOF
  12321. program main
  12322. end
  12323. _ACEOF
  12324. if ac_fn_fc_try_link "$LINENO"; then :
  12325. lt_aix_libpath_sed='
  12326. /Import File Strings/,/^$/ {
  12327. /^0/ {
  12328. s/^0 *\(.*\)$/\1/
  12329. p
  12330. }
  12331. }'
  12332. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12333. # Check for a 64-bit object if we didn't find anything.
  12334. if test -z "$aix_libpath"; then
  12335. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12336. fi
  12337. fi
  12338. rm -f core conftest.err conftest.$ac_objext \
  12339. conftest$ac_exeext conftest.$ac_ext
  12340. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  12341. hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
  12342. 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"
  12343. else
  12344. if test "$host_cpu" = ia64; then
  12345. hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
  12346. allow_undefined_flag_FC="-z nodefs"
  12347. 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"
  12348. else
  12349. # Determine the default libpath from the value encoded in an
  12350. # empty executable.
  12351. if test x$gcc_no_link = xyes; then
  12352. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  12353. fi
  12354. cat > conftest.$ac_ext <<_ACEOF
  12355. program main
  12356. end
  12357. _ACEOF
  12358. if ac_fn_fc_try_link "$LINENO"; then :
  12359. lt_aix_libpath_sed='
  12360. /Import File Strings/,/^$/ {
  12361. /^0/ {
  12362. s/^0 *\(.*\)$/\1/
  12363. p
  12364. }
  12365. }'
  12366. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12367. # Check for a 64-bit object if we didn't find anything.
  12368. if test -z "$aix_libpath"; then
  12369. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12370. fi
  12371. fi
  12372. rm -f core conftest.err conftest.$ac_objext \
  12373. conftest$ac_exeext conftest.$ac_ext
  12374. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  12375. hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
  12376. # Warning - without using the other run time loading flags,
  12377. # -berok will link without error, but may produce a broken library.
  12378. no_undefined_flag_FC=' ${wl}-bernotok'
  12379. allow_undefined_flag_FC=' ${wl}-berok'
  12380. if test "$with_gnu_ld" = yes; then
  12381. # We only use this code for GNU lds that support --whole-archive.
  12382. whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  12383. else
  12384. # Exported symbols can be pulled into shared objects from archives
  12385. whole_archive_flag_spec_FC='$convenience'
  12386. fi
  12387. archive_cmds_need_lc_FC=yes
  12388. # This is similar to how AIX traditionally builds its shared libraries.
  12389. 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'
  12390. fi
  12391. fi
  12392. ;;
  12393. amigaos*)
  12394. case $host_cpu in
  12395. powerpc)
  12396. # see comment about AmigaOS4 .so support
  12397. archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  12398. archive_expsym_cmds_FC=''
  12399. ;;
  12400. m68k)
  12401. 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)'
  12402. hardcode_libdir_flag_spec_FC='-L$libdir'
  12403. hardcode_minus_L_FC=yes
  12404. ;;
  12405. esac
  12406. ;;
  12407. bsdi[45]*)
  12408. export_dynamic_flag_spec_FC=-rdynamic
  12409. ;;
  12410. cygwin* | mingw* | pw32* | cegcc*)
  12411. # When not using gcc, we currently assume that we are using
  12412. # Microsoft Visual C++.
  12413. # hardcode_libdir_flag_spec is actually meaningless, as there is
  12414. # no search path for DLLs.
  12415. hardcode_libdir_flag_spec_FC=' '
  12416. allow_undefined_flag_FC=unsupported
  12417. # Tell ltmain to make .lib files, not .a files.
  12418. libext=lib
  12419. # Tell ltmain to make .dll files, not .so files.
  12420. shrext_cmds=".dll"
  12421. # FIXME: Setting linknames here is a bad hack.
  12422. archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  12423. # The linker will automatically build a .lib file if we build a DLL.
  12424. old_archive_from_new_cmds_FC='true'
  12425. # FIXME: Should let the user specify the lib program.
  12426. old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
  12427. fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
  12428. enable_shared_with_static_runtimes_FC=yes
  12429. ;;
  12430. darwin* | rhapsody*)
  12431. archive_cmds_need_lc_FC=no
  12432. hardcode_direct_FC=no
  12433. hardcode_automatic_FC=yes
  12434. hardcode_shlibpath_var_FC=unsupported
  12435. if test "$lt_cv_ld_force_load" = "yes"; then
  12436. 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\"`'
  12437. else
  12438. whole_archive_flag_spec_FC=''
  12439. fi
  12440. link_all_deplibs_FC=yes
  12441. allow_undefined_flag_FC="$_lt_dar_allow_undefined"
  12442. case $cc_basename in
  12443. ifort*) _lt_dar_can_shared=yes ;;
  12444. *) _lt_dar_can_shared=$GCC ;;
  12445. esac
  12446. if test "$_lt_dar_can_shared" = "yes"; then
  12447. output_verbose_link_cmd=func_echo_all
  12448. 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}"
  12449. module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  12450. 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}"
  12451. 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}"
  12452. else
  12453. ld_shlibs_FC=no
  12454. fi
  12455. ;;
  12456. dgux*)
  12457. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12458. hardcode_libdir_flag_spec_FC='-L$libdir'
  12459. hardcode_shlibpath_var_FC=no
  12460. ;;
  12461. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  12462. # support. Future versions do this automatically, but an explicit c++rt0.o
  12463. # does not break anything, and helps significantly (at the cost of a little
  12464. # extra space).
  12465. freebsd2.2*)
  12466. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  12467. hardcode_libdir_flag_spec_FC='-R$libdir'
  12468. hardcode_direct_FC=yes
  12469. hardcode_shlibpath_var_FC=no
  12470. ;;
  12471. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  12472. freebsd2.*)
  12473. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12474. hardcode_direct_FC=yes
  12475. hardcode_minus_L_FC=yes
  12476. hardcode_shlibpath_var_FC=no
  12477. ;;
  12478. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  12479. freebsd* | dragonfly*)
  12480. archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  12481. hardcode_libdir_flag_spec_FC='-R$libdir'
  12482. hardcode_direct_FC=yes
  12483. hardcode_shlibpath_var_FC=no
  12484. ;;
  12485. hpux9*)
  12486. if test "$GCC" = yes; then
  12487. 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'
  12488. else
  12489. 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'
  12490. fi
  12491. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  12492. hardcode_libdir_separator_FC=:
  12493. hardcode_direct_FC=yes
  12494. # hardcode_minus_L: Not really in the search PATH,
  12495. # but as the default location of the library.
  12496. hardcode_minus_L_FC=yes
  12497. export_dynamic_flag_spec_FC='${wl}-E'
  12498. ;;
  12499. hpux10*)
  12500. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  12501. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  12502. else
  12503. archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  12504. fi
  12505. if test "$with_gnu_ld" = no; then
  12506. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  12507. hardcode_libdir_flag_spec_ld_FC='+b $libdir'
  12508. hardcode_libdir_separator_FC=:
  12509. hardcode_direct_FC=yes
  12510. hardcode_direct_absolute_FC=yes
  12511. export_dynamic_flag_spec_FC='${wl}-E'
  12512. # hardcode_minus_L: Not really in the search PATH,
  12513. # but as the default location of the library.
  12514. hardcode_minus_L_FC=yes
  12515. fi
  12516. ;;
  12517. hpux11*)
  12518. if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  12519. case $host_cpu in
  12520. hppa*64*)
  12521. archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  12522. ;;
  12523. ia64*)
  12524. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  12525. ;;
  12526. *)
  12527. archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  12528. ;;
  12529. esac
  12530. else
  12531. case $host_cpu in
  12532. hppa*64*)
  12533. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  12534. ;;
  12535. ia64*)
  12536. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  12537. ;;
  12538. *)
  12539. archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  12540. ;;
  12541. esac
  12542. fi
  12543. if test "$with_gnu_ld" = no; then
  12544. hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
  12545. hardcode_libdir_separator_FC=:
  12546. case $host_cpu in
  12547. hppa*64*|ia64*)
  12548. hardcode_direct_FC=no
  12549. hardcode_shlibpath_var_FC=no
  12550. ;;
  12551. *)
  12552. hardcode_direct_FC=yes
  12553. hardcode_direct_absolute_FC=yes
  12554. export_dynamic_flag_spec_FC='${wl}-E'
  12555. # hardcode_minus_L: Not really in the search PATH,
  12556. # but as the default location of the library.
  12557. hardcode_minus_L_FC=yes
  12558. ;;
  12559. esac
  12560. fi
  12561. ;;
  12562. irix5* | irix6* | nonstopux*)
  12563. if test "$GCC" = yes; then
  12564. 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'
  12565. # Try to use the -exported_symbol ld option, if it does not
  12566. # work, assume that -exports_file does not work either and
  12567. # implicitly export all symbols.
  12568. save_LDFLAGS="$LDFLAGS"
  12569. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  12570. if test x$gcc_no_link = xyes; then
  12571. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  12572. fi
  12573. cat > conftest.$ac_ext <<_ACEOF
  12574. int foo(void) {}
  12575. _ACEOF
  12576. if ac_fn_fc_try_link "$LINENO"; then :
  12577. 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'
  12578. fi
  12579. rm -f core conftest.err conftest.$ac_objext \
  12580. conftest$ac_exeext conftest.$ac_ext
  12581. LDFLAGS="$save_LDFLAGS"
  12582. else
  12583. 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'
  12584. 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'
  12585. fi
  12586. archive_cmds_need_lc_FC='no'
  12587. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12588. hardcode_libdir_separator_FC=:
  12589. inherit_rpath_FC=yes
  12590. link_all_deplibs_FC=yes
  12591. ;;
  12592. netbsd*)
  12593. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  12594. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  12595. else
  12596. archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  12597. fi
  12598. hardcode_libdir_flag_spec_FC='-R$libdir'
  12599. hardcode_direct_FC=yes
  12600. hardcode_shlibpath_var_FC=no
  12601. ;;
  12602. newsos6)
  12603. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12604. hardcode_direct_FC=yes
  12605. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12606. hardcode_libdir_separator_FC=:
  12607. hardcode_shlibpath_var_FC=no
  12608. ;;
  12609. *nto* | *qnx*)
  12610. ;;
  12611. openbsd*)
  12612. if test -f /usr/libexec/ld.so; then
  12613. hardcode_direct_FC=yes
  12614. hardcode_shlibpath_var_FC=no
  12615. hardcode_direct_absolute_FC=yes
  12616. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  12617. archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  12618. archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  12619. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  12620. export_dynamic_flag_spec_FC='${wl}-E'
  12621. else
  12622. case $host_os in
  12623. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  12624. archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12625. hardcode_libdir_flag_spec_FC='-R$libdir'
  12626. ;;
  12627. *)
  12628. archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  12629. hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
  12630. ;;
  12631. esac
  12632. fi
  12633. else
  12634. ld_shlibs_FC=no
  12635. fi
  12636. ;;
  12637. os2*)
  12638. hardcode_libdir_flag_spec_FC='-L$libdir'
  12639. hardcode_minus_L_FC=yes
  12640. allow_undefined_flag_FC=unsupported
  12641. 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'
  12642. old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  12643. ;;
  12644. osf3*)
  12645. if test "$GCC" = yes; then
  12646. allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
  12647. 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'
  12648. else
  12649. allow_undefined_flag_FC=' -expect_unresolved \*'
  12650. 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'
  12651. fi
  12652. archive_cmds_need_lc_FC='no'
  12653. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12654. hardcode_libdir_separator_FC=:
  12655. ;;
  12656. osf4* | osf5*) # as osf3* with the addition of -msym flag
  12657. if test "$GCC" = yes; then
  12658. allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
  12659. 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'
  12660. hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
  12661. else
  12662. allow_undefined_flag_FC=' -expect_unresolved \*'
  12663. 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'
  12664. 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~
  12665. $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'
  12666. # Both c and cxx compiler support -rpath directly
  12667. hardcode_libdir_flag_spec_FC='-rpath $libdir'
  12668. fi
  12669. archive_cmds_need_lc_FC='no'
  12670. hardcode_libdir_separator_FC=:
  12671. ;;
  12672. solaris*)
  12673. no_undefined_flag_FC=' -z defs'
  12674. if test "$GCC" = yes; then
  12675. wlarc='${wl}'
  12676. archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  12677. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  12678. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  12679. else
  12680. case `$CC -V 2>&1` in
  12681. *"Compilers 5.0"*)
  12682. wlarc=''
  12683. archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12684. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  12685. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  12686. ;;
  12687. *)
  12688. wlarc='${wl}'
  12689. archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  12690. archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  12691. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  12692. ;;
  12693. esac
  12694. fi
  12695. hardcode_libdir_flag_spec_FC='-R$libdir'
  12696. hardcode_shlibpath_var_FC=no
  12697. case $host_os in
  12698. solaris2.[0-5] | solaris2.[0-5].*) ;;
  12699. *)
  12700. # The compiler driver will combine and reorder linker options,
  12701. # but understands `-z linker_flag'. GCC discards it without `$wl',
  12702. # but is careful enough not to reorder.
  12703. # Supported since Solaris 2.6 (maybe 2.5.1?)
  12704. if test "$GCC" = yes; then
  12705. whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  12706. else
  12707. whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
  12708. fi
  12709. ;;
  12710. esac
  12711. link_all_deplibs_FC=yes
  12712. ;;
  12713. sunos4*)
  12714. if test "x$host_vendor" = xsequent; then
  12715. # Use $CC to link under sequent, because it throws in some extra .o
  12716. # files that make .init and .fini sections work.
  12717. archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  12718. else
  12719. archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  12720. fi
  12721. hardcode_libdir_flag_spec_FC='-L$libdir'
  12722. hardcode_direct_FC=yes
  12723. hardcode_minus_L_FC=yes
  12724. hardcode_shlibpath_var_FC=no
  12725. ;;
  12726. sysv4)
  12727. case $host_vendor in
  12728. sni)
  12729. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12730. hardcode_direct_FC=yes # is this really true???
  12731. ;;
  12732. siemens)
  12733. ## LD is ld it makes a PLAMLIB
  12734. ## CC just makes a GrossModule.
  12735. archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  12736. reload_cmds_FC='$CC -r -o $output$reload_objs'
  12737. hardcode_direct_FC=no
  12738. ;;
  12739. motorola)
  12740. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12741. hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
  12742. ;;
  12743. esac
  12744. runpath_var='LD_RUN_PATH'
  12745. hardcode_shlibpath_var_FC=no
  12746. ;;
  12747. sysv4.3*)
  12748. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12749. hardcode_shlibpath_var_FC=no
  12750. export_dynamic_flag_spec_FC='-Bexport'
  12751. ;;
  12752. sysv4*MP*)
  12753. if test -d /usr/nec; then
  12754. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12755. hardcode_shlibpath_var_FC=no
  12756. runpath_var=LD_RUN_PATH
  12757. hardcode_runpath_var=yes
  12758. ld_shlibs_FC=yes
  12759. fi
  12760. ;;
  12761. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  12762. no_undefined_flag_FC='${wl}-z,text'
  12763. archive_cmds_need_lc_FC=no
  12764. hardcode_shlibpath_var_FC=no
  12765. runpath_var='LD_RUN_PATH'
  12766. if test "$GCC" = yes; then
  12767. archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12768. archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12769. else
  12770. archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12771. archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12772. fi
  12773. ;;
  12774. sysv5* | sco3.2v5* | sco5v6*)
  12775. # Note: We can NOT use -z defs as we might desire, because we do not
  12776. # link with -lc, and that would cause any symbols used from libc to
  12777. # always be unresolved, which means just about no library would
  12778. # ever link correctly. If we're not using GNU ld we use -z text
  12779. # though, which does catch some bad symbols but isn't as heavy-handed
  12780. # as -z defs.
  12781. no_undefined_flag_FC='${wl}-z,text'
  12782. allow_undefined_flag_FC='${wl}-z,nodefs'
  12783. archive_cmds_need_lc_FC=no
  12784. hardcode_shlibpath_var_FC=no
  12785. hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
  12786. hardcode_libdir_separator_FC=':'
  12787. link_all_deplibs_FC=yes
  12788. export_dynamic_flag_spec_FC='${wl}-Bexport'
  12789. runpath_var='LD_RUN_PATH'
  12790. if test "$GCC" = yes; then
  12791. archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12792. archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12793. else
  12794. archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12795. archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  12796. fi
  12797. ;;
  12798. uts4*)
  12799. archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  12800. hardcode_libdir_flag_spec_FC='-L$libdir'
  12801. hardcode_shlibpath_var_FC=no
  12802. ;;
  12803. *)
  12804. ld_shlibs_FC=no
  12805. ;;
  12806. esac
  12807. if test x$host_vendor = xsni; then
  12808. case $host in
  12809. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  12810. export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
  12811. ;;
  12812. esac
  12813. fi
  12814. fi
  12815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
  12816. $as_echo "$ld_shlibs_FC" >&6; }
  12817. test "$ld_shlibs_FC" = no && can_build_shared=no
  12818. with_gnu_ld_FC=$with_gnu_ld
  12819. #
  12820. # Do we need to explicitly link libc?
  12821. #
  12822. case "x$archive_cmds_need_lc_FC" in
  12823. x|xyes)
  12824. # Assume -lc should be added
  12825. archive_cmds_need_lc_FC=yes
  12826. if test "$enable_shared" = yes && test "$GCC" = yes; then
  12827. case $archive_cmds_FC in
  12828. *'~'*)
  12829. # FIXME: we may have to deal with multi-command sequences.
  12830. ;;
  12831. '$CC '*)
  12832. # Test whether the compiler implicitly links with -lc since on some
  12833. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  12834. # to ld, don't add -lc before -lgcc.
  12835. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  12836. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  12837. if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
  12838. $as_echo_n "(cached) " >&6
  12839. else
  12840. $RM conftest*
  12841. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12842. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  12843. (eval $ac_compile) 2>&5
  12844. ac_status=$?
  12845. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12846. test $ac_status = 0; } 2>conftest.err; then
  12847. soname=conftest
  12848. lib=conftest
  12849. libobjs=conftest.$ac_objext
  12850. deplibs=
  12851. wl=$lt_prog_compiler_wl_FC
  12852. pic_flag=$lt_prog_compiler_pic_FC
  12853. compiler_flags=-v
  12854. linker_flags=-v
  12855. verstring=
  12856. output_objdir=.
  12857. libname=conftest
  12858. lt_save_allow_undefined_flag=$allow_undefined_flag_FC
  12859. allow_undefined_flag_FC=
  12860. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  12861. (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  12862. ac_status=$?
  12863. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12864. test $ac_status = 0; }
  12865. then
  12866. lt_cv_archive_cmds_need_lc_FC=no
  12867. else
  12868. lt_cv_archive_cmds_need_lc_FC=yes
  12869. fi
  12870. allow_undefined_flag_FC=$lt_save_allow_undefined_flag
  12871. else
  12872. cat conftest.err 1>&5
  12873. fi
  12874. $RM conftest*
  12875. fi
  12876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
  12877. $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
  12878. archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
  12879. ;;
  12880. esac
  12881. fi
  12882. ;;
  12883. esac
  12884. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  12885. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  12886. library_names_spec=
  12887. libname_spec='lib$name'
  12888. soname_spec=
  12889. shrext_cmds=".so"
  12890. postinstall_cmds=
  12891. postuninstall_cmds=
  12892. finish_cmds=
  12893. finish_eval=
  12894. shlibpath_var=
  12895. shlibpath_overrides_runpath=unknown
  12896. version_type=none
  12897. dynamic_linker="$host_os ld.so"
  12898. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  12899. need_lib_prefix=unknown
  12900. hardcode_into_libs=no
  12901. # when you set need_version to no, make sure it does not cause -set_version
  12902. # flags to be left without arguments
  12903. need_version=unknown
  12904. case $host_os in
  12905. aix3*)
  12906. version_type=linux
  12907. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  12908. shlibpath_var=LIBPATH
  12909. # AIX 3 has no versioning support, so we append a major version to the name.
  12910. soname_spec='${libname}${release}${shared_ext}$major'
  12911. ;;
  12912. aix[4-9]*)
  12913. version_type=linux
  12914. need_lib_prefix=no
  12915. need_version=no
  12916. hardcode_into_libs=yes
  12917. if test "$host_cpu" = ia64; then
  12918. # AIX 5 supports IA64
  12919. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  12920. shlibpath_var=LD_LIBRARY_PATH
  12921. else
  12922. # With GCC up to 2.95.x, collect2 would create an import file
  12923. # for dependence libraries. The import file would start with
  12924. # the line `#! .'. This would cause the generated library to
  12925. # depend on `.', always an invalid library. This was fixed in
  12926. # development snapshots of GCC prior to 3.0.
  12927. case $host_os in
  12928. aix4 | aix4.[01] | aix4.[01].*)
  12929. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  12930. echo ' yes '
  12931. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  12932. :
  12933. else
  12934. can_build_shared=no
  12935. fi
  12936. ;;
  12937. esac
  12938. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  12939. # soname into executable. Probably we can add versioning support to
  12940. # collect2, so additional links can be useful in future.
  12941. if test "$aix_use_runtimelinking" = yes; then
  12942. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  12943. # instead of lib<name>.a to let people know that these are not
  12944. # typical AIX shared libraries.
  12945. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12946. else
  12947. # We preserve .a as extension for shared libraries through AIX4.2
  12948. # and later when we are not doing run time linking.
  12949. library_names_spec='${libname}${release}.a $libname.a'
  12950. soname_spec='${libname}${release}${shared_ext}$major'
  12951. fi
  12952. shlibpath_var=LIBPATH
  12953. fi
  12954. ;;
  12955. amigaos*)
  12956. case $host_cpu in
  12957. powerpc)
  12958. # Since July 2007 AmigaOS4 officially supports .so libraries.
  12959. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  12960. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12961. ;;
  12962. m68k)
  12963. library_names_spec='$libname.ixlibrary $libname.a'
  12964. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  12965. 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'
  12966. ;;
  12967. esac
  12968. ;;
  12969. beos*)
  12970. library_names_spec='${libname}${shared_ext}'
  12971. dynamic_linker="$host_os ld.so"
  12972. shlibpath_var=LIBRARY_PATH
  12973. ;;
  12974. bsdi[45]*)
  12975. version_type=linux
  12976. need_version=no
  12977. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  12978. soname_spec='${libname}${release}${shared_ext}$major'
  12979. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  12980. shlibpath_var=LD_LIBRARY_PATH
  12981. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  12982. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  12983. # the default ld.so.conf also contains /usr/contrib/lib and
  12984. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  12985. # libtool to hard-code these into programs
  12986. ;;
  12987. cygwin* | mingw* | pw32* | cegcc*)
  12988. version_type=windows
  12989. shrext_cmds=".dll"
  12990. need_version=no
  12991. need_lib_prefix=no
  12992. case $GCC,$host_os in
  12993. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  12994. library_names_spec='$libname.dll.a'
  12995. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  12996. postinstall_cmds='base_file=`basename \${file}`~
  12997. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  12998. dldir=$destdir/`dirname \$dlpath`~
  12999. test -d \$dldir || mkdir -p \$dldir~
  13000. $install_prog $dir/$dlname \$dldir/$dlname~
  13001. chmod a+x \$dldir/$dlname~
  13002. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  13003. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  13004. fi'
  13005. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  13006. dlpath=$dir/\$dldll~
  13007. $RM \$dlpath'
  13008. shlibpath_overrides_runpath=yes
  13009. case $host_os in
  13010. cygwin*)
  13011. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  13012. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13013. ;;
  13014. mingw* | cegcc*)
  13015. # MinGW DLLs use traditional 'lib' prefix
  13016. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13017. ;;
  13018. pw32*)
  13019. # pw32 DLLs use 'pw' prefix rather than 'lib'
  13020. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  13021. ;;
  13022. esac
  13023. ;;
  13024. *)
  13025. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  13026. ;;
  13027. esac
  13028. dynamic_linker='Win32 ld.exe'
  13029. # FIXME: first we should search . and the directory the executable is in
  13030. shlibpath_var=PATH
  13031. ;;
  13032. darwin* | rhapsody*)
  13033. dynamic_linker="$host_os dyld"
  13034. version_type=darwin
  13035. need_lib_prefix=no
  13036. need_version=no
  13037. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  13038. soname_spec='${libname}${release}${major}$shared_ext'
  13039. shlibpath_overrides_runpath=yes
  13040. shlibpath_var=DYLD_LIBRARY_PATH
  13041. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  13042. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  13043. ;;
  13044. dgux*)
  13045. version_type=linux
  13046. need_lib_prefix=no
  13047. need_version=no
  13048. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  13049. soname_spec='${libname}${release}${shared_ext}$major'
  13050. shlibpath_var=LD_LIBRARY_PATH
  13051. ;;
  13052. freebsd* | dragonfly*)
  13053. # DragonFly does not have aout. When/if they implement a new
  13054. # versioning mechanism, adjust this.
  13055. if test -x /usr/bin/objformat; then
  13056. objformat=`/usr/bin/objformat`
  13057. else
  13058. case $host_os in
  13059. freebsd[23].*) objformat=aout ;;
  13060. *) objformat=elf ;;
  13061. esac
  13062. fi
  13063. version_type=freebsd-$objformat
  13064. case $version_type in
  13065. freebsd-elf*)
  13066. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13067. need_version=no
  13068. need_lib_prefix=no
  13069. ;;
  13070. freebsd-*)
  13071. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  13072. need_version=yes
  13073. ;;
  13074. esac
  13075. shlibpath_var=LD_LIBRARY_PATH
  13076. case $host_os in
  13077. freebsd2.*)
  13078. shlibpath_overrides_runpath=yes
  13079. ;;
  13080. freebsd3.[01]* | freebsdelf3.[01]*)
  13081. shlibpath_overrides_runpath=yes
  13082. hardcode_into_libs=yes
  13083. ;;
  13084. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  13085. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  13086. shlibpath_overrides_runpath=no
  13087. hardcode_into_libs=yes
  13088. ;;
  13089. *) # from 4.6 on, and DragonFly
  13090. shlibpath_overrides_runpath=yes
  13091. hardcode_into_libs=yes
  13092. ;;
  13093. esac
  13094. ;;
  13095. gnu*)
  13096. version_type=linux
  13097. need_lib_prefix=no
  13098. need_version=no
  13099. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  13100. soname_spec='${libname}${release}${shared_ext}$major'
  13101. shlibpath_var=LD_LIBRARY_PATH
  13102. hardcode_into_libs=yes
  13103. ;;
  13104. haiku*)
  13105. version_type=linux
  13106. need_lib_prefix=no
  13107. need_version=no
  13108. dynamic_linker="$host_os runtime_loader"
  13109. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  13110. soname_spec='${libname}${release}${shared_ext}$major'
  13111. shlibpath_var=LIBRARY_PATH
  13112. shlibpath_overrides_runpath=yes
  13113. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  13114. hardcode_into_libs=yes
  13115. ;;
  13116. hpux9* | hpux10* | hpux11*)
  13117. # Give a soname corresponding to the major version so that dld.sl refuses to
  13118. # link against other versions.
  13119. version_type=sunos
  13120. need_lib_prefix=no
  13121. need_version=no
  13122. case $host_cpu in
  13123. ia64*)
  13124. shrext_cmds='.so'
  13125. hardcode_into_libs=yes
  13126. dynamic_linker="$host_os dld.so"
  13127. shlibpath_var=LD_LIBRARY_PATH
  13128. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13129. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13130. soname_spec='${libname}${release}${shared_ext}$major'
  13131. if test "X$HPUX_IA64_MODE" = X32; then
  13132. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  13133. else
  13134. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  13135. fi
  13136. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13137. ;;
  13138. hppa*64*)
  13139. shrext_cmds='.sl'
  13140. hardcode_into_libs=yes
  13141. dynamic_linker="$host_os dld.sl"
  13142. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  13143. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13144. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13145. soname_spec='${libname}${release}${shared_ext}$major'
  13146. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  13147. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  13148. ;;
  13149. *)
  13150. shrext_cmds='.sl'
  13151. dynamic_linker="$host_os dld.sl"
  13152. shlibpath_var=SHLIB_PATH
  13153. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  13154. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13155. soname_spec='${libname}${release}${shared_ext}$major'
  13156. ;;
  13157. esac
  13158. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  13159. postinstall_cmds='chmod 555 $lib'
  13160. # or fails outright, so override atomically:
  13161. install_override_mode=555
  13162. ;;
  13163. interix[3-9]*)
  13164. version_type=linux
  13165. need_lib_prefix=no
  13166. need_version=no
  13167. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13168. soname_spec='${libname}${release}${shared_ext}$major'
  13169. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  13170. shlibpath_var=LD_LIBRARY_PATH
  13171. shlibpath_overrides_runpath=no
  13172. hardcode_into_libs=yes
  13173. ;;
  13174. irix5* | irix6* | nonstopux*)
  13175. case $host_os in
  13176. nonstopux*) version_type=nonstopux ;;
  13177. *)
  13178. if test "$lt_cv_prog_gnu_ld" = yes; then
  13179. version_type=linux
  13180. else
  13181. version_type=irix
  13182. fi ;;
  13183. esac
  13184. need_lib_prefix=no
  13185. need_version=no
  13186. soname_spec='${libname}${release}${shared_ext}$major'
  13187. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  13188. case $host_os in
  13189. irix5* | nonstopux*)
  13190. libsuff= shlibsuff=
  13191. ;;
  13192. *)
  13193. case $LD in # libtool.m4 will add one of these switches to LD
  13194. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  13195. libsuff= shlibsuff= libmagic=32-bit;;
  13196. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  13197. libsuff=32 shlibsuff=N32 libmagic=N32;;
  13198. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  13199. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  13200. *) libsuff= shlibsuff= libmagic=never-match;;
  13201. esac
  13202. ;;
  13203. esac
  13204. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  13205. shlibpath_overrides_runpath=no
  13206. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  13207. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  13208. hardcode_into_libs=yes
  13209. ;;
  13210. # No shared lib support for Linux oldld, aout, or coff.
  13211. linux*oldld* | linux*aout* | linux*coff*)
  13212. dynamic_linker=no
  13213. ;;
  13214. # This must be Linux ELF.
  13215. linux* | k*bsd*-gnu | kopensolaris*-gnu)
  13216. version_type=linux
  13217. need_lib_prefix=no
  13218. need_version=no
  13219. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13220. soname_spec='${libname}${release}${shared_ext}$major'
  13221. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  13222. shlibpath_var=LD_LIBRARY_PATH
  13223. shlibpath_overrides_runpath=no
  13224. # Some binutils ld are patched to set DT_RUNPATH
  13225. if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  13226. $as_echo_n "(cached) " >&6
  13227. else
  13228. lt_cv_shlibpath_overrides_runpath=no
  13229. save_LDFLAGS=$LDFLAGS
  13230. save_libdir=$libdir
  13231. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
  13232. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
  13233. if test x$gcc_no_link = xyes; then
  13234. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  13235. fi
  13236. cat > conftest.$ac_ext <<_ACEOF
  13237. program main
  13238. end
  13239. _ACEOF
  13240. if ac_fn_fc_try_link "$LINENO"; then :
  13241. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  13242. lt_cv_shlibpath_overrides_runpath=yes
  13243. fi
  13244. fi
  13245. rm -f core conftest.err conftest.$ac_objext \
  13246. conftest$ac_exeext conftest.$ac_ext
  13247. LDFLAGS=$save_LDFLAGS
  13248. libdir=$save_libdir
  13249. fi
  13250. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  13251. # This implies no fast_install, which is unacceptable.
  13252. # Some rework will be needed to allow for fast_install
  13253. # before this can be enabled.
  13254. hardcode_into_libs=yes
  13255. # Append ld.so.conf contents to the search path
  13256. if test -f /etc/ld.so.conf; then
  13257. 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' ' '`
  13258. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  13259. fi
  13260. # We used to test for /lib/ld.so.1 and disable shared libraries on
  13261. # powerpc, because MkLinux only supported shared libraries with the
  13262. # GNU dynamic linker. Since this was broken with cross compilers,
  13263. # most powerpc-linux boxes support dynamic linking these days and
  13264. # people can always --disable-shared, the test was removed, and we
  13265. # assume the GNU/Linux dynamic linker is in use.
  13266. dynamic_linker='GNU/Linux ld.so'
  13267. ;;
  13268. netbsd*)
  13269. version_type=sunos
  13270. need_lib_prefix=no
  13271. need_version=no
  13272. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13273. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13274. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13275. dynamic_linker='NetBSD (a.out) ld.so'
  13276. else
  13277. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  13278. soname_spec='${libname}${release}${shared_ext}$major'
  13279. dynamic_linker='NetBSD ld.elf_so'
  13280. fi
  13281. shlibpath_var=LD_LIBRARY_PATH
  13282. shlibpath_overrides_runpath=yes
  13283. hardcode_into_libs=yes
  13284. ;;
  13285. newsos6)
  13286. version_type=linux
  13287. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13288. shlibpath_var=LD_LIBRARY_PATH
  13289. shlibpath_overrides_runpath=yes
  13290. ;;
  13291. *nto* | *qnx*)
  13292. version_type=qnx
  13293. need_lib_prefix=no
  13294. need_version=no
  13295. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13296. soname_spec='${libname}${release}${shared_ext}$major'
  13297. shlibpath_var=LD_LIBRARY_PATH
  13298. shlibpath_overrides_runpath=no
  13299. hardcode_into_libs=yes
  13300. dynamic_linker='ldqnx.so'
  13301. ;;
  13302. openbsd*)
  13303. version_type=sunos
  13304. sys_lib_dlsearch_path_spec="/usr/lib"
  13305. need_lib_prefix=no
  13306. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  13307. case $host_os in
  13308. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  13309. *) need_version=no ;;
  13310. esac
  13311. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13312. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  13313. shlibpath_var=LD_LIBRARY_PATH
  13314. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  13315. case $host_os in
  13316. openbsd2.[89] | openbsd2.[89].*)
  13317. shlibpath_overrides_runpath=no
  13318. ;;
  13319. *)
  13320. shlibpath_overrides_runpath=yes
  13321. ;;
  13322. esac
  13323. else
  13324. shlibpath_overrides_runpath=yes
  13325. fi
  13326. ;;
  13327. os2*)
  13328. libname_spec='$name'
  13329. shrext_cmds=".dll"
  13330. need_lib_prefix=no
  13331. library_names_spec='$libname${shared_ext} $libname.a'
  13332. dynamic_linker='OS/2 ld.exe'
  13333. shlibpath_var=LIBPATH
  13334. ;;
  13335. osf3* | osf4* | osf5*)
  13336. version_type=osf
  13337. need_lib_prefix=no
  13338. need_version=no
  13339. soname_spec='${libname}${release}${shared_ext}$major'
  13340. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13341. shlibpath_var=LD_LIBRARY_PATH
  13342. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  13343. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  13344. ;;
  13345. rdos*)
  13346. dynamic_linker=no
  13347. ;;
  13348. solaris*)
  13349. version_type=linux
  13350. need_lib_prefix=no
  13351. need_version=no
  13352. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13353. soname_spec='${libname}${release}${shared_ext}$major'
  13354. shlibpath_var=LD_LIBRARY_PATH
  13355. shlibpath_overrides_runpath=yes
  13356. hardcode_into_libs=yes
  13357. # ldd complains unless libraries are executable
  13358. postinstall_cmds='chmod +x $lib'
  13359. ;;
  13360. sunos4*)
  13361. version_type=sunos
  13362. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  13363. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  13364. shlibpath_var=LD_LIBRARY_PATH
  13365. shlibpath_overrides_runpath=yes
  13366. if test "$with_gnu_ld" = yes; then
  13367. need_lib_prefix=no
  13368. fi
  13369. need_version=yes
  13370. ;;
  13371. sysv4 | sysv4.3*)
  13372. version_type=linux
  13373. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13374. soname_spec='${libname}${release}${shared_ext}$major'
  13375. shlibpath_var=LD_LIBRARY_PATH
  13376. case $host_vendor in
  13377. sni)
  13378. shlibpath_overrides_runpath=no
  13379. need_lib_prefix=no
  13380. runpath_var=LD_RUN_PATH
  13381. ;;
  13382. siemens)
  13383. need_lib_prefix=no
  13384. ;;
  13385. motorola)
  13386. need_lib_prefix=no
  13387. need_version=no
  13388. shlibpath_overrides_runpath=no
  13389. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  13390. ;;
  13391. esac
  13392. ;;
  13393. sysv4*MP*)
  13394. if test -d /usr/nec ;then
  13395. version_type=linux
  13396. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  13397. soname_spec='$libname${shared_ext}.$major'
  13398. shlibpath_var=LD_LIBRARY_PATH
  13399. fi
  13400. ;;
  13401. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  13402. version_type=freebsd-elf
  13403. need_lib_prefix=no
  13404. need_version=no
  13405. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  13406. soname_spec='${libname}${release}${shared_ext}$major'
  13407. shlibpath_var=LD_LIBRARY_PATH
  13408. shlibpath_overrides_runpath=yes
  13409. hardcode_into_libs=yes
  13410. if test "$with_gnu_ld" = yes; then
  13411. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  13412. else
  13413. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  13414. case $host_os in
  13415. sco3.2v5*)
  13416. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  13417. ;;
  13418. esac
  13419. fi
  13420. sys_lib_dlsearch_path_spec='/usr/lib'
  13421. ;;
  13422. tpf*)
  13423. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  13424. version_type=linux
  13425. need_lib_prefix=no
  13426. need_version=no
  13427. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13428. shlibpath_var=LD_LIBRARY_PATH
  13429. shlibpath_overrides_runpath=no
  13430. hardcode_into_libs=yes
  13431. ;;
  13432. uts4*)
  13433. version_type=linux
  13434. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  13435. soname_spec='${libname}${release}${shared_ext}$major'
  13436. shlibpath_var=LD_LIBRARY_PATH
  13437. ;;
  13438. *)
  13439. dynamic_linker=no
  13440. ;;
  13441. esac
  13442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  13443. $as_echo "$dynamic_linker" >&6; }
  13444. test "$dynamic_linker" = no && can_build_shared=no
  13445. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  13446. if test "$GCC" = yes; then
  13447. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  13448. fi
  13449. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  13450. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  13451. fi
  13452. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  13453. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  13454. fi
  13455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  13456. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  13457. hardcode_action_FC=
  13458. if test -n "$hardcode_libdir_flag_spec_FC" ||
  13459. test -n "$runpath_var_FC" ||
  13460. test "X$hardcode_automatic_FC" = "Xyes" ; then
  13461. # We can hardcode non-existent directories.
  13462. if test "$hardcode_direct_FC" != no &&
  13463. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  13464. # have to relink, otherwise we might link with an installed library
  13465. # when we should be linking with a yet-to-be-installed one
  13466. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
  13467. test "$hardcode_minus_L_FC" != no; then
  13468. # Linking always hardcodes the temporary library directory.
  13469. hardcode_action_FC=relink
  13470. else
  13471. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  13472. hardcode_action_FC=immediate
  13473. fi
  13474. else
  13475. # We cannot hardcode anything, or else we can only hardcode existing
  13476. # directories.
  13477. hardcode_action_FC=unsupported
  13478. fi
  13479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
  13480. $as_echo "$hardcode_action_FC" >&6; }
  13481. if test "$hardcode_action_FC" = relink ||
  13482. test "$inherit_rpath_FC" = yes; then
  13483. # Fast installation is not supported
  13484. enable_fast_install=no
  13485. elif test "$shlibpath_overrides_runpath" = yes ||
  13486. test "$enable_shared" = no; then
  13487. # Fast installation is not necessary
  13488. enable_fast_install=needless
  13489. fi
  13490. fi # test -n "$compiler"
  13491. GCC=$lt_save_GCC
  13492. CC="$lt_save_CC"
  13493. fi # test "$_lt_disable_FC" != yes
  13494. ac_ext=c
  13495. ac_cpp='$CPP $CPPFLAGS'
  13496. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13497. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13498. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13499. # extra LD Flags which are required for targets
  13500. case "${host}" in
  13501. *-darwin*)
  13502. # Darwin needs -single_module when linking libgfortran
  13503. extra_ldflags_libgfortran=-Wl,-single_module
  13504. ;;
  13505. esac
  13506. # We need a working compiler at that point, otherwise give a clear
  13507. # error message and bail out.
  13508. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
  13509. $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
  13510. ac_ext=${ac_fc_srcext-f}
  13511. ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
  13512. ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
  13513. ac_compiler_gnu=$ac_cv_fc_compiler_gnu
  13514. cat > conftest.$ac_ext <<_ACEOF
  13515. program foo
  13516. real, parameter :: bar = sin (12.34 / 2.5)
  13517. end program foo
  13518. _ACEOF
  13519. if ac_fn_fc_try_compile "$LINENO"; then :
  13520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13521. $as_echo "yes" >&6; }
  13522. else
  13523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13524. $as_echo "no" >&6; }
  13525. as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
  13526. fi
  13527. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13528. ac_ext=c
  13529. ac_cpp='$CPP $CPPFLAGS'
  13530. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13531. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13532. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13533. # Check whether --enable-largefile was given.
  13534. if test "${enable_largefile+set}" = set; then :
  13535. enableval=$enable_largefile;
  13536. fi
  13537. if test "$enable_largefile" != no; then
  13538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  13539. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  13540. if test "${ac_cv_sys_largefile_CC+set}" = set; then :
  13541. $as_echo_n "(cached) " >&6
  13542. else
  13543. ac_cv_sys_largefile_CC=no
  13544. if test "$GCC" != yes; then
  13545. ac_save_CC=$CC
  13546. while :; do
  13547. # IRIX 6.2 and later do not support large files by default,
  13548. # so use the C compiler's -n32 option if that helps.
  13549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13550. /* end confdefs.h. */
  13551. #include <sys/types.h>
  13552. /* Check that off_t can represent 2**63 - 1 correctly.
  13553. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13554. since some C++ compilers masquerading as C compilers
  13555. incorrectly reject 9223372036854775807. */
  13556. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13557. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13558. && LARGE_OFF_T % 2147483647 == 1)
  13559. ? 1 : -1];
  13560. int
  13561. main ()
  13562. {
  13563. ;
  13564. return 0;
  13565. }
  13566. _ACEOF
  13567. if ac_fn_c_try_compile "$LINENO"; then :
  13568. break
  13569. fi
  13570. rm -f core conftest.err conftest.$ac_objext
  13571. CC="$CC -n32"
  13572. if ac_fn_c_try_compile "$LINENO"; then :
  13573. ac_cv_sys_largefile_CC=' -n32'; break
  13574. fi
  13575. rm -f core conftest.err conftest.$ac_objext
  13576. break
  13577. done
  13578. CC=$ac_save_CC
  13579. rm -f conftest.$ac_ext
  13580. fi
  13581. fi
  13582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  13583. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  13584. if test "$ac_cv_sys_largefile_CC" != no; then
  13585. CC=$CC$ac_cv_sys_largefile_CC
  13586. fi
  13587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  13588. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  13589. if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
  13590. $as_echo_n "(cached) " >&6
  13591. else
  13592. while :; do
  13593. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13594. /* end confdefs.h. */
  13595. #include <sys/types.h>
  13596. /* Check that off_t can represent 2**63 - 1 correctly.
  13597. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13598. since some C++ compilers masquerading as C compilers
  13599. incorrectly reject 9223372036854775807. */
  13600. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13601. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13602. && LARGE_OFF_T % 2147483647 == 1)
  13603. ? 1 : -1];
  13604. int
  13605. main ()
  13606. {
  13607. ;
  13608. return 0;
  13609. }
  13610. _ACEOF
  13611. if ac_fn_c_try_compile "$LINENO"; then :
  13612. ac_cv_sys_file_offset_bits=no; break
  13613. fi
  13614. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13615. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13616. /* end confdefs.h. */
  13617. #define _FILE_OFFSET_BITS 64
  13618. #include <sys/types.h>
  13619. /* Check that off_t can represent 2**63 - 1 correctly.
  13620. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13621. since some C++ compilers masquerading as C compilers
  13622. incorrectly reject 9223372036854775807. */
  13623. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13624. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13625. && LARGE_OFF_T % 2147483647 == 1)
  13626. ? 1 : -1];
  13627. int
  13628. main ()
  13629. {
  13630. ;
  13631. return 0;
  13632. }
  13633. _ACEOF
  13634. if ac_fn_c_try_compile "$LINENO"; then :
  13635. ac_cv_sys_file_offset_bits=64; break
  13636. fi
  13637. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13638. ac_cv_sys_file_offset_bits=unknown
  13639. break
  13640. done
  13641. fi
  13642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  13643. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  13644. case $ac_cv_sys_file_offset_bits in #(
  13645. no | unknown) ;;
  13646. *)
  13647. cat >>confdefs.h <<_ACEOF
  13648. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  13649. _ACEOF
  13650. ;;
  13651. esac
  13652. rm -rf conftest*
  13653. if test $ac_cv_sys_file_offset_bits = unknown; then
  13654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  13655. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  13656. if test "${ac_cv_sys_large_files+set}" = set; then :
  13657. $as_echo_n "(cached) " >&6
  13658. else
  13659. while :; do
  13660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13661. /* end confdefs.h. */
  13662. #include <sys/types.h>
  13663. /* Check that off_t can represent 2**63 - 1 correctly.
  13664. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13665. since some C++ compilers masquerading as C compilers
  13666. incorrectly reject 9223372036854775807. */
  13667. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13668. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13669. && LARGE_OFF_T % 2147483647 == 1)
  13670. ? 1 : -1];
  13671. int
  13672. main ()
  13673. {
  13674. ;
  13675. return 0;
  13676. }
  13677. _ACEOF
  13678. if ac_fn_c_try_compile "$LINENO"; then :
  13679. ac_cv_sys_large_files=no; break
  13680. fi
  13681. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13682. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13683. /* end confdefs.h. */
  13684. #define _LARGE_FILES 1
  13685. #include <sys/types.h>
  13686. /* Check that off_t can represent 2**63 - 1 correctly.
  13687. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  13688. since some C++ compilers masquerading as C compilers
  13689. incorrectly reject 9223372036854775807. */
  13690. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  13691. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  13692. && LARGE_OFF_T % 2147483647 == 1)
  13693. ? 1 : -1];
  13694. int
  13695. main ()
  13696. {
  13697. ;
  13698. return 0;
  13699. }
  13700. _ACEOF
  13701. if ac_fn_c_try_compile "$LINENO"; then :
  13702. ac_cv_sys_large_files=1; break
  13703. fi
  13704. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13705. ac_cv_sys_large_files=unknown
  13706. break
  13707. done
  13708. fi
  13709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  13710. $as_echo "$ac_cv_sys_large_files" >&6; }
  13711. case $ac_cv_sys_large_files in #(
  13712. no | unknown) ;;
  13713. *)
  13714. cat >>confdefs.h <<_ACEOF
  13715. #define _LARGE_FILES $ac_cv_sys_large_files
  13716. _ACEOF
  13717. ;;
  13718. esac
  13719. rm -rf conftest*
  13720. fi
  13721. fi
  13722. # Types
  13723. ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  13724. if test "x$ac_cv_type_off_t" = x""yes; then :
  13725. else
  13726. cat >>confdefs.h <<_ACEOF
  13727. #define off_t long int
  13728. _ACEOF
  13729. fi
  13730. ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
  13731. if test "x$ac_cv_type_intptr_t" = x""yes; then :
  13732. $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
  13733. else
  13734. for ac_type in 'int' 'long int' 'long long int'; do
  13735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13736. /* end confdefs.h. */
  13737. $ac_includes_default
  13738. int
  13739. main ()
  13740. {
  13741. static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
  13742. test_array [0] = 0
  13743. ;
  13744. return 0;
  13745. }
  13746. _ACEOF
  13747. if ac_fn_c_try_compile "$LINENO"; then :
  13748. cat >>confdefs.h <<_ACEOF
  13749. #define intptr_t $ac_type
  13750. _ACEOF
  13751. ac_type=
  13752. fi
  13753. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13754. test -z "$ac_type" && break
  13755. done
  13756. fi
  13757. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
  13758. if test "x$ac_cv_type_uintptr_t" = x""yes; then :
  13759. $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
  13760. else
  13761. for ac_type in 'unsigned int' 'unsigned long int' \
  13762. 'unsigned long long int'; do
  13763. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13764. /* end confdefs.h. */
  13765. $ac_includes_default
  13766. int
  13767. main ()
  13768. {
  13769. static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
  13770. test_array [0] = 0
  13771. ;
  13772. return 0;
  13773. }
  13774. _ACEOF
  13775. if ac_fn_c_try_compile "$LINENO"; then :
  13776. cat >>confdefs.h <<_ACEOF
  13777. #define uintptr_t $ac_type
  13778. _ACEOF
  13779. ac_type=
  13780. fi
  13781. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13782. test -z "$ac_type" && break
  13783. done
  13784. fi
  13785. ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  13786. if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
  13787. cat >>confdefs.h <<_ACEOF
  13788. #define HAVE_PTRDIFF_T 1
  13789. _ACEOF
  13790. fi
  13791. # check header files (we assume C89 is available, so don't check for that)
  13792. for ac_header in $ac_header_list
  13793. do :
  13794. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13795. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  13796. "
  13797. eval as_val=\$$as_ac_Header
  13798. if test "x$as_val" = x""yes; then :
  13799. cat >>confdefs.h <<_ACEOF
  13800. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13801. _ACEOF
  13802. fi
  13803. done
  13804. inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
  13805. acx_cv_header_stdint=stddef.h
  13806. acx_cv_header_stdint_kind="(already complete)"
  13807. for i in stdint.h $inttype_headers; do
  13808. unset ac_cv_type_uintptr_t
  13809. unset ac_cv_type_uintmax_t
  13810. unset ac_cv_type_int_least32_t
  13811. unset ac_cv_type_int_fast32_t
  13812. unset ac_cv_type_uint64_t
  13813. $as_echo_n "looking for a compliant stdint.h in $i, " >&6
  13814. ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
  13815. #include <$i>
  13816. "
  13817. if test "x$ac_cv_type_uintmax_t" = x""yes; then :
  13818. acx_cv_header_stdint=$i
  13819. else
  13820. continue
  13821. fi
  13822. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
  13823. #include <$i>
  13824. "
  13825. if test "x$ac_cv_type_uintptr_t" = x""yes; then :
  13826. else
  13827. acx_cv_header_stdint_kind="(mostly complete)"
  13828. fi
  13829. ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
  13830. #include <$i>
  13831. "
  13832. if test "x$ac_cv_type_int_least32_t" = x""yes; then :
  13833. else
  13834. acx_cv_header_stdint_kind="(mostly complete)"
  13835. fi
  13836. ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
  13837. #include <$i>
  13838. "
  13839. if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
  13840. else
  13841. acx_cv_header_stdint_kind="(mostly complete)"
  13842. fi
  13843. ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
  13844. #include <$i>
  13845. "
  13846. if test "x$ac_cv_type_uint64_t" = x""yes; then :
  13847. else
  13848. acx_cv_header_stdint_kind="(lacks uint64_t)"
  13849. fi
  13850. break
  13851. done
  13852. if test "$acx_cv_header_stdint" = stddef.h; then
  13853. acx_cv_header_stdint_kind="(lacks uintmax_t)"
  13854. for i in stdint.h $inttype_headers; do
  13855. unset ac_cv_type_uintptr_t
  13856. unset ac_cv_type_uint32_t
  13857. unset ac_cv_type_uint64_t
  13858. $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
  13859. ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
  13860. #include <$i>
  13861. "
  13862. if test "x$ac_cv_type_uint32_t" = x""yes; then :
  13863. acx_cv_header_stdint=$i
  13864. else
  13865. continue
  13866. fi
  13867. ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
  13868. #include <$i>
  13869. "
  13870. if test "x$ac_cv_type_uint64_t" = x""yes; then :
  13871. fi
  13872. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
  13873. #include <$i>
  13874. "
  13875. if test "x$ac_cv_type_uintptr_t" = x""yes; then :
  13876. fi
  13877. break
  13878. done
  13879. fi
  13880. if test "$acx_cv_header_stdint" = stddef.h; then
  13881. acx_cv_header_stdint_kind="(u_intXX_t style)"
  13882. for i in sys/types.h $inttype_headers; do
  13883. unset ac_cv_type_u_int32_t
  13884. unset ac_cv_type_u_int64_t
  13885. $as_echo_n "looking for u_intXX_t types in $i, " >&6
  13886. ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
  13887. #include <$i>
  13888. "
  13889. if test "x$ac_cv_type_u_int32_t" = x""yes; then :
  13890. acx_cv_header_stdint=$i
  13891. else
  13892. continue
  13893. fi
  13894. ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
  13895. #include <$i>
  13896. "
  13897. if test "x$ac_cv_type_u_int64_t" = x""yes; then :
  13898. fi
  13899. break
  13900. done
  13901. fi
  13902. if test "$acx_cv_header_stdint" = stddef.h; then
  13903. acx_cv_header_stdint_kind="(using manual detection)"
  13904. fi
  13905. test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
  13906. test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
  13907. test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
  13908. test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
  13909. test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
  13910. # ----------------- Summarize what we found so far
  13911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
  13912. $as_echo_n "checking what to include in gstdint.h... " >&6; }
  13913. case `$as_basename -- gstdint.h ||
  13914. $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
  13915. Xgstdint.h : 'X\(//\)$' \| \
  13916. Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
  13917. $as_echo X/gstdint.h |
  13918. sed '/^.*\/\([^/][^/]*\)\/*$/{
  13919. s//\1/
  13920. q
  13921. }
  13922. /^X\/\(\/\/\)$/{
  13923. s//\1/
  13924. q
  13925. }
  13926. /^X\/\(\/\).*/{
  13927. s//\1/
  13928. q
  13929. }
  13930. s/.*/./; q'` in
  13931. stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
  13932. $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
  13933. inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
  13934. $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
  13935. *) ;;
  13936. esac
  13937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
  13938. $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
  13939. # ----------------- done included file, check C basic types --------
  13940. # Lacking an uintptr_t? Test size of void *
  13941. case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
  13942. stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
  13943. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  13944. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  13945. # This bug is HP SR number 8606223364.
  13946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  13947. $as_echo_n "checking size of void *... " >&6; }
  13948. if test "${ac_cv_sizeof_void_p+set}" = set; then :
  13949. $as_echo_n "(cached) " >&6
  13950. else
  13951. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  13952. else
  13953. if test "$ac_cv_type_void_p" = yes; then
  13954. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13955. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13956. { as_fn_set_status 77
  13957. as_fn_error "cannot compute sizeof (void *)
  13958. See \`config.log' for more details." "$LINENO" 5; }; }
  13959. else
  13960. ac_cv_sizeof_void_p=0
  13961. fi
  13962. fi
  13963. fi
  13964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  13965. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  13966. cat >>confdefs.h <<_ACEOF
  13967. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  13968. _ACEOF
  13969. ;;
  13970. esac
  13971. # Lacking an uint64_t? Test size of long
  13972. case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
  13973. stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
  13974. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  13975. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  13976. # This bug is HP SR number 8606223364.
  13977. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  13978. $as_echo_n "checking size of long... " >&6; }
  13979. if test "${ac_cv_sizeof_long+set}" = set; then :
  13980. $as_echo_n "(cached) " >&6
  13981. else
  13982. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  13983. else
  13984. if test "$ac_cv_type_long" = yes; then
  13985. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13986. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13987. { as_fn_set_status 77
  13988. as_fn_error "cannot compute sizeof (long)
  13989. See \`config.log' for more details." "$LINENO" 5; }; }
  13990. else
  13991. ac_cv_sizeof_long=0
  13992. fi
  13993. fi
  13994. fi
  13995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  13996. $as_echo "$ac_cv_sizeof_long" >&6; }
  13997. cat >>confdefs.h <<_ACEOF
  13998. #define SIZEOF_LONG $ac_cv_sizeof_long
  13999. _ACEOF
  14000. ;;
  14001. esac
  14002. if test $acx_cv_header_stdint = stddef.h; then
  14003. # Lacking a good header? Test size of everything and deduce all types.
  14004. # The cast to long int works around a bug in the HP C Compiler
  14005. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14006. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14007. # This bug is HP SR number 8606223364.
  14008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  14009. $as_echo_n "checking size of int... " >&6; }
  14010. if test "${ac_cv_sizeof_int+set}" = set; then :
  14011. $as_echo_n "(cached) " >&6
  14012. else
  14013. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  14014. else
  14015. if test "$ac_cv_type_int" = yes; then
  14016. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14017. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14018. { as_fn_set_status 77
  14019. as_fn_error "cannot compute sizeof (int)
  14020. See \`config.log' for more details." "$LINENO" 5; }; }
  14021. else
  14022. ac_cv_sizeof_int=0
  14023. fi
  14024. fi
  14025. fi
  14026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  14027. $as_echo "$ac_cv_sizeof_int" >&6; }
  14028. cat >>confdefs.h <<_ACEOF
  14029. #define SIZEOF_INT $ac_cv_sizeof_int
  14030. _ACEOF
  14031. # The cast to long int works around a bug in the HP C Compiler
  14032. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14033. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14034. # This bug is HP SR number 8606223364.
  14035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  14036. $as_echo_n "checking size of short... " >&6; }
  14037. if test "${ac_cv_sizeof_short+set}" = set; then :
  14038. $as_echo_n "(cached) " >&6
  14039. else
  14040. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  14041. else
  14042. if test "$ac_cv_type_short" = yes; then
  14043. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14044. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14045. { as_fn_set_status 77
  14046. as_fn_error "cannot compute sizeof (short)
  14047. See \`config.log' for more details." "$LINENO" 5; }; }
  14048. else
  14049. ac_cv_sizeof_short=0
  14050. fi
  14051. fi
  14052. fi
  14053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  14054. $as_echo "$ac_cv_sizeof_short" >&6; }
  14055. cat >>confdefs.h <<_ACEOF
  14056. #define SIZEOF_SHORT $ac_cv_sizeof_short
  14057. _ACEOF
  14058. # The cast to long int works around a bug in the HP C Compiler
  14059. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  14060. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  14061. # This bug is HP SR number 8606223364.
  14062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  14063. $as_echo_n "checking size of char... " >&6; }
  14064. if test "${ac_cv_sizeof_char+set}" = set; then :
  14065. $as_echo_n "(cached) " >&6
  14066. else
  14067. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  14068. else
  14069. if test "$ac_cv_type_char" = yes; then
  14070. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14071. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14072. { as_fn_set_status 77
  14073. as_fn_error "cannot compute sizeof (char)
  14074. See \`config.log' for more details." "$LINENO" 5; }; }
  14075. else
  14076. ac_cv_sizeof_char=0
  14077. fi
  14078. fi
  14079. fi
  14080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  14081. $as_echo "$ac_cv_sizeof_char" >&6; }
  14082. cat >>confdefs.h <<_ACEOF
  14083. #define SIZEOF_CHAR $ac_cv_sizeof_char
  14084. _ACEOF
  14085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
  14086. $as_echo_n "checking for type equivalent to int8_t... " >&6; }
  14087. case "$ac_cv_sizeof_char" in
  14088. 1) acx_cv_type_int8_t=char ;;
  14089. *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
  14090. esac
  14091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
  14092. $as_echo "$acx_cv_type_int8_t" >&6; }
  14093. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
  14094. $as_echo_n "checking for type equivalent to int16_t... " >&6; }
  14095. case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
  14096. 2:*) acx_cv_type_int16_t=int ;;
  14097. *:2) acx_cv_type_int16_t=short ;;
  14098. *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
  14099. esac
  14100. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
  14101. $as_echo "$acx_cv_type_int16_t" >&6; }
  14102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
  14103. $as_echo_n "checking for type equivalent to int32_t... " >&6; }
  14104. case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
  14105. 4:*) acx_cv_type_int32_t=int ;;
  14106. *:4) acx_cv_type_int32_t=long ;;
  14107. *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
  14108. esac
  14109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
  14110. $as_echo "$acx_cv_type_int32_t" >&6; }
  14111. fi
  14112. # These tests are here to make the output prettier
  14113. if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
  14114. case "$ac_cv_sizeof_long" in
  14115. 8) acx_cv_type_int64_t=long ;;
  14116. esac
  14117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
  14118. $as_echo_n "checking for type equivalent to int64_t... " >&6; }
  14119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
  14120. $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
  14121. fi
  14122. # Now we can use the above types
  14123. if test "$ac_cv_type_uintptr_t" != yes; then
  14124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
  14125. $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
  14126. case $ac_cv_sizeof_void_p in
  14127. 2) acx_cv_type_intptr_t=int16_t ;;
  14128. 4) acx_cv_type_intptr_t=int32_t ;;
  14129. 8) acx_cv_type_intptr_t=int64_t ;;
  14130. *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
  14131. esac
  14132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
  14133. $as_echo "$acx_cv_type_intptr_t" >&6; }
  14134. fi
  14135. # ----------------- done all checks, emit header -------------
  14136. ac_config_commands="$ac_config_commands gstdint.h"
  14137. ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
  14138. if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
  14139. cat >>confdefs.h <<_ACEOF
  14140. #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14141. _ACEOF
  14142. fi
  14143. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  14144. if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
  14145. cat >>confdefs.h <<_ACEOF
  14146. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14147. _ACEOF
  14148. fi
  14149. ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
  14150. if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
  14151. cat >>confdefs.h <<_ACEOF
  14152. #define HAVE_STRUCT_STAT_ST_RDEV 1
  14153. _ACEOF
  14154. fi
  14155. # Check for library functions.
  14156. if test "x${with_newlib}" = "xyes"; then
  14157. # We are being configured with a cross compiler. AC_REPLACE_FUNCS
  14158. # may not work correctly, because the compiler may not be able to
  14159. # link executables.
  14160. $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
  14161. $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
  14162. $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
  14163. $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
  14164. $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
  14165. $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
  14166. $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
  14167. $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
  14168. $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
  14169. $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h
  14170. # At some point, we should differentiate between architectures
  14171. # like x86, which have long double versions, and alpha/powerpc/etc.,
  14172. # which don't. For the time being, punt.
  14173. if test x"long_double_math_on_this_cpu" = x"yes"; then
  14174. $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
  14175. fi
  14176. else
  14177. for ac_func in $ac_func_list
  14178. do :
  14179. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14180. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14181. eval as_val=\$$as_ac_var
  14182. if test "x$as_val" = x""yes; then :
  14183. cat >>confdefs.h <<_ACEOF
  14184. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14185. _ACEOF
  14186. fi
  14187. done
  14188. fi
  14189. # Check strerror_r, cannot be above as versions with two and three arguments exist
  14190. ac_save_CFLAGS="$CFLAGS"
  14191. CFLAGS="-Wimplicit-function-declaration -Werror"
  14192. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14193. /* end confdefs.h. */
  14194. #define _GNU_SOURCE 1
  14195. #include <string.h>
  14196. #include <locale.h>
  14197. int
  14198. main ()
  14199. {
  14200. char s[128]; strerror_r(5, s, 128);
  14201. ;
  14202. return 0;
  14203. }
  14204. _ACEOF
  14205. if ac_fn_c_try_compile "$LINENO"; then :
  14206. $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
  14207. fi
  14208. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14209. CFLAGS="$ac_save_CFLAGS"
  14210. ac_save_CFLAGS="$CFLAGS"
  14211. CFLAGS="-Wimplicit-function-declaration -Werror"
  14212. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14213. /* end confdefs.h. */
  14214. #define _GNU_SOURCE 1
  14215. #include <string.h>
  14216. #include <locale.h>
  14217. int
  14218. main ()
  14219. {
  14220. char s[128]; strerror_r(5, s);
  14221. ;
  14222. return 0;
  14223. }
  14224. _ACEOF
  14225. if ac_fn_c_try_compile "$LINENO"; then :
  14226. $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
  14227. fi
  14228. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14229. CFLAGS="$ac_save_CFLAGS"
  14230. # Check for C99 (and other IEEE) math functions
  14231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
  14232. $as_echo_n "checking for sin in -lm... " >&6; }
  14233. if test "${ac_cv_lib_m_sin+set}" = set; then :
  14234. $as_echo_n "(cached) " >&6
  14235. else
  14236. ac_check_lib_save_LIBS=$LIBS
  14237. LIBS="-lm $LIBS"
  14238. if test x$gcc_no_link = xyes; then
  14239. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14240. fi
  14241. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14242. /* end confdefs.h. */
  14243. /* Override any GCC internal prototype to avoid an error.
  14244. Use char because int might match the return type of a GCC
  14245. builtin and then its argument prototype would still apply. */
  14246. #ifdef __cplusplus
  14247. extern "C"
  14248. #endif
  14249. char sin ();
  14250. int
  14251. main ()
  14252. {
  14253. return sin ();
  14254. ;
  14255. return 0;
  14256. }
  14257. _ACEOF
  14258. if ac_fn_c_try_link "$LINENO"; then :
  14259. ac_cv_lib_m_sin=yes
  14260. else
  14261. ac_cv_lib_m_sin=no
  14262. fi
  14263. rm -f core conftest.err conftest.$ac_objext \
  14264. conftest$ac_exeext conftest.$ac_ext
  14265. LIBS=$ac_check_lib_save_LIBS
  14266. fi
  14267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
  14268. $as_echo "$ac_cv_lib_m_sin" >&6; }
  14269. if test "x$ac_cv_lib_m_sin" = x""yes; then :
  14270. cat >>confdefs.h <<_ACEOF
  14271. #define HAVE_LIBM 1
  14272. _ACEOF
  14273. LIBS="-lm $LIBS"
  14274. fi
  14275. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
  14276. $as_echo_n "checking for acosf... " >&6; }
  14277. if test "${gcc_cv_math_func_acosf+set}" = set; then :
  14278. $as_echo_n "(cached) " >&6
  14279. else
  14280. if test x$gcc_no_link = xyes; then
  14281. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14282. fi
  14283. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14284. /* end confdefs.h. */
  14285. #ifdef HAVE_COMPLEX_H
  14286. #include <complex.h>
  14287. #endif
  14288. #ifdef HAVE_MATH_H
  14289. #include <math.h>
  14290. #endif
  14291. int (*ptr)() = (int (*)())acosf;
  14292. int
  14293. main ()
  14294. {
  14295. return 0;
  14296. }
  14297. _ACEOF
  14298. if ac_fn_c_try_link "$LINENO"; then :
  14299. gcc_cv_math_func_acosf=yes
  14300. else
  14301. gcc_cv_math_func_acosf=no
  14302. fi
  14303. rm -f core conftest.err conftest.$ac_objext \
  14304. conftest$ac_exeext conftest.$ac_ext
  14305. fi
  14306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
  14307. $as_echo "$gcc_cv_math_func_acosf" >&6; }
  14308. if test $gcc_cv_math_func_acosf = yes; then
  14309. cat >>confdefs.h <<_ACEOF
  14310. #define HAVE_ACOSF 1
  14311. _ACEOF
  14312. fi
  14313. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
  14314. $as_echo_n "checking for acos... " >&6; }
  14315. if test "${gcc_cv_math_func_acos+set}" = set; then :
  14316. $as_echo_n "(cached) " >&6
  14317. else
  14318. if test x$gcc_no_link = xyes; then
  14319. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14320. fi
  14321. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14322. /* end confdefs.h. */
  14323. #ifdef HAVE_COMPLEX_H
  14324. #include <complex.h>
  14325. #endif
  14326. #ifdef HAVE_MATH_H
  14327. #include <math.h>
  14328. #endif
  14329. int (*ptr)() = (int (*)())acos;
  14330. int
  14331. main ()
  14332. {
  14333. return 0;
  14334. }
  14335. _ACEOF
  14336. if ac_fn_c_try_link "$LINENO"; then :
  14337. gcc_cv_math_func_acos=yes
  14338. else
  14339. gcc_cv_math_func_acos=no
  14340. fi
  14341. rm -f core conftest.err conftest.$ac_objext \
  14342. conftest$ac_exeext conftest.$ac_ext
  14343. fi
  14344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
  14345. $as_echo "$gcc_cv_math_func_acos" >&6; }
  14346. if test $gcc_cv_math_func_acos = yes; then
  14347. cat >>confdefs.h <<_ACEOF
  14348. #define HAVE_ACOS 1
  14349. _ACEOF
  14350. fi
  14351. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
  14352. $as_echo_n "checking for acosl... " >&6; }
  14353. if test "${gcc_cv_math_func_acosl+set}" = set; then :
  14354. $as_echo_n "(cached) " >&6
  14355. else
  14356. if test x$gcc_no_link = xyes; then
  14357. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14358. fi
  14359. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14360. /* end confdefs.h. */
  14361. #ifdef HAVE_COMPLEX_H
  14362. #include <complex.h>
  14363. #endif
  14364. #ifdef HAVE_MATH_H
  14365. #include <math.h>
  14366. #endif
  14367. int (*ptr)() = (int (*)())acosl;
  14368. int
  14369. main ()
  14370. {
  14371. return 0;
  14372. }
  14373. _ACEOF
  14374. if ac_fn_c_try_link "$LINENO"; then :
  14375. gcc_cv_math_func_acosl=yes
  14376. else
  14377. gcc_cv_math_func_acosl=no
  14378. fi
  14379. rm -f core conftest.err conftest.$ac_objext \
  14380. conftest$ac_exeext conftest.$ac_ext
  14381. fi
  14382. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
  14383. $as_echo "$gcc_cv_math_func_acosl" >&6; }
  14384. if test $gcc_cv_math_func_acosl = yes; then
  14385. cat >>confdefs.h <<_ACEOF
  14386. #define HAVE_ACOSL 1
  14387. _ACEOF
  14388. fi
  14389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
  14390. $as_echo_n "checking for acoshf... " >&6; }
  14391. if test "${gcc_cv_math_func_acoshf+set}" = set; then :
  14392. $as_echo_n "(cached) " >&6
  14393. else
  14394. if test x$gcc_no_link = xyes; then
  14395. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14396. fi
  14397. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14398. /* end confdefs.h. */
  14399. #ifdef HAVE_COMPLEX_H
  14400. #include <complex.h>
  14401. #endif
  14402. #ifdef HAVE_MATH_H
  14403. #include <math.h>
  14404. #endif
  14405. int (*ptr)() = (int (*)())acoshf;
  14406. int
  14407. main ()
  14408. {
  14409. return 0;
  14410. }
  14411. _ACEOF
  14412. if ac_fn_c_try_link "$LINENO"; then :
  14413. gcc_cv_math_func_acoshf=yes
  14414. else
  14415. gcc_cv_math_func_acoshf=no
  14416. fi
  14417. rm -f core conftest.err conftest.$ac_objext \
  14418. conftest$ac_exeext conftest.$ac_ext
  14419. fi
  14420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
  14421. $as_echo "$gcc_cv_math_func_acoshf" >&6; }
  14422. if test $gcc_cv_math_func_acoshf = yes; then
  14423. cat >>confdefs.h <<_ACEOF
  14424. #define HAVE_ACOSHF 1
  14425. _ACEOF
  14426. fi
  14427. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
  14428. $as_echo_n "checking for acosh... " >&6; }
  14429. if test "${gcc_cv_math_func_acosh+set}" = set; then :
  14430. $as_echo_n "(cached) " >&6
  14431. else
  14432. if test x$gcc_no_link = xyes; then
  14433. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14434. fi
  14435. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14436. /* end confdefs.h. */
  14437. #ifdef HAVE_COMPLEX_H
  14438. #include <complex.h>
  14439. #endif
  14440. #ifdef HAVE_MATH_H
  14441. #include <math.h>
  14442. #endif
  14443. int (*ptr)() = (int (*)())acosh;
  14444. int
  14445. main ()
  14446. {
  14447. return 0;
  14448. }
  14449. _ACEOF
  14450. if ac_fn_c_try_link "$LINENO"; then :
  14451. gcc_cv_math_func_acosh=yes
  14452. else
  14453. gcc_cv_math_func_acosh=no
  14454. fi
  14455. rm -f core conftest.err conftest.$ac_objext \
  14456. conftest$ac_exeext conftest.$ac_ext
  14457. fi
  14458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
  14459. $as_echo "$gcc_cv_math_func_acosh" >&6; }
  14460. if test $gcc_cv_math_func_acosh = yes; then
  14461. cat >>confdefs.h <<_ACEOF
  14462. #define HAVE_ACOSH 1
  14463. _ACEOF
  14464. fi
  14465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
  14466. $as_echo_n "checking for acoshl... " >&6; }
  14467. if test "${gcc_cv_math_func_acoshl+set}" = set; then :
  14468. $as_echo_n "(cached) " >&6
  14469. else
  14470. if test x$gcc_no_link = xyes; then
  14471. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14472. fi
  14473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14474. /* end confdefs.h. */
  14475. #ifdef HAVE_COMPLEX_H
  14476. #include <complex.h>
  14477. #endif
  14478. #ifdef HAVE_MATH_H
  14479. #include <math.h>
  14480. #endif
  14481. int (*ptr)() = (int (*)())acoshl;
  14482. int
  14483. main ()
  14484. {
  14485. return 0;
  14486. }
  14487. _ACEOF
  14488. if ac_fn_c_try_link "$LINENO"; then :
  14489. gcc_cv_math_func_acoshl=yes
  14490. else
  14491. gcc_cv_math_func_acoshl=no
  14492. fi
  14493. rm -f core conftest.err conftest.$ac_objext \
  14494. conftest$ac_exeext conftest.$ac_ext
  14495. fi
  14496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
  14497. $as_echo "$gcc_cv_math_func_acoshl" >&6; }
  14498. if test $gcc_cv_math_func_acoshl = yes; then
  14499. cat >>confdefs.h <<_ACEOF
  14500. #define HAVE_ACOSHL 1
  14501. _ACEOF
  14502. fi
  14503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
  14504. $as_echo_n "checking for asinf... " >&6; }
  14505. if test "${gcc_cv_math_func_asinf+set}" = set; then :
  14506. $as_echo_n "(cached) " >&6
  14507. else
  14508. if test x$gcc_no_link = xyes; then
  14509. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14510. fi
  14511. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14512. /* end confdefs.h. */
  14513. #ifdef HAVE_COMPLEX_H
  14514. #include <complex.h>
  14515. #endif
  14516. #ifdef HAVE_MATH_H
  14517. #include <math.h>
  14518. #endif
  14519. int (*ptr)() = (int (*)())asinf;
  14520. int
  14521. main ()
  14522. {
  14523. return 0;
  14524. }
  14525. _ACEOF
  14526. if ac_fn_c_try_link "$LINENO"; then :
  14527. gcc_cv_math_func_asinf=yes
  14528. else
  14529. gcc_cv_math_func_asinf=no
  14530. fi
  14531. rm -f core conftest.err conftest.$ac_objext \
  14532. conftest$ac_exeext conftest.$ac_ext
  14533. fi
  14534. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
  14535. $as_echo "$gcc_cv_math_func_asinf" >&6; }
  14536. if test $gcc_cv_math_func_asinf = yes; then
  14537. cat >>confdefs.h <<_ACEOF
  14538. #define HAVE_ASINF 1
  14539. _ACEOF
  14540. fi
  14541. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
  14542. $as_echo_n "checking for asin... " >&6; }
  14543. if test "${gcc_cv_math_func_asin+set}" = set; then :
  14544. $as_echo_n "(cached) " >&6
  14545. else
  14546. if test x$gcc_no_link = xyes; then
  14547. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14548. fi
  14549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14550. /* end confdefs.h. */
  14551. #ifdef HAVE_COMPLEX_H
  14552. #include <complex.h>
  14553. #endif
  14554. #ifdef HAVE_MATH_H
  14555. #include <math.h>
  14556. #endif
  14557. int (*ptr)() = (int (*)())asin;
  14558. int
  14559. main ()
  14560. {
  14561. return 0;
  14562. }
  14563. _ACEOF
  14564. if ac_fn_c_try_link "$LINENO"; then :
  14565. gcc_cv_math_func_asin=yes
  14566. else
  14567. gcc_cv_math_func_asin=no
  14568. fi
  14569. rm -f core conftest.err conftest.$ac_objext \
  14570. conftest$ac_exeext conftest.$ac_ext
  14571. fi
  14572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
  14573. $as_echo "$gcc_cv_math_func_asin" >&6; }
  14574. if test $gcc_cv_math_func_asin = yes; then
  14575. cat >>confdefs.h <<_ACEOF
  14576. #define HAVE_ASIN 1
  14577. _ACEOF
  14578. fi
  14579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
  14580. $as_echo_n "checking for asinl... " >&6; }
  14581. if test "${gcc_cv_math_func_asinl+set}" = set; then :
  14582. $as_echo_n "(cached) " >&6
  14583. else
  14584. if test x$gcc_no_link = xyes; then
  14585. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14586. fi
  14587. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14588. /* end confdefs.h. */
  14589. #ifdef HAVE_COMPLEX_H
  14590. #include <complex.h>
  14591. #endif
  14592. #ifdef HAVE_MATH_H
  14593. #include <math.h>
  14594. #endif
  14595. int (*ptr)() = (int (*)())asinl;
  14596. int
  14597. main ()
  14598. {
  14599. return 0;
  14600. }
  14601. _ACEOF
  14602. if ac_fn_c_try_link "$LINENO"; then :
  14603. gcc_cv_math_func_asinl=yes
  14604. else
  14605. gcc_cv_math_func_asinl=no
  14606. fi
  14607. rm -f core conftest.err conftest.$ac_objext \
  14608. conftest$ac_exeext conftest.$ac_ext
  14609. fi
  14610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
  14611. $as_echo "$gcc_cv_math_func_asinl" >&6; }
  14612. if test $gcc_cv_math_func_asinl = yes; then
  14613. cat >>confdefs.h <<_ACEOF
  14614. #define HAVE_ASINL 1
  14615. _ACEOF
  14616. fi
  14617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
  14618. $as_echo_n "checking for asinhf... " >&6; }
  14619. if test "${gcc_cv_math_func_asinhf+set}" = set; then :
  14620. $as_echo_n "(cached) " >&6
  14621. else
  14622. if test x$gcc_no_link = xyes; then
  14623. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14624. fi
  14625. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14626. /* end confdefs.h. */
  14627. #ifdef HAVE_COMPLEX_H
  14628. #include <complex.h>
  14629. #endif
  14630. #ifdef HAVE_MATH_H
  14631. #include <math.h>
  14632. #endif
  14633. int (*ptr)() = (int (*)())asinhf;
  14634. int
  14635. main ()
  14636. {
  14637. return 0;
  14638. }
  14639. _ACEOF
  14640. if ac_fn_c_try_link "$LINENO"; then :
  14641. gcc_cv_math_func_asinhf=yes
  14642. else
  14643. gcc_cv_math_func_asinhf=no
  14644. fi
  14645. rm -f core conftest.err conftest.$ac_objext \
  14646. conftest$ac_exeext conftest.$ac_ext
  14647. fi
  14648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
  14649. $as_echo "$gcc_cv_math_func_asinhf" >&6; }
  14650. if test $gcc_cv_math_func_asinhf = yes; then
  14651. cat >>confdefs.h <<_ACEOF
  14652. #define HAVE_ASINHF 1
  14653. _ACEOF
  14654. fi
  14655. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
  14656. $as_echo_n "checking for asinh... " >&6; }
  14657. if test "${gcc_cv_math_func_asinh+set}" = set; then :
  14658. $as_echo_n "(cached) " >&6
  14659. else
  14660. if test x$gcc_no_link = xyes; then
  14661. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14662. fi
  14663. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14664. /* end confdefs.h. */
  14665. #ifdef HAVE_COMPLEX_H
  14666. #include <complex.h>
  14667. #endif
  14668. #ifdef HAVE_MATH_H
  14669. #include <math.h>
  14670. #endif
  14671. int (*ptr)() = (int (*)())asinh;
  14672. int
  14673. main ()
  14674. {
  14675. return 0;
  14676. }
  14677. _ACEOF
  14678. if ac_fn_c_try_link "$LINENO"; then :
  14679. gcc_cv_math_func_asinh=yes
  14680. else
  14681. gcc_cv_math_func_asinh=no
  14682. fi
  14683. rm -f core conftest.err conftest.$ac_objext \
  14684. conftest$ac_exeext conftest.$ac_ext
  14685. fi
  14686. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
  14687. $as_echo "$gcc_cv_math_func_asinh" >&6; }
  14688. if test $gcc_cv_math_func_asinh = yes; then
  14689. cat >>confdefs.h <<_ACEOF
  14690. #define HAVE_ASINH 1
  14691. _ACEOF
  14692. fi
  14693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
  14694. $as_echo_n "checking for asinhl... " >&6; }
  14695. if test "${gcc_cv_math_func_asinhl+set}" = set; then :
  14696. $as_echo_n "(cached) " >&6
  14697. else
  14698. if test x$gcc_no_link = xyes; then
  14699. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14700. fi
  14701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14702. /* end confdefs.h. */
  14703. #ifdef HAVE_COMPLEX_H
  14704. #include <complex.h>
  14705. #endif
  14706. #ifdef HAVE_MATH_H
  14707. #include <math.h>
  14708. #endif
  14709. int (*ptr)() = (int (*)())asinhl;
  14710. int
  14711. main ()
  14712. {
  14713. return 0;
  14714. }
  14715. _ACEOF
  14716. if ac_fn_c_try_link "$LINENO"; then :
  14717. gcc_cv_math_func_asinhl=yes
  14718. else
  14719. gcc_cv_math_func_asinhl=no
  14720. fi
  14721. rm -f core conftest.err conftest.$ac_objext \
  14722. conftest$ac_exeext conftest.$ac_ext
  14723. fi
  14724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
  14725. $as_echo "$gcc_cv_math_func_asinhl" >&6; }
  14726. if test $gcc_cv_math_func_asinhl = yes; then
  14727. cat >>confdefs.h <<_ACEOF
  14728. #define HAVE_ASINHL 1
  14729. _ACEOF
  14730. fi
  14731. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
  14732. $as_echo_n "checking for atan2f... " >&6; }
  14733. if test "${gcc_cv_math_func_atan2f+set}" = set; then :
  14734. $as_echo_n "(cached) " >&6
  14735. else
  14736. if test x$gcc_no_link = xyes; then
  14737. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14738. fi
  14739. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14740. /* end confdefs.h. */
  14741. #ifdef HAVE_COMPLEX_H
  14742. #include <complex.h>
  14743. #endif
  14744. #ifdef HAVE_MATH_H
  14745. #include <math.h>
  14746. #endif
  14747. int (*ptr)() = (int (*)())atan2f;
  14748. int
  14749. main ()
  14750. {
  14751. return 0;
  14752. }
  14753. _ACEOF
  14754. if ac_fn_c_try_link "$LINENO"; then :
  14755. gcc_cv_math_func_atan2f=yes
  14756. else
  14757. gcc_cv_math_func_atan2f=no
  14758. fi
  14759. rm -f core conftest.err conftest.$ac_objext \
  14760. conftest$ac_exeext conftest.$ac_ext
  14761. fi
  14762. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
  14763. $as_echo "$gcc_cv_math_func_atan2f" >&6; }
  14764. if test $gcc_cv_math_func_atan2f = yes; then
  14765. cat >>confdefs.h <<_ACEOF
  14766. #define HAVE_ATAN2F 1
  14767. _ACEOF
  14768. fi
  14769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
  14770. $as_echo_n "checking for atan2... " >&6; }
  14771. if test "${gcc_cv_math_func_atan2+set}" = set; then :
  14772. $as_echo_n "(cached) " >&6
  14773. else
  14774. if test x$gcc_no_link = xyes; then
  14775. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14776. fi
  14777. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14778. /* end confdefs.h. */
  14779. #ifdef HAVE_COMPLEX_H
  14780. #include <complex.h>
  14781. #endif
  14782. #ifdef HAVE_MATH_H
  14783. #include <math.h>
  14784. #endif
  14785. int (*ptr)() = (int (*)())atan2;
  14786. int
  14787. main ()
  14788. {
  14789. return 0;
  14790. }
  14791. _ACEOF
  14792. if ac_fn_c_try_link "$LINENO"; then :
  14793. gcc_cv_math_func_atan2=yes
  14794. else
  14795. gcc_cv_math_func_atan2=no
  14796. fi
  14797. rm -f core conftest.err conftest.$ac_objext \
  14798. conftest$ac_exeext conftest.$ac_ext
  14799. fi
  14800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
  14801. $as_echo "$gcc_cv_math_func_atan2" >&6; }
  14802. if test $gcc_cv_math_func_atan2 = yes; then
  14803. cat >>confdefs.h <<_ACEOF
  14804. #define HAVE_ATAN2 1
  14805. _ACEOF
  14806. fi
  14807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
  14808. $as_echo_n "checking for atan2l... " >&6; }
  14809. if test "${gcc_cv_math_func_atan2l+set}" = set; then :
  14810. $as_echo_n "(cached) " >&6
  14811. else
  14812. if test x$gcc_no_link = xyes; then
  14813. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14814. fi
  14815. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14816. /* end confdefs.h. */
  14817. #ifdef HAVE_COMPLEX_H
  14818. #include <complex.h>
  14819. #endif
  14820. #ifdef HAVE_MATH_H
  14821. #include <math.h>
  14822. #endif
  14823. int (*ptr)() = (int (*)())atan2l;
  14824. int
  14825. main ()
  14826. {
  14827. return 0;
  14828. }
  14829. _ACEOF
  14830. if ac_fn_c_try_link "$LINENO"; then :
  14831. gcc_cv_math_func_atan2l=yes
  14832. else
  14833. gcc_cv_math_func_atan2l=no
  14834. fi
  14835. rm -f core conftest.err conftest.$ac_objext \
  14836. conftest$ac_exeext conftest.$ac_ext
  14837. fi
  14838. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
  14839. $as_echo "$gcc_cv_math_func_atan2l" >&6; }
  14840. if test $gcc_cv_math_func_atan2l = yes; then
  14841. cat >>confdefs.h <<_ACEOF
  14842. #define HAVE_ATAN2L 1
  14843. _ACEOF
  14844. fi
  14845. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
  14846. $as_echo_n "checking for atanf... " >&6; }
  14847. if test "${gcc_cv_math_func_atanf+set}" = set; then :
  14848. $as_echo_n "(cached) " >&6
  14849. else
  14850. if test x$gcc_no_link = xyes; then
  14851. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14852. fi
  14853. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14854. /* end confdefs.h. */
  14855. #ifdef HAVE_COMPLEX_H
  14856. #include <complex.h>
  14857. #endif
  14858. #ifdef HAVE_MATH_H
  14859. #include <math.h>
  14860. #endif
  14861. int (*ptr)() = (int (*)())atanf;
  14862. int
  14863. main ()
  14864. {
  14865. return 0;
  14866. }
  14867. _ACEOF
  14868. if ac_fn_c_try_link "$LINENO"; then :
  14869. gcc_cv_math_func_atanf=yes
  14870. else
  14871. gcc_cv_math_func_atanf=no
  14872. fi
  14873. rm -f core conftest.err conftest.$ac_objext \
  14874. conftest$ac_exeext conftest.$ac_ext
  14875. fi
  14876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
  14877. $as_echo "$gcc_cv_math_func_atanf" >&6; }
  14878. if test $gcc_cv_math_func_atanf = yes; then
  14879. cat >>confdefs.h <<_ACEOF
  14880. #define HAVE_ATANF 1
  14881. _ACEOF
  14882. fi
  14883. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
  14884. $as_echo_n "checking for atan... " >&6; }
  14885. if test "${gcc_cv_math_func_atan+set}" = set; then :
  14886. $as_echo_n "(cached) " >&6
  14887. else
  14888. if test x$gcc_no_link = xyes; then
  14889. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14890. fi
  14891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14892. /* end confdefs.h. */
  14893. #ifdef HAVE_COMPLEX_H
  14894. #include <complex.h>
  14895. #endif
  14896. #ifdef HAVE_MATH_H
  14897. #include <math.h>
  14898. #endif
  14899. int (*ptr)() = (int (*)())atan;
  14900. int
  14901. main ()
  14902. {
  14903. return 0;
  14904. }
  14905. _ACEOF
  14906. if ac_fn_c_try_link "$LINENO"; then :
  14907. gcc_cv_math_func_atan=yes
  14908. else
  14909. gcc_cv_math_func_atan=no
  14910. fi
  14911. rm -f core conftest.err conftest.$ac_objext \
  14912. conftest$ac_exeext conftest.$ac_ext
  14913. fi
  14914. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
  14915. $as_echo "$gcc_cv_math_func_atan" >&6; }
  14916. if test $gcc_cv_math_func_atan = yes; then
  14917. cat >>confdefs.h <<_ACEOF
  14918. #define HAVE_ATAN 1
  14919. _ACEOF
  14920. fi
  14921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
  14922. $as_echo_n "checking for atanl... " >&6; }
  14923. if test "${gcc_cv_math_func_atanl+set}" = set; then :
  14924. $as_echo_n "(cached) " >&6
  14925. else
  14926. if test x$gcc_no_link = xyes; then
  14927. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14928. fi
  14929. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14930. /* end confdefs.h. */
  14931. #ifdef HAVE_COMPLEX_H
  14932. #include <complex.h>
  14933. #endif
  14934. #ifdef HAVE_MATH_H
  14935. #include <math.h>
  14936. #endif
  14937. int (*ptr)() = (int (*)())atanl;
  14938. int
  14939. main ()
  14940. {
  14941. return 0;
  14942. }
  14943. _ACEOF
  14944. if ac_fn_c_try_link "$LINENO"; then :
  14945. gcc_cv_math_func_atanl=yes
  14946. else
  14947. gcc_cv_math_func_atanl=no
  14948. fi
  14949. rm -f core conftest.err conftest.$ac_objext \
  14950. conftest$ac_exeext conftest.$ac_ext
  14951. fi
  14952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
  14953. $as_echo "$gcc_cv_math_func_atanl" >&6; }
  14954. if test $gcc_cv_math_func_atanl = yes; then
  14955. cat >>confdefs.h <<_ACEOF
  14956. #define HAVE_ATANL 1
  14957. _ACEOF
  14958. fi
  14959. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
  14960. $as_echo_n "checking for atanhf... " >&6; }
  14961. if test "${gcc_cv_math_func_atanhf+set}" = set; then :
  14962. $as_echo_n "(cached) " >&6
  14963. else
  14964. if test x$gcc_no_link = xyes; then
  14965. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  14966. fi
  14967. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14968. /* end confdefs.h. */
  14969. #ifdef HAVE_COMPLEX_H
  14970. #include <complex.h>
  14971. #endif
  14972. #ifdef HAVE_MATH_H
  14973. #include <math.h>
  14974. #endif
  14975. int (*ptr)() = (int (*)())atanhf;
  14976. int
  14977. main ()
  14978. {
  14979. return 0;
  14980. }
  14981. _ACEOF
  14982. if ac_fn_c_try_link "$LINENO"; then :
  14983. gcc_cv_math_func_atanhf=yes
  14984. else
  14985. gcc_cv_math_func_atanhf=no
  14986. fi
  14987. rm -f core conftest.err conftest.$ac_objext \
  14988. conftest$ac_exeext conftest.$ac_ext
  14989. fi
  14990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
  14991. $as_echo "$gcc_cv_math_func_atanhf" >&6; }
  14992. if test $gcc_cv_math_func_atanhf = yes; then
  14993. cat >>confdefs.h <<_ACEOF
  14994. #define HAVE_ATANHF 1
  14995. _ACEOF
  14996. fi
  14997. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
  14998. $as_echo_n "checking for atanh... " >&6; }
  14999. if test "${gcc_cv_math_func_atanh+set}" = set; then :
  15000. $as_echo_n "(cached) " >&6
  15001. else
  15002. if test x$gcc_no_link = xyes; then
  15003. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15004. fi
  15005. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15006. /* end confdefs.h. */
  15007. #ifdef HAVE_COMPLEX_H
  15008. #include <complex.h>
  15009. #endif
  15010. #ifdef HAVE_MATH_H
  15011. #include <math.h>
  15012. #endif
  15013. int (*ptr)() = (int (*)())atanh;
  15014. int
  15015. main ()
  15016. {
  15017. return 0;
  15018. }
  15019. _ACEOF
  15020. if ac_fn_c_try_link "$LINENO"; then :
  15021. gcc_cv_math_func_atanh=yes
  15022. else
  15023. gcc_cv_math_func_atanh=no
  15024. fi
  15025. rm -f core conftest.err conftest.$ac_objext \
  15026. conftest$ac_exeext conftest.$ac_ext
  15027. fi
  15028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
  15029. $as_echo "$gcc_cv_math_func_atanh" >&6; }
  15030. if test $gcc_cv_math_func_atanh = yes; then
  15031. cat >>confdefs.h <<_ACEOF
  15032. #define HAVE_ATANH 1
  15033. _ACEOF
  15034. fi
  15035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
  15036. $as_echo_n "checking for atanhl... " >&6; }
  15037. if test "${gcc_cv_math_func_atanhl+set}" = set; then :
  15038. $as_echo_n "(cached) " >&6
  15039. else
  15040. if test x$gcc_no_link = xyes; then
  15041. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15042. fi
  15043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15044. /* end confdefs.h. */
  15045. #ifdef HAVE_COMPLEX_H
  15046. #include <complex.h>
  15047. #endif
  15048. #ifdef HAVE_MATH_H
  15049. #include <math.h>
  15050. #endif
  15051. int (*ptr)() = (int (*)())atanhl;
  15052. int
  15053. main ()
  15054. {
  15055. return 0;
  15056. }
  15057. _ACEOF
  15058. if ac_fn_c_try_link "$LINENO"; then :
  15059. gcc_cv_math_func_atanhl=yes
  15060. else
  15061. gcc_cv_math_func_atanhl=no
  15062. fi
  15063. rm -f core conftest.err conftest.$ac_objext \
  15064. conftest$ac_exeext conftest.$ac_ext
  15065. fi
  15066. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
  15067. $as_echo "$gcc_cv_math_func_atanhl" >&6; }
  15068. if test $gcc_cv_math_func_atanhl = yes; then
  15069. cat >>confdefs.h <<_ACEOF
  15070. #define HAVE_ATANHL 1
  15071. _ACEOF
  15072. fi
  15073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
  15074. $as_echo_n "checking for cargf... " >&6; }
  15075. if test "${gcc_cv_math_func_cargf+set}" = set; then :
  15076. $as_echo_n "(cached) " >&6
  15077. else
  15078. if test x$gcc_no_link = xyes; then
  15079. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15080. fi
  15081. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15082. /* end confdefs.h. */
  15083. #ifdef HAVE_COMPLEX_H
  15084. #include <complex.h>
  15085. #endif
  15086. #ifdef HAVE_MATH_H
  15087. #include <math.h>
  15088. #endif
  15089. int (*ptr)() = (int (*)())cargf;
  15090. int
  15091. main ()
  15092. {
  15093. return 0;
  15094. }
  15095. _ACEOF
  15096. if ac_fn_c_try_link "$LINENO"; then :
  15097. gcc_cv_math_func_cargf=yes
  15098. else
  15099. gcc_cv_math_func_cargf=no
  15100. fi
  15101. rm -f core conftest.err conftest.$ac_objext \
  15102. conftest$ac_exeext conftest.$ac_ext
  15103. fi
  15104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
  15105. $as_echo "$gcc_cv_math_func_cargf" >&6; }
  15106. if test $gcc_cv_math_func_cargf = yes; then
  15107. cat >>confdefs.h <<_ACEOF
  15108. #define HAVE_CARGF 1
  15109. _ACEOF
  15110. fi
  15111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
  15112. $as_echo_n "checking for carg... " >&6; }
  15113. if test "${gcc_cv_math_func_carg+set}" = set; then :
  15114. $as_echo_n "(cached) " >&6
  15115. else
  15116. if test x$gcc_no_link = xyes; then
  15117. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15118. fi
  15119. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15120. /* end confdefs.h. */
  15121. #ifdef HAVE_COMPLEX_H
  15122. #include <complex.h>
  15123. #endif
  15124. #ifdef HAVE_MATH_H
  15125. #include <math.h>
  15126. #endif
  15127. int (*ptr)() = (int (*)())carg;
  15128. int
  15129. main ()
  15130. {
  15131. return 0;
  15132. }
  15133. _ACEOF
  15134. if ac_fn_c_try_link "$LINENO"; then :
  15135. gcc_cv_math_func_carg=yes
  15136. else
  15137. gcc_cv_math_func_carg=no
  15138. fi
  15139. rm -f core conftest.err conftest.$ac_objext \
  15140. conftest$ac_exeext conftest.$ac_ext
  15141. fi
  15142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
  15143. $as_echo "$gcc_cv_math_func_carg" >&6; }
  15144. if test $gcc_cv_math_func_carg = yes; then
  15145. cat >>confdefs.h <<_ACEOF
  15146. #define HAVE_CARG 1
  15147. _ACEOF
  15148. fi
  15149. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
  15150. $as_echo_n "checking for cargl... " >&6; }
  15151. if test "${gcc_cv_math_func_cargl+set}" = set; then :
  15152. $as_echo_n "(cached) " >&6
  15153. else
  15154. if test x$gcc_no_link = xyes; then
  15155. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15156. fi
  15157. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15158. /* end confdefs.h. */
  15159. #ifdef HAVE_COMPLEX_H
  15160. #include <complex.h>
  15161. #endif
  15162. #ifdef HAVE_MATH_H
  15163. #include <math.h>
  15164. #endif
  15165. int (*ptr)() = (int (*)())cargl;
  15166. int
  15167. main ()
  15168. {
  15169. return 0;
  15170. }
  15171. _ACEOF
  15172. if ac_fn_c_try_link "$LINENO"; then :
  15173. gcc_cv_math_func_cargl=yes
  15174. else
  15175. gcc_cv_math_func_cargl=no
  15176. fi
  15177. rm -f core conftest.err conftest.$ac_objext \
  15178. conftest$ac_exeext conftest.$ac_ext
  15179. fi
  15180. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
  15181. $as_echo "$gcc_cv_math_func_cargl" >&6; }
  15182. if test $gcc_cv_math_func_cargl = yes; then
  15183. cat >>confdefs.h <<_ACEOF
  15184. #define HAVE_CARGL 1
  15185. _ACEOF
  15186. fi
  15187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
  15188. $as_echo_n "checking for ceilf... " >&6; }
  15189. if test "${gcc_cv_math_func_ceilf+set}" = set; then :
  15190. $as_echo_n "(cached) " >&6
  15191. else
  15192. if test x$gcc_no_link = xyes; then
  15193. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15194. fi
  15195. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15196. /* end confdefs.h. */
  15197. #ifdef HAVE_COMPLEX_H
  15198. #include <complex.h>
  15199. #endif
  15200. #ifdef HAVE_MATH_H
  15201. #include <math.h>
  15202. #endif
  15203. int (*ptr)() = (int (*)())ceilf;
  15204. int
  15205. main ()
  15206. {
  15207. return 0;
  15208. }
  15209. _ACEOF
  15210. if ac_fn_c_try_link "$LINENO"; then :
  15211. gcc_cv_math_func_ceilf=yes
  15212. else
  15213. gcc_cv_math_func_ceilf=no
  15214. fi
  15215. rm -f core conftest.err conftest.$ac_objext \
  15216. conftest$ac_exeext conftest.$ac_ext
  15217. fi
  15218. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
  15219. $as_echo "$gcc_cv_math_func_ceilf" >&6; }
  15220. if test $gcc_cv_math_func_ceilf = yes; then
  15221. cat >>confdefs.h <<_ACEOF
  15222. #define HAVE_CEILF 1
  15223. _ACEOF
  15224. fi
  15225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
  15226. $as_echo_n "checking for ceil... " >&6; }
  15227. if test "${gcc_cv_math_func_ceil+set}" = set; then :
  15228. $as_echo_n "(cached) " >&6
  15229. else
  15230. if test x$gcc_no_link = xyes; then
  15231. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15232. fi
  15233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15234. /* end confdefs.h. */
  15235. #ifdef HAVE_COMPLEX_H
  15236. #include <complex.h>
  15237. #endif
  15238. #ifdef HAVE_MATH_H
  15239. #include <math.h>
  15240. #endif
  15241. int (*ptr)() = (int (*)())ceil;
  15242. int
  15243. main ()
  15244. {
  15245. return 0;
  15246. }
  15247. _ACEOF
  15248. if ac_fn_c_try_link "$LINENO"; then :
  15249. gcc_cv_math_func_ceil=yes
  15250. else
  15251. gcc_cv_math_func_ceil=no
  15252. fi
  15253. rm -f core conftest.err conftest.$ac_objext \
  15254. conftest$ac_exeext conftest.$ac_ext
  15255. fi
  15256. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
  15257. $as_echo "$gcc_cv_math_func_ceil" >&6; }
  15258. if test $gcc_cv_math_func_ceil = yes; then
  15259. cat >>confdefs.h <<_ACEOF
  15260. #define HAVE_CEIL 1
  15261. _ACEOF
  15262. fi
  15263. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
  15264. $as_echo_n "checking for ceill... " >&6; }
  15265. if test "${gcc_cv_math_func_ceill+set}" = set; then :
  15266. $as_echo_n "(cached) " >&6
  15267. else
  15268. if test x$gcc_no_link = xyes; then
  15269. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15270. fi
  15271. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15272. /* end confdefs.h. */
  15273. #ifdef HAVE_COMPLEX_H
  15274. #include <complex.h>
  15275. #endif
  15276. #ifdef HAVE_MATH_H
  15277. #include <math.h>
  15278. #endif
  15279. int (*ptr)() = (int (*)())ceill;
  15280. int
  15281. main ()
  15282. {
  15283. return 0;
  15284. }
  15285. _ACEOF
  15286. if ac_fn_c_try_link "$LINENO"; then :
  15287. gcc_cv_math_func_ceill=yes
  15288. else
  15289. gcc_cv_math_func_ceill=no
  15290. fi
  15291. rm -f core conftest.err conftest.$ac_objext \
  15292. conftest$ac_exeext conftest.$ac_ext
  15293. fi
  15294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
  15295. $as_echo "$gcc_cv_math_func_ceill" >&6; }
  15296. if test $gcc_cv_math_func_ceill = yes; then
  15297. cat >>confdefs.h <<_ACEOF
  15298. #define HAVE_CEILL 1
  15299. _ACEOF
  15300. fi
  15301. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
  15302. $as_echo_n "checking for copysignf... " >&6; }
  15303. if test "${gcc_cv_math_func_copysignf+set}" = set; then :
  15304. $as_echo_n "(cached) " >&6
  15305. else
  15306. if test x$gcc_no_link = xyes; then
  15307. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15308. fi
  15309. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15310. /* end confdefs.h. */
  15311. #ifdef HAVE_COMPLEX_H
  15312. #include <complex.h>
  15313. #endif
  15314. #ifdef HAVE_MATH_H
  15315. #include <math.h>
  15316. #endif
  15317. int (*ptr)() = (int (*)())copysignf;
  15318. int
  15319. main ()
  15320. {
  15321. return 0;
  15322. }
  15323. _ACEOF
  15324. if ac_fn_c_try_link "$LINENO"; then :
  15325. gcc_cv_math_func_copysignf=yes
  15326. else
  15327. gcc_cv_math_func_copysignf=no
  15328. fi
  15329. rm -f core conftest.err conftest.$ac_objext \
  15330. conftest$ac_exeext conftest.$ac_ext
  15331. fi
  15332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
  15333. $as_echo "$gcc_cv_math_func_copysignf" >&6; }
  15334. if test $gcc_cv_math_func_copysignf = yes; then
  15335. cat >>confdefs.h <<_ACEOF
  15336. #define HAVE_COPYSIGNF 1
  15337. _ACEOF
  15338. fi
  15339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
  15340. $as_echo_n "checking for copysign... " >&6; }
  15341. if test "${gcc_cv_math_func_copysign+set}" = set; then :
  15342. $as_echo_n "(cached) " >&6
  15343. else
  15344. if test x$gcc_no_link = xyes; then
  15345. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15346. fi
  15347. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15348. /* end confdefs.h. */
  15349. #ifdef HAVE_COMPLEX_H
  15350. #include <complex.h>
  15351. #endif
  15352. #ifdef HAVE_MATH_H
  15353. #include <math.h>
  15354. #endif
  15355. int (*ptr)() = (int (*)())copysign;
  15356. int
  15357. main ()
  15358. {
  15359. return 0;
  15360. }
  15361. _ACEOF
  15362. if ac_fn_c_try_link "$LINENO"; then :
  15363. gcc_cv_math_func_copysign=yes
  15364. else
  15365. gcc_cv_math_func_copysign=no
  15366. fi
  15367. rm -f core conftest.err conftest.$ac_objext \
  15368. conftest$ac_exeext conftest.$ac_ext
  15369. fi
  15370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
  15371. $as_echo "$gcc_cv_math_func_copysign" >&6; }
  15372. if test $gcc_cv_math_func_copysign = yes; then
  15373. cat >>confdefs.h <<_ACEOF
  15374. #define HAVE_COPYSIGN 1
  15375. _ACEOF
  15376. fi
  15377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
  15378. $as_echo_n "checking for copysignl... " >&6; }
  15379. if test "${gcc_cv_math_func_copysignl+set}" = set; then :
  15380. $as_echo_n "(cached) " >&6
  15381. else
  15382. if test x$gcc_no_link = xyes; then
  15383. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15384. fi
  15385. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15386. /* end confdefs.h. */
  15387. #ifdef HAVE_COMPLEX_H
  15388. #include <complex.h>
  15389. #endif
  15390. #ifdef HAVE_MATH_H
  15391. #include <math.h>
  15392. #endif
  15393. int (*ptr)() = (int (*)())copysignl;
  15394. int
  15395. main ()
  15396. {
  15397. return 0;
  15398. }
  15399. _ACEOF
  15400. if ac_fn_c_try_link "$LINENO"; then :
  15401. gcc_cv_math_func_copysignl=yes
  15402. else
  15403. gcc_cv_math_func_copysignl=no
  15404. fi
  15405. rm -f core conftest.err conftest.$ac_objext \
  15406. conftest$ac_exeext conftest.$ac_ext
  15407. fi
  15408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
  15409. $as_echo "$gcc_cv_math_func_copysignl" >&6; }
  15410. if test $gcc_cv_math_func_copysignl = yes; then
  15411. cat >>confdefs.h <<_ACEOF
  15412. #define HAVE_COPYSIGNL 1
  15413. _ACEOF
  15414. fi
  15415. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
  15416. $as_echo_n "checking for cosf... " >&6; }
  15417. if test "${gcc_cv_math_func_cosf+set}" = set; then :
  15418. $as_echo_n "(cached) " >&6
  15419. else
  15420. if test x$gcc_no_link = xyes; then
  15421. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15422. fi
  15423. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15424. /* end confdefs.h. */
  15425. #ifdef HAVE_COMPLEX_H
  15426. #include <complex.h>
  15427. #endif
  15428. #ifdef HAVE_MATH_H
  15429. #include <math.h>
  15430. #endif
  15431. int (*ptr)() = (int (*)())cosf;
  15432. int
  15433. main ()
  15434. {
  15435. return 0;
  15436. }
  15437. _ACEOF
  15438. if ac_fn_c_try_link "$LINENO"; then :
  15439. gcc_cv_math_func_cosf=yes
  15440. else
  15441. gcc_cv_math_func_cosf=no
  15442. fi
  15443. rm -f core conftest.err conftest.$ac_objext \
  15444. conftest$ac_exeext conftest.$ac_ext
  15445. fi
  15446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
  15447. $as_echo "$gcc_cv_math_func_cosf" >&6; }
  15448. if test $gcc_cv_math_func_cosf = yes; then
  15449. cat >>confdefs.h <<_ACEOF
  15450. #define HAVE_COSF 1
  15451. _ACEOF
  15452. fi
  15453. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
  15454. $as_echo_n "checking for cos... " >&6; }
  15455. if test "${gcc_cv_math_func_cos+set}" = set; then :
  15456. $as_echo_n "(cached) " >&6
  15457. else
  15458. if test x$gcc_no_link = xyes; then
  15459. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15460. fi
  15461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15462. /* end confdefs.h. */
  15463. #ifdef HAVE_COMPLEX_H
  15464. #include <complex.h>
  15465. #endif
  15466. #ifdef HAVE_MATH_H
  15467. #include <math.h>
  15468. #endif
  15469. int (*ptr)() = (int (*)())cos;
  15470. int
  15471. main ()
  15472. {
  15473. return 0;
  15474. }
  15475. _ACEOF
  15476. if ac_fn_c_try_link "$LINENO"; then :
  15477. gcc_cv_math_func_cos=yes
  15478. else
  15479. gcc_cv_math_func_cos=no
  15480. fi
  15481. rm -f core conftest.err conftest.$ac_objext \
  15482. conftest$ac_exeext conftest.$ac_ext
  15483. fi
  15484. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
  15485. $as_echo "$gcc_cv_math_func_cos" >&6; }
  15486. if test $gcc_cv_math_func_cos = yes; then
  15487. cat >>confdefs.h <<_ACEOF
  15488. #define HAVE_COS 1
  15489. _ACEOF
  15490. fi
  15491. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
  15492. $as_echo_n "checking for cosl... " >&6; }
  15493. if test "${gcc_cv_math_func_cosl+set}" = set; then :
  15494. $as_echo_n "(cached) " >&6
  15495. else
  15496. if test x$gcc_no_link = xyes; then
  15497. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15498. fi
  15499. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15500. /* end confdefs.h. */
  15501. #ifdef HAVE_COMPLEX_H
  15502. #include <complex.h>
  15503. #endif
  15504. #ifdef HAVE_MATH_H
  15505. #include <math.h>
  15506. #endif
  15507. int (*ptr)() = (int (*)())cosl;
  15508. int
  15509. main ()
  15510. {
  15511. return 0;
  15512. }
  15513. _ACEOF
  15514. if ac_fn_c_try_link "$LINENO"; then :
  15515. gcc_cv_math_func_cosl=yes
  15516. else
  15517. gcc_cv_math_func_cosl=no
  15518. fi
  15519. rm -f core conftest.err conftest.$ac_objext \
  15520. conftest$ac_exeext conftest.$ac_ext
  15521. fi
  15522. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
  15523. $as_echo "$gcc_cv_math_func_cosl" >&6; }
  15524. if test $gcc_cv_math_func_cosl = yes; then
  15525. cat >>confdefs.h <<_ACEOF
  15526. #define HAVE_COSL 1
  15527. _ACEOF
  15528. fi
  15529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
  15530. $as_echo_n "checking for ccosf... " >&6; }
  15531. if test "${gcc_cv_math_func_ccosf+set}" = set; then :
  15532. $as_echo_n "(cached) " >&6
  15533. else
  15534. if test x$gcc_no_link = xyes; then
  15535. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15536. fi
  15537. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15538. /* end confdefs.h. */
  15539. #ifdef HAVE_COMPLEX_H
  15540. #include <complex.h>
  15541. #endif
  15542. #ifdef HAVE_MATH_H
  15543. #include <math.h>
  15544. #endif
  15545. int (*ptr)() = (int (*)())ccosf;
  15546. int
  15547. main ()
  15548. {
  15549. return 0;
  15550. }
  15551. _ACEOF
  15552. if ac_fn_c_try_link "$LINENO"; then :
  15553. gcc_cv_math_func_ccosf=yes
  15554. else
  15555. gcc_cv_math_func_ccosf=no
  15556. fi
  15557. rm -f core conftest.err conftest.$ac_objext \
  15558. conftest$ac_exeext conftest.$ac_ext
  15559. fi
  15560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
  15561. $as_echo "$gcc_cv_math_func_ccosf" >&6; }
  15562. if test $gcc_cv_math_func_ccosf = yes; then
  15563. cat >>confdefs.h <<_ACEOF
  15564. #define HAVE_CCOSF 1
  15565. _ACEOF
  15566. fi
  15567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
  15568. $as_echo_n "checking for ccos... " >&6; }
  15569. if test "${gcc_cv_math_func_ccos+set}" = set; then :
  15570. $as_echo_n "(cached) " >&6
  15571. else
  15572. if test x$gcc_no_link = xyes; then
  15573. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15574. fi
  15575. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15576. /* end confdefs.h. */
  15577. #ifdef HAVE_COMPLEX_H
  15578. #include <complex.h>
  15579. #endif
  15580. #ifdef HAVE_MATH_H
  15581. #include <math.h>
  15582. #endif
  15583. int (*ptr)() = (int (*)())ccos;
  15584. int
  15585. main ()
  15586. {
  15587. return 0;
  15588. }
  15589. _ACEOF
  15590. if ac_fn_c_try_link "$LINENO"; then :
  15591. gcc_cv_math_func_ccos=yes
  15592. else
  15593. gcc_cv_math_func_ccos=no
  15594. fi
  15595. rm -f core conftest.err conftest.$ac_objext \
  15596. conftest$ac_exeext conftest.$ac_ext
  15597. fi
  15598. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
  15599. $as_echo "$gcc_cv_math_func_ccos" >&6; }
  15600. if test $gcc_cv_math_func_ccos = yes; then
  15601. cat >>confdefs.h <<_ACEOF
  15602. #define HAVE_CCOS 1
  15603. _ACEOF
  15604. fi
  15605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
  15606. $as_echo_n "checking for ccosl... " >&6; }
  15607. if test "${gcc_cv_math_func_ccosl+set}" = set; then :
  15608. $as_echo_n "(cached) " >&6
  15609. else
  15610. if test x$gcc_no_link = xyes; then
  15611. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15612. fi
  15613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15614. /* end confdefs.h. */
  15615. #ifdef HAVE_COMPLEX_H
  15616. #include <complex.h>
  15617. #endif
  15618. #ifdef HAVE_MATH_H
  15619. #include <math.h>
  15620. #endif
  15621. int (*ptr)() = (int (*)())ccosl;
  15622. int
  15623. main ()
  15624. {
  15625. return 0;
  15626. }
  15627. _ACEOF
  15628. if ac_fn_c_try_link "$LINENO"; then :
  15629. gcc_cv_math_func_ccosl=yes
  15630. else
  15631. gcc_cv_math_func_ccosl=no
  15632. fi
  15633. rm -f core conftest.err conftest.$ac_objext \
  15634. conftest$ac_exeext conftest.$ac_ext
  15635. fi
  15636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
  15637. $as_echo "$gcc_cv_math_func_ccosl" >&6; }
  15638. if test $gcc_cv_math_func_ccosl = yes; then
  15639. cat >>confdefs.h <<_ACEOF
  15640. #define HAVE_CCOSL 1
  15641. _ACEOF
  15642. fi
  15643. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
  15644. $as_echo_n "checking for coshf... " >&6; }
  15645. if test "${gcc_cv_math_func_coshf+set}" = set; then :
  15646. $as_echo_n "(cached) " >&6
  15647. else
  15648. if test x$gcc_no_link = xyes; then
  15649. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15650. fi
  15651. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15652. /* end confdefs.h. */
  15653. #ifdef HAVE_COMPLEX_H
  15654. #include <complex.h>
  15655. #endif
  15656. #ifdef HAVE_MATH_H
  15657. #include <math.h>
  15658. #endif
  15659. int (*ptr)() = (int (*)())coshf;
  15660. int
  15661. main ()
  15662. {
  15663. return 0;
  15664. }
  15665. _ACEOF
  15666. if ac_fn_c_try_link "$LINENO"; then :
  15667. gcc_cv_math_func_coshf=yes
  15668. else
  15669. gcc_cv_math_func_coshf=no
  15670. fi
  15671. rm -f core conftest.err conftest.$ac_objext \
  15672. conftest$ac_exeext conftest.$ac_ext
  15673. fi
  15674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
  15675. $as_echo "$gcc_cv_math_func_coshf" >&6; }
  15676. if test $gcc_cv_math_func_coshf = yes; then
  15677. cat >>confdefs.h <<_ACEOF
  15678. #define HAVE_COSHF 1
  15679. _ACEOF
  15680. fi
  15681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
  15682. $as_echo_n "checking for cosh... " >&6; }
  15683. if test "${gcc_cv_math_func_cosh+set}" = set; then :
  15684. $as_echo_n "(cached) " >&6
  15685. else
  15686. if test x$gcc_no_link = xyes; then
  15687. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15688. fi
  15689. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15690. /* end confdefs.h. */
  15691. #ifdef HAVE_COMPLEX_H
  15692. #include <complex.h>
  15693. #endif
  15694. #ifdef HAVE_MATH_H
  15695. #include <math.h>
  15696. #endif
  15697. int (*ptr)() = (int (*)())cosh;
  15698. int
  15699. main ()
  15700. {
  15701. return 0;
  15702. }
  15703. _ACEOF
  15704. if ac_fn_c_try_link "$LINENO"; then :
  15705. gcc_cv_math_func_cosh=yes
  15706. else
  15707. gcc_cv_math_func_cosh=no
  15708. fi
  15709. rm -f core conftest.err conftest.$ac_objext \
  15710. conftest$ac_exeext conftest.$ac_ext
  15711. fi
  15712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
  15713. $as_echo "$gcc_cv_math_func_cosh" >&6; }
  15714. if test $gcc_cv_math_func_cosh = yes; then
  15715. cat >>confdefs.h <<_ACEOF
  15716. #define HAVE_COSH 1
  15717. _ACEOF
  15718. fi
  15719. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
  15720. $as_echo_n "checking for coshl... " >&6; }
  15721. if test "${gcc_cv_math_func_coshl+set}" = set; then :
  15722. $as_echo_n "(cached) " >&6
  15723. else
  15724. if test x$gcc_no_link = xyes; then
  15725. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15726. fi
  15727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15728. /* end confdefs.h. */
  15729. #ifdef HAVE_COMPLEX_H
  15730. #include <complex.h>
  15731. #endif
  15732. #ifdef HAVE_MATH_H
  15733. #include <math.h>
  15734. #endif
  15735. int (*ptr)() = (int (*)())coshl;
  15736. int
  15737. main ()
  15738. {
  15739. return 0;
  15740. }
  15741. _ACEOF
  15742. if ac_fn_c_try_link "$LINENO"; then :
  15743. gcc_cv_math_func_coshl=yes
  15744. else
  15745. gcc_cv_math_func_coshl=no
  15746. fi
  15747. rm -f core conftest.err conftest.$ac_objext \
  15748. conftest$ac_exeext conftest.$ac_ext
  15749. fi
  15750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
  15751. $as_echo "$gcc_cv_math_func_coshl" >&6; }
  15752. if test $gcc_cv_math_func_coshl = yes; then
  15753. cat >>confdefs.h <<_ACEOF
  15754. #define HAVE_COSHL 1
  15755. _ACEOF
  15756. fi
  15757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
  15758. $as_echo_n "checking for ccoshf... " >&6; }
  15759. if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
  15760. $as_echo_n "(cached) " >&6
  15761. else
  15762. if test x$gcc_no_link = xyes; then
  15763. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15764. fi
  15765. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15766. /* end confdefs.h. */
  15767. #ifdef HAVE_COMPLEX_H
  15768. #include <complex.h>
  15769. #endif
  15770. #ifdef HAVE_MATH_H
  15771. #include <math.h>
  15772. #endif
  15773. int (*ptr)() = (int (*)())ccoshf;
  15774. int
  15775. main ()
  15776. {
  15777. return 0;
  15778. }
  15779. _ACEOF
  15780. if ac_fn_c_try_link "$LINENO"; then :
  15781. gcc_cv_math_func_ccoshf=yes
  15782. else
  15783. gcc_cv_math_func_ccoshf=no
  15784. fi
  15785. rm -f core conftest.err conftest.$ac_objext \
  15786. conftest$ac_exeext conftest.$ac_ext
  15787. fi
  15788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
  15789. $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
  15790. if test $gcc_cv_math_func_ccoshf = yes; then
  15791. cat >>confdefs.h <<_ACEOF
  15792. #define HAVE_CCOSHF 1
  15793. _ACEOF
  15794. fi
  15795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
  15796. $as_echo_n "checking for ccosh... " >&6; }
  15797. if test "${gcc_cv_math_func_ccosh+set}" = set; then :
  15798. $as_echo_n "(cached) " >&6
  15799. else
  15800. if test x$gcc_no_link = xyes; then
  15801. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15802. fi
  15803. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15804. /* end confdefs.h. */
  15805. #ifdef HAVE_COMPLEX_H
  15806. #include <complex.h>
  15807. #endif
  15808. #ifdef HAVE_MATH_H
  15809. #include <math.h>
  15810. #endif
  15811. int (*ptr)() = (int (*)())ccosh;
  15812. int
  15813. main ()
  15814. {
  15815. return 0;
  15816. }
  15817. _ACEOF
  15818. if ac_fn_c_try_link "$LINENO"; then :
  15819. gcc_cv_math_func_ccosh=yes
  15820. else
  15821. gcc_cv_math_func_ccosh=no
  15822. fi
  15823. rm -f core conftest.err conftest.$ac_objext \
  15824. conftest$ac_exeext conftest.$ac_ext
  15825. fi
  15826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
  15827. $as_echo "$gcc_cv_math_func_ccosh" >&6; }
  15828. if test $gcc_cv_math_func_ccosh = yes; then
  15829. cat >>confdefs.h <<_ACEOF
  15830. #define HAVE_CCOSH 1
  15831. _ACEOF
  15832. fi
  15833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
  15834. $as_echo_n "checking for ccoshl... " >&6; }
  15835. if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
  15836. $as_echo_n "(cached) " >&6
  15837. else
  15838. if test x$gcc_no_link = xyes; then
  15839. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15840. fi
  15841. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15842. /* end confdefs.h. */
  15843. #ifdef HAVE_COMPLEX_H
  15844. #include <complex.h>
  15845. #endif
  15846. #ifdef HAVE_MATH_H
  15847. #include <math.h>
  15848. #endif
  15849. int (*ptr)() = (int (*)())ccoshl;
  15850. int
  15851. main ()
  15852. {
  15853. return 0;
  15854. }
  15855. _ACEOF
  15856. if ac_fn_c_try_link "$LINENO"; then :
  15857. gcc_cv_math_func_ccoshl=yes
  15858. else
  15859. gcc_cv_math_func_ccoshl=no
  15860. fi
  15861. rm -f core conftest.err conftest.$ac_objext \
  15862. conftest$ac_exeext conftest.$ac_ext
  15863. fi
  15864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
  15865. $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
  15866. if test $gcc_cv_math_func_ccoshl = yes; then
  15867. cat >>confdefs.h <<_ACEOF
  15868. #define HAVE_CCOSHL 1
  15869. _ACEOF
  15870. fi
  15871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
  15872. $as_echo_n "checking for expf... " >&6; }
  15873. if test "${gcc_cv_math_func_expf+set}" = set; then :
  15874. $as_echo_n "(cached) " >&6
  15875. else
  15876. if test x$gcc_no_link = xyes; then
  15877. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15878. fi
  15879. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15880. /* end confdefs.h. */
  15881. #ifdef HAVE_COMPLEX_H
  15882. #include <complex.h>
  15883. #endif
  15884. #ifdef HAVE_MATH_H
  15885. #include <math.h>
  15886. #endif
  15887. int (*ptr)() = (int (*)())expf;
  15888. int
  15889. main ()
  15890. {
  15891. return 0;
  15892. }
  15893. _ACEOF
  15894. if ac_fn_c_try_link "$LINENO"; then :
  15895. gcc_cv_math_func_expf=yes
  15896. else
  15897. gcc_cv_math_func_expf=no
  15898. fi
  15899. rm -f core conftest.err conftest.$ac_objext \
  15900. conftest$ac_exeext conftest.$ac_ext
  15901. fi
  15902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
  15903. $as_echo "$gcc_cv_math_func_expf" >&6; }
  15904. if test $gcc_cv_math_func_expf = yes; then
  15905. cat >>confdefs.h <<_ACEOF
  15906. #define HAVE_EXPF 1
  15907. _ACEOF
  15908. fi
  15909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
  15910. $as_echo_n "checking for exp... " >&6; }
  15911. if test "${gcc_cv_math_func_exp+set}" = set; then :
  15912. $as_echo_n "(cached) " >&6
  15913. else
  15914. if test x$gcc_no_link = xyes; then
  15915. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15916. fi
  15917. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15918. /* end confdefs.h. */
  15919. #ifdef HAVE_COMPLEX_H
  15920. #include <complex.h>
  15921. #endif
  15922. #ifdef HAVE_MATH_H
  15923. #include <math.h>
  15924. #endif
  15925. int (*ptr)() = (int (*)())exp;
  15926. int
  15927. main ()
  15928. {
  15929. return 0;
  15930. }
  15931. _ACEOF
  15932. if ac_fn_c_try_link "$LINENO"; then :
  15933. gcc_cv_math_func_exp=yes
  15934. else
  15935. gcc_cv_math_func_exp=no
  15936. fi
  15937. rm -f core conftest.err conftest.$ac_objext \
  15938. conftest$ac_exeext conftest.$ac_ext
  15939. fi
  15940. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
  15941. $as_echo "$gcc_cv_math_func_exp" >&6; }
  15942. if test $gcc_cv_math_func_exp = yes; then
  15943. cat >>confdefs.h <<_ACEOF
  15944. #define HAVE_EXP 1
  15945. _ACEOF
  15946. fi
  15947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
  15948. $as_echo_n "checking for expl... " >&6; }
  15949. if test "${gcc_cv_math_func_expl+set}" = set; then :
  15950. $as_echo_n "(cached) " >&6
  15951. else
  15952. if test x$gcc_no_link = xyes; then
  15953. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15954. fi
  15955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15956. /* end confdefs.h. */
  15957. #ifdef HAVE_COMPLEX_H
  15958. #include <complex.h>
  15959. #endif
  15960. #ifdef HAVE_MATH_H
  15961. #include <math.h>
  15962. #endif
  15963. int (*ptr)() = (int (*)())expl;
  15964. int
  15965. main ()
  15966. {
  15967. return 0;
  15968. }
  15969. _ACEOF
  15970. if ac_fn_c_try_link "$LINENO"; then :
  15971. gcc_cv_math_func_expl=yes
  15972. else
  15973. gcc_cv_math_func_expl=no
  15974. fi
  15975. rm -f core conftest.err conftest.$ac_objext \
  15976. conftest$ac_exeext conftest.$ac_ext
  15977. fi
  15978. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
  15979. $as_echo "$gcc_cv_math_func_expl" >&6; }
  15980. if test $gcc_cv_math_func_expl = yes; then
  15981. cat >>confdefs.h <<_ACEOF
  15982. #define HAVE_EXPL 1
  15983. _ACEOF
  15984. fi
  15985. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
  15986. $as_echo_n "checking for cexpf... " >&6; }
  15987. if test "${gcc_cv_math_func_cexpf+set}" = set; then :
  15988. $as_echo_n "(cached) " >&6
  15989. else
  15990. if test x$gcc_no_link = xyes; then
  15991. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  15992. fi
  15993. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15994. /* end confdefs.h. */
  15995. #ifdef HAVE_COMPLEX_H
  15996. #include <complex.h>
  15997. #endif
  15998. #ifdef HAVE_MATH_H
  15999. #include <math.h>
  16000. #endif
  16001. int (*ptr)() = (int (*)())cexpf;
  16002. int
  16003. main ()
  16004. {
  16005. return 0;
  16006. }
  16007. _ACEOF
  16008. if ac_fn_c_try_link "$LINENO"; then :
  16009. gcc_cv_math_func_cexpf=yes
  16010. else
  16011. gcc_cv_math_func_cexpf=no
  16012. fi
  16013. rm -f core conftest.err conftest.$ac_objext \
  16014. conftest$ac_exeext conftest.$ac_ext
  16015. fi
  16016. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
  16017. $as_echo "$gcc_cv_math_func_cexpf" >&6; }
  16018. if test $gcc_cv_math_func_cexpf = yes; then
  16019. cat >>confdefs.h <<_ACEOF
  16020. #define HAVE_CEXPF 1
  16021. _ACEOF
  16022. fi
  16023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
  16024. $as_echo_n "checking for cexp... " >&6; }
  16025. if test "${gcc_cv_math_func_cexp+set}" = set; then :
  16026. $as_echo_n "(cached) " >&6
  16027. else
  16028. if test x$gcc_no_link = xyes; then
  16029. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16030. fi
  16031. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16032. /* end confdefs.h. */
  16033. #ifdef HAVE_COMPLEX_H
  16034. #include <complex.h>
  16035. #endif
  16036. #ifdef HAVE_MATH_H
  16037. #include <math.h>
  16038. #endif
  16039. int (*ptr)() = (int (*)())cexp;
  16040. int
  16041. main ()
  16042. {
  16043. return 0;
  16044. }
  16045. _ACEOF
  16046. if ac_fn_c_try_link "$LINENO"; then :
  16047. gcc_cv_math_func_cexp=yes
  16048. else
  16049. gcc_cv_math_func_cexp=no
  16050. fi
  16051. rm -f core conftest.err conftest.$ac_objext \
  16052. conftest$ac_exeext conftest.$ac_ext
  16053. fi
  16054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
  16055. $as_echo "$gcc_cv_math_func_cexp" >&6; }
  16056. if test $gcc_cv_math_func_cexp = yes; then
  16057. cat >>confdefs.h <<_ACEOF
  16058. #define HAVE_CEXP 1
  16059. _ACEOF
  16060. fi
  16061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
  16062. $as_echo_n "checking for cexpl... " >&6; }
  16063. if test "${gcc_cv_math_func_cexpl+set}" = set; then :
  16064. $as_echo_n "(cached) " >&6
  16065. else
  16066. if test x$gcc_no_link = xyes; then
  16067. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16068. fi
  16069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16070. /* end confdefs.h. */
  16071. #ifdef HAVE_COMPLEX_H
  16072. #include <complex.h>
  16073. #endif
  16074. #ifdef HAVE_MATH_H
  16075. #include <math.h>
  16076. #endif
  16077. int (*ptr)() = (int (*)())cexpl;
  16078. int
  16079. main ()
  16080. {
  16081. return 0;
  16082. }
  16083. _ACEOF
  16084. if ac_fn_c_try_link "$LINENO"; then :
  16085. gcc_cv_math_func_cexpl=yes
  16086. else
  16087. gcc_cv_math_func_cexpl=no
  16088. fi
  16089. rm -f core conftest.err conftest.$ac_objext \
  16090. conftest$ac_exeext conftest.$ac_ext
  16091. fi
  16092. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
  16093. $as_echo "$gcc_cv_math_func_cexpl" >&6; }
  16094. if test $gcc_cv_math_func_cexpl = yes; then
  16095. cat >>confdefs.h <<_ACEOF
  16096. #define HAVE_CEXPL 1
  16097. _ACEOF
  16098. fi
  16099. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
  16100. $as_echo_n "checking for fabsf... " >&6; }
  16101. if test "${gcc_cv_math_func_fabsf+set}" = set; then :
  16102. $as_echo_n "(cached) " >&6
  16103. else
  16104. if test x$gcc_no_link = xyes; then
  16105. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16106. fi
  16107. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16108. /* end confdefs.h. */
  16109. #ifdef HAVE_COMPLEX_H
  16110. #include <complex.h>
  16111. #endif
  16112. #ifdef HAVE_MATH_H
  16113. #include <math.h>
  16114. #endif
  16115. int (*ptr)() = (int (*)())fabsf;
  16116. int
  16117. main ()
  16118. {
  16119. return 0;
  16120. }
  16121. _ACEOF
  16122. if ac_fn_c_try_link "$LINENO"; then :
  16123. gcc_cv_math_func_fabsf=yes
  16124. else
  16125. gcc_cv_math_func_fabsf=no
  16126. fi
  16127. rm -f core conftest.err conftest.$ac_objext \
  16128. conftest$ac_exeext conftest.$ac_ext
  16129. fi
  16130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
  16131. $as_echo "$gcc_cv_math_func_fabsf" >&6; }
  16132. if test $gcc_cv_math_func_fabsf = yes; then
  16133. cat >>confdefs.h <<_ACEOF
  16134. #define HAVE_FABSF 1
  16135. _ACEOF
  16136. fi
  16137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
  16138. $as_echo_n "checking for fabs... " >&6; }
  16139. if test "${gcc_cv_math_func_fabs+set}" = set; then :
  16140. $as_echo_n "(cached) " >&6
  16141. else
  16142. if test x$gcc_no_link = xyes; then
  16143. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16144. fi
  16145. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16146. /* end confdefs.h. */
  16147. #ifdef HAVE_COMPLEX_H
  16148. #include <complex.h>
  16149. #endif
  16150. #ifdef HAVE_MATH_H
  16151. #include <math.h>
  16152. #endif
  16153. int (*ptr)() = (int (*)())fabs;
  16154. int
  16155. main ()
  16156. {
  16157. return 0;
  16158. }
  16159. _ACEOF
  16160. if ac_fn_c_try_link "$LINENO"; then :
  16161. gcc_cv_math_func_fabs=yes
  16162. else
  16163. gcc_cv_math_func_fabs=no
  16164. fi
  16165. rm -f core conftest.err conftest.$ac_objext \
  16166. conftest$ac_exeext conftest.$ac_ext
  16167. fi
  16168. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
  16169. $as_echo "$gcc_cv_math_func_fabs" >&6; }
  16170. if test $gcc_cv_math_func_fabs = yes; then
  16171. cat >>confdefs.h <<_ACEOF
  16172. #define HAVE_FABS 1
  16173. _ACEOF
  16174. fi
  16175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
  16176. $as_echo_n "checking for fabsl... " >&6; }
  16177. if test "${gcc_cv_math_func_fabsl+set}" = set; then :
  16178. $as_echo_n "(cached) " >&6
  16179. else
  16180. if test x$gcc_no_link = xyes; then
  16181. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16182. fi
  16183. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16184. /* end confdefs.h. */
  16185. #ifdef HAVE_COMPLEX_H
  16186. #include <complex.h>
  16187. #endif
  16188. #ifdef HAVE_MATH_H
  16189. #include <math.h>
  16190. #endif
  16191. int (*ptr)() = (int (*)())fabsl;
  16192. int
  16193. main ()
  16194. {
  16195. return 0;
  16196. }
  16197. _ACEOF
  16198. if ac_fn_c_try_link "$LINENO"; then :
  16199. gcc_cv_math_func_fabsl=yes
  16200. else
  16201. gcc_cv_math_func_fabsl=no
  16202. fi
  16203. rm -f core conftest.err conftest.$ac_objext \
  16204. conftest$ac_exeext conftest.$ac_ext
  16205. fi
  16206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
  16207. $as_echo "$gcc_cv_math_func_fabsl" >&6; }
  16208. if test $gcc_cv_math_func_fabsl = yes; then
  16209. cat >>confdefs.h <<_ACEOF
  16210. #define HAVE_FABSL 1
  16211. _ACEOF
  16212. fi
  16213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
  16214. $as_echo_n "checking for cabsf... " >&6; }
  16215. if test "${gcc_cv_math_func_cabsf+set}" = set; then :
  16216. $as_echo_n "(cached) " >&6
  16217. else
  16218. if test x$gcc_no_link = xyes; then
  16219. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16220. fi
  16221. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16222. /* end confdefs.h. */
  16223. #ifdef HAVE_COMPLEX_H
  16224. #include <complex.h>
  16225. #endif
  16226. #ifdef HAVE_MATH_H
  16227. #include <math.h>
  16228. #endif
  16229. int (*ptr)() = (int (*)())cabsf;
  16230. int
  16231. main ()
  16232. {
  16233. return 0;
  16234. }
  16235. _ACEOF
  16236. if ac_fn_c_try_link "$LINENO"; then :
  16237. gcc_cv_math_func_cabsf=yes
  16238. else
  16239. gcc_cv_math_func_cabsf=no
  16240. fi
  16241. rm -f core conftest.err conftest.$ac_objext \
  16242. conftest$ac_exeext conftest.$ac_ext
  16243. fi
  16244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
  16245. $as_echo "$gcc_cv_math_func_cabsf" >&6; }
  16246. if test $gcc_cv_math_func_cabsf = yes; then
  16247. cat >>confdefs.h <<_ACEOF
  16248. #define HAVE_CABSF 1
  16249. _ACEOF
  16250. fi
  16251. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
  16252. $as_echo_n "checking for cabs... " >&6; }
  16253. if test "${gcc_cv_math_func_cabs+set}" = set; then :
  16254. $as_echo_n "(cached) " >&6
  16255. else
  16256. if test x$gcc_no_link = xyes; then
  16257. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16258. fi
  16259. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16260. /* end confdefs.h. */
  16261. #ifdef HAVE_COMPLEX_H
  16262. #include <complex.h>
  16263. #endif
  16264. #ifdef HAVE_MATH_H
  16265. #include <math.h>
  16266. #endif
  16267. int (*ptr)() = (int (*)())cabs;
  16268. int
  16269. main ()
  16270. {
  16271. return 0;
  16272. }
  16273. _ACEOF
  16274. if ac_fn_c_try_link "$LINENO"; then :
  16275. gcc_cv_math_func_cabs=yes
  16276. else
  16277. gcc_cv_math_func_cabs=no
  16278. fi
  16279. rm -f core conftest.err conftest.$ac_objext \
  16280. conftest$ac_exeext conftest.$ac_ext
  16281. fi
  16282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
  16283. $as_echo "$gcc_cv_math_func_cabs" >&6; }
  16284. if test $gcc_cv_math_func_cabs = yes; then
  16285. cat >>confdefs.h <<_ACEOF
  16286. #define HAVE_CABS 1
  16287. _ACEOF
  16288. fi
  16289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
  16290. $as_echo_n "checking for cabsl... " >&6; }
  16291. if test "${gcc_cv_math_func_cabsl+set}" = set; then :
  16292. $as_echo_n "(cached) " >&6
  16293. else
  16294. if test x$gcc_no_link = xyes; then
  16295. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16296. fi
  16297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16298. /* end confdefs.h. */
  16299. #ifdef HAVE_COMPLEX_H
  16300. #include <complex.h>
  16301. #endif
  16302. #ifdef HAVE_MATH_H
  16303. #include <math.h>
  16304. #endif
  16305. int (*ptr)() = (int (*)())cabsl;
  16306. int
  16307. main ()
  16308. {
  16309. return 0;
  16310. }
  16311. _ACEOF
  16312. if ac_fn_c_try_link "$LINENO"; then :
  16313. gcc_cv_math_func_cabsl=yes
  16314. else
  16315. gcc_cv_math_func_cabsl=no
  16316. fi
  16317. rm -f core conftest.err conftest.$ac_objext \
  16318. conftest$ac_exeext conftest.$ac_ext
  16319. fi
  16320. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
  16321. $as_echo "$gcc_cv_math_func_cabsl" >&6; }
  16322. if test $gcc_cv_math_func_cabsl = yes; then
  16323. cat >>confdefs.h <<_ACEOF
  16324. #define HAVE_CABSL 1
  16325. _ACEOF
  16326. fi
  16327. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
  16328. $as_echo_n "checking for floorf... " >&6; }
  16329. if test "${gcc_cv_math_func_floorf+set}" = set; then :
  16330. $as_echo_n "(cached) " >&6
  16331. else
  16332. if test x$gcc_no_link = xyes; then
  16333. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16334. fi
  16335. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16336. /* end confdefs.h. */
  16337. #ifdef HAVE_COMPLEX_H
  16338. #include <complex.h>
  16339. #endif
  16340. #ifdef HAVE_MATH_H
  16341. #include <math.h>
  16342. #endif
  16343. int (*ptr)() = (int (*)())floorf;
  16344. int
  16345. main ()
  16346. {
  16347. return 0;
  16348. }
  16349. _ACEOF
  16350. if ac_fn_c_try_link "$LINENO"; then :
  16351. gcc_cv_math_func_floorf=yes
  16352. else
  16353. gcc_cv_math_func_floorf=no
  16354. fi
  16355. rm -f core conftest.err conftest.$ac_objext \
  16356. conftest$ac_exeext conftest.$ac_ext
  16357. fi
  16358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
  16359. $as_echo "$gcc_cv_math_func_floorf" >&6; }
  16360. if test $gcc_cv_math_func_floorf = yes; then
  16361. cat >>confdefs.h <<_ACEOF
  16362. #define HAVE_FLOORF 1
  16363. _ACEOF
  16364. fi
  16365. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
  16366. $as_echo_n "checking for floor... " >&6; }
  16367. if test "${gcc_cv_math_func_floor+set}" = set; then :
  16368. $as_echo_n "(cached) " >&6
  16369. else
  16370. if test x$gcc_no_link = xyes; then
  16371. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16372. fi
  16373. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16374. /* end confdefs.h. */
  16375. #ifdef HAVE_COMPLEX_H
  16376. #include <complex.h>
  16377. #endif
  16378. #ifdef HAVE_MATH_H
  16379. #include <math.h>
  16380. #endif
  16381. int (*ptr)() = (int (*)())floor;
  16382. int
  16383. main ()
  16384. {
  16385. return 0;
  16386. }
  16387. _ACEOF
  16388. if ac_fn_c_try_link "$LINENO"; then :
  16389. gcc_cv_math_func_floor=yes
  16390. else
  16391. gcc_cv_math_func_floor=no
  16392. fi
  16393. rm -f core conftest.err conftest.$ac_objext \
  16394. conftest$ac_exeext conftest.$ac_ext
  16395. fi
  16396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
  16397. $as_echo "$gcc_cv_math_func_floor" >&6; }
  16398. if test $gcc_cv_math_func_floor = yes; then
  16399. cat >>confdefs.h <<_ACEOF
  16400. #define HAVE_FLOOR 1
  16401. _ACEOF
  16402. fi
  16403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
  16404. $as_echo_n "checking for floorl... " >&6; }
  16405. if test "${gcc_cv_math_func_floorl+set}" = set; then :
  16406. $as_echo_n "(cached) " >&6
  16407. else
  16408. if test x$gcc_no_link = xyes; then
  16409. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16410. fi
  16411. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16412. /* end confdefs.h. */
  16413. #ifdef HAVE_COMPLEX_H
  16414. #include <complex.h>
  16415. #endif
  16416. #ifdef HAVE_MATH_H
  16417. #include <math.h>
  16418. #endif
  16419. int (*ptr)() = (int (*)())floorl;
  16420. int
  16421. main ()
  16422. {
  16423. return 0;
  16424. }
  16425. _ACEOF
  16426. if ac_fn_c_try_link "$LINENO"; then :
  16427. gcc_cv_math_func_floorl=yes
  16428. else
  16429. gcc_cv_math_func_floorl=no
  16430. fi
  16431. rm -f core conftest.err conftest.$ac_objext \
  16432. conftest$ac_exeext conftest.$ac_ext
  16433. fi
  16434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
  16435. $as_echo "$gcc_cv_math_func_floorl" >&6; }
  16436. if test $gcc_cv_math_func_floorl = yes; then
  16437. cat >>confdefs.h <<_ACEOF
  16438. #define HAVE_FLOORL 1
  16439. _ACEOF
  16440. fi
  16441. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
  16442. $as_echo_n "checking for fmodf... " >&6; }
  16443. if test "${gcc_cv_math_func_fmodf+set}" = set; then :
  16444. $as_echo_n "(cached) " >&6
  16445. else
  16446. if test x$gcc_no_link = xyes; then
  16447. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16448. fi
  16449. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16450. /* end confdefs.h. */
  16451. #ifdef HAVE_COMPLEX_H
  16452. #include <complex.h>
  16453. #endif
  16454. #ifdef HAVE_MATH_H
  16455. #include <math.h>
  16456. #endif
  16457. int (*ptr)() = (int (*)())fmodf;
  16458. int
  16459. main ()
  16460. {
  16461. return 0;
  16462. }
  16463. _ACEOF
  16464. if ac_fn_c_try_link "$LINENO"; then :
  16465. gcc_cv_math_func_fmodf=yes
  16466. else
  16467. gcc_cv_math_func_fmodf=no
  16468. fi
  16469. rm -f core conftest.err conftest.$ac_objext \
  16470. conftest$ac_exeext conftest.$ac_ext
  16471. fi
  16472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
  16473. $as_echo "$gcc_cv_math_func_fmodf" >&6; }
  16474. if test $gcc_cv_math_func_fmodf = yes; then
  16475. cat >>confdefs.h <<_ACEOF
  16476. #define HAVE_FMODF 1
  16477. _ACEOF
  16478. fi
  16479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
  16480. $as_echo_n "checking for fmod... " >&6; }
  16481. if test "${gcc_cv_math_func_fmod+set}" = set; then :
  16482. $as_echo_n "(cached) " >&6
  16483. else
  16484. if test x$gcc_no_link = xyes; then
  16485. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16486. fi
  16487. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16488. /* end confdefs.h. */
  16489. #ifdef HAVE_COMPLEX_H
  16490. #include <complex.h>
  16491. #endif
  16492. #ifdef HAVE_MATH_H
  16493. #include <math.h>
  16494. #endif
  16495. int (*ptr)() = (int (*)())fmod;
  16496. int
  16497. main ()
  16498. {
  16499. return 0;
  16500. }
  16501. _ACEOF
  16502. if ac_fn_c_try_link "$LINENO"; then :
  16503. gcc_cv_math_func_fmod=yes
  16504. else
  16505. gcc_cv_math_func_fmod=no
  16506. fi
  16507. rm -f core conftest.err conftest.$ac_objext \
  16508. conftest$ac_exeext conftest.$ac_ext
  16509. fi
  16510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
  16511. $as_echo "$gcc_cv_math_func_fmod" >&6; }
  16512. if test $gcc_cv_math_func_fmod = yes; then
  16513. cat >>confdefs.h <<_ACEOF
  16514. #define HAVE_FMOD 1
  16515. _ACEOF
  16516. fi
  16517. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
  16518. $as_echo_n "checking for fmodl... " >&6; }
  16519. if test "${gcc_cv_math_func_fmodl+set}" = set; then :
  16520. $as_echo_n "(cached) " >&6
  16521. else
  16522. if test x$gcc_no_link = xyes; then
  16523. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16524. fi
  16525. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16526. /* end confdefs.h. */
  16527. #ifdef HAVE_COMPLEX_H
  16528. #include <complex.h>
  16529. #endif
  16530. #ifdef HAVE_MATH_H
  16531. #include <math.h>
  16532. #endif
  16533. int (*ptr)() = (int (*)())fmodl;
  16534. int
  16535. main ()
  16536. {
  16537. return 0;
  16538. }
  16539. _ACEOF
  16540. if ac_fn_c_try_link "$LINENO"; then :
  16541. gcc_cv_math_func_fmodl=yes
  16542. else
  16543. gcc_cv_math_func_fmodl=no
  16544. fi
  16545. rm -f core conftest.err conftest.$ac_objext \
  16546. conftest$ac_exeext conftest.$ac_ext
  16547. fi
  16548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
  16549. $as_echo "$gcc_cv_math_func_fmodl" >&6; }
  16550. if test $gcc_cv_math_func_fmodl = yes; then
  16551. cat >>confdefs.h <<_ACEOF
  16552. #define HAVE_FMODL 1
  16553. _ACEOF
  16554. fi
  16555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
  16556. $as_echo_n "checking for frexpf... " >&6; }
  16557. if test "${gcc_cv_math_func_frexpf+set}" = set; then :
  16558. $as_echo_n "(cached) " >&6
  16559. else
  16560. if test x$gcc_no_link = xyes; then
  16561. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16562. fi
  16563. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16564. /* end confdefs.h. */
  16565. #ifdef HAVE_COMPLEX_H
  16566. #include <complex.h>
  16567. #endif
  16568. #ifdef HAVE_MATH_H
  16569. #include <math.h>
  16570. #endif
  16571. int (*ptr)() = (int (*)())frexpf;
  16572. int
  16573. main ()
  16574. {
  16575. return 0;
  16576. }
  16577. _ACEOF
  16578. if ac_fn_c_try_link "$LINENO"; then :
  16579. gcc_cv_math_func_frexpf=yes
  16580. else
  16581. gcc_cv_math_func_frexpf=no
  16582. fi
  16583. rm -f core conftest.err conftest.$ac_objext \
  16584. conftest$ac_exeext conftest.$ac_ext
  16585. fi
  16586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
  16587. $as_echo "$gcc_cv_math_func_frexpf" >&6; }
  16588. if test $gcc_cv_math_func_frexpf = yes; then
  16589. cat >>confdefs.h <<_ACEOF
  16590. #define HAVE_FREXPF 1
  16591. _ACEOF
  16592. fi
  16593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
  16594. $as_echo_n "checking for frexp... " >&6; }
  16595. if test "${gcc_cv_math_func_frexp+set}" = set; then :
  16596. $as_echo_n "(cached) " >&6
  16597. else
  16598. if test x$gcc_no_link = xyes; then
  16599. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16600. fi
  16601. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16602. /* end confdefs.h. */
  16603. #ifdef HAVE_COMPLEX_H
  16604. #include <complex.h>
  16605. #endif
  16606. #ifdef HAVE_MATH_H
  16607. #include <math.h>
  16608. #endif
  16609. int (*ptr)() = (int (*)())frexp;
  16610. int
  16611. main ()
  16612. {
  16613. return 0;
  16614. }
  16615. _ACEOF
  16616. if ac_fn_c_try_link "$LINENO"; then :
  16617. gcc_cv_math_func_frexp=yes
  16618. else
  16619. gcc_cv_math_func_frexp=no
  16620. fi
  16621. rm -f core conftest.err conftest.$ac_objext \
  16622. conftest$ac_exeext conftest.$ac_ext
  16623. fi
  16624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
  16625. $as_echo "$gcc_cv_math_func_frexp" >&6; }
  16626. if test $gcc_cv_math_func_frexp = yes; then
  16627. cat >>confdefs.h <<_ACEOF
  16628. #define HAVE_FREXP 1
  16629. _ACEOF
  16630. fi
  16631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
  16632. $as_echo_n "checking for frexpl... " >&6; }
  16633. if test "${gcc_cv_math_func_frexpl+set}" = set; then :
  16634. $as_echo_n "(cached) " >&6
  16635. else
  16636. if test x$gcc_no_link = xyes; then
  16637. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16638. fi
  16639. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16640. /* end confdefs.h. */
  16641. #ifdef HAVE_COMPLEX_H
  16642. #include <complex.h>
  16643. #endif
  16644. #ifdef HAVE_MATH_H
  16645. #include <math.h>
  16646. #endif
  16647. int (*ptr)() = (int (*)())frexpl;
  16648. int
  16649. main ()
  16650. {
  16651. return 0;
  16652. }
  16653. _ACEOF
  16654. if ac_fn_c_try_link "$LINENO"; then :
  16655. gcc_cv_math_func_frexpl=yes
  16656. else
  16657. gcc_cv_math_func_frexpl=no
  16658. fi
  16659. rm -f core conftest.err conftest.$ac_objext \
  16660. conftest$ac_exeext conftest.$ac_ext
  16661. fi
  16662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
  16663. $as_echo "$gcc_cv_math_func_frexpl" >&6; }
  16664. if test $gcc_cv_math_func_frexpl = yes; then
  16665. cat >>confdefs.h <<_ACEOF
  16666. #define HAVE_FREXPL 1
  16667. _ACEOF
  16668. fi
  16669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
  16670. $as_echo_n "checking for hypotf... " >&6; }
  16671. if test "${gcc_cv_math_func_hypotf+set}" = set; then :
  16672. $as_echo_n "(cached) " >&6
  16673. else
  16674. if test x$gcc_no_link = xyes; then
  16675. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16676. fi
  16677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16678. /* end confdefs.h. */
  16679. #ifdef HAVE_COMPLEX_H
  16680. #include <complex.h>
  16681. #endif
  16682. #ifdef HAVE_MATH_H
  16683. #include <math.h>
  16684. #endif
  16685. int (*ptr)() = (int (*)())hypotf;
  16686. int
  16687. main ()
  16688. {
  16689. return 0;
  16690. }
  16691. _ACEOF
  16692. if ac_fn_c_try_link "$LINENO"; then :
  16693. gcc_cv_math_func_hypotf=yes
  16694. else
  16695. gcc_cv_math_func_hypotf=no
  16696. fi
  16697. rm -f core conftest.err conftest.$ac_objext \
  16698. conftest$ac_exeext conftest.$ac_ext
  16699. fi
  16700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
  16701. $as_echo "$gcc_cv_math_func_hypotf" >&6; }
  16702. if test $gcc_cv_math_func_hypotf = yes; then
  16703. cat >>confdefs.h <<_ACEOF
  16704. #define HAVE_HYPOTF 1
  16705. _ACEOF
  16706. fi
  16707. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
  16708. $as_echo_n "checking for hypot... " >&6; }
  16709. if test "${gcc_cv_math_func_hypot+set}" = set; then :
  16710. $as_echo_n "(cached) " >&6
  16711. else
  16712. if test x$gcc_no_link = xyes; then
  16713. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16714. fi
  16715. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16716. /* end confdefs.h. */
  16717. #ifdef HAVE_COMPLEX_H
  16718. #include <complex.h>
  16719. #endif
  16720. #ifdef HAVE_MATH_H
  16721. #include <math.h>
  16722. #endif
  16723. int (*ptr)() = (int (*)())hypot;
  16724. int
  16725. main ()
  16726. {
  16727. return 0;
  16728. }
  16729. _ACEOF
  16730. if ac_fn_c_try_link "$LINENO"; then :
  16731. gcc_cv_math_func_hypot=yes
  16732. else
  16733. gcc_cv_math_func_hypot=no
  16734. fi
  16735. rm -f core conftest.err conftest.$ac_objext \
  16736. conftest$ac_exeext conftest.$ac_ext
  16737. fi
  16738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
  16739. $as_echo "$gcc_cv_math_func_hypot" >&6; }
  16740. if test $gcc_cv_math_func_hypot = yes; then
  16741. cat >>confdefs.h <<_ACEOF
  16742. #define HAVE_HYPOT 1
  16743. _ACEOF
  16744. fi
  16745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
  16746. $as_echo_n "checking for hypotl... " >&6; }
  16747. if test "${gcc_cv_math_func_hypotl+set}" = set; then :
  16748. $as_echo_n "(cached) " >&6
  16749. else
  16750. if test x$gcc_no_link = xyes; then
  16751. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16752. fi
  16753. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16754. /* end confdefs.h. */
  16755. #ifdef HAVE_COMPLEX_H
  16756. #include <complex.h>
  16757. #endif
  16758. #ifdef HAVE_MATH_H
  16759. #include <math.h>
  16760. #endif
  16761. int (*ptr)() = (int (*)())hypotl;
  16762. int
  16763. main ()
  16764. {
  16765. return 0;
  16766. }
  16767. _ACEOF
  16768. if ac_fn_c_try_link "$LINENO"; then :
  16769. gcc_cv_math_func_hypotl=yes
  16770. else
  16771. gcc_cv_math_func_hypotl=no
  16772. fi
  16773. rm -f core conftest.err conftest.$ac_objext \
  16774. conftest$ac_exeext conftest.$ac_ext
  16775. fi
  16776. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
  16777. $as_echo "$gcc_cv_math_func_hypotl" >&6; }
  16778. if test $gcc_cv_math_func_hypotl = yes; then
  16779. cat >>confdefs.h <<_ACEOF
  16780. #define HAVE_HYPOTL 1
  16781. _ACEOF
  16782. fi
  16783. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
  16784. $as_echo_n "checking for ldexpf... " >&6; }
  16785. if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
  16786. $as_echo_n "(cached) " >&6
  16787. else
  16788. if test x$gcc_no_link = xyes; then
  16789. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16790. fi
  16791. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16792. /* end confdefs.h. */
  16793. #ifdef HAVE_COMPLEX_H
  16794. #include <complex.h>
  16795. #endif
  16796. #ifdef HAVE_MATH_H
  16797. #include <math.h>
  16798. #endif
  16799. int (*ptr)() = (int (*)())ldexpf;
  16800. int
  16801. main ()
  16802. {
  16803. return 0;
  16804. }
  16805. _ACEOF
  16806. if ac_fn_c_try_link "$LINENO"; then :
  16807. gcc_cv_math_func_ldexpf=yes
  16808. else
  16809. gcc_cv_math_func_ldexpf=no
  16810. fi
  16811. rm -f core conftest.err conftest.$ac_objext \
  16812. conftest$ac_exeext conftest.$ac_ext
  16813. fi
  16814. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
  16815. $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
  16816. if test $gcc_cv_math_func_ldexpf = yes; then
  16817. cat >>confdefs.h <<_ACEOF
  16818. #define HAVE_LDEXPF 1
  16819. _ACEOF
  16820. fi
  16821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
  16822. $as_echo_n "checking for ldexp... " >&6; }
  16823. if test "${gcc_cv_math_func_ldexp+set}" = set; then :
  16824. $as_echo_n "(cached) " >&6
  16825. else
  16826. if test x$gcc_no_link = xyes; then
  16827. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16828. fi
  16829. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16830. /* end confdefs.h. */
  16831. #ifdef HAVE_COMPLEX_H
  16832. #include <complex.h>
  16833. #endif
  16834. #ifdef HAVE_MATH_H
  16835. #include <math.h>
  16836. #endif
  16837. int (*ptr)() = (int (*)())ldexp;
  16838. int
  16839. main ()
  16840. {
  16841. return 0;
  16842. }
  16843. _ACEOF
  16844. if ac_fn_c_try_link "$LINENO"; then :
  16845. gcc_cv_math_func_ldexp=yes
  16846. else
  16847. gcc_cv_math_func_ldexp=no
  16848. fi
  16849. rm -f core conftest.err conftest.$ac_objext \
  16850. conftest$ac_exeext conftest.$ac_ext
  16851. fi
  16852. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
  16853. $as_echo "$gcc_cv_math_func_ldexp" >&6; }
  16854. if test $gcc_cv_math_func_ldexp = yes; then
  16855. cat >>confdefs.h <<_ACEOF
  16856. #define HAVE_LDEXP 1
  16857. _ACEOF
  16858. fi
  16859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
  16860. $as_echo_n "checking for ldexpl... " >&6; }
  16861. if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
  16862. $as_echo_n "(cached) " >&6
  16863. else
  16864. if test x$gcc_no_link = xyes; then
  16865. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16866. fi
  16867. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16868. /* end confdefs.h. */
  16869. #ifdef HAVE_COMPLEX_H
  16870. #include <complex.h>
  16871. #endif
  16872. #ifdef HAVE_MATH_H
  16873. #include <math.h>
  16874. #endif
  16875. int (*ptr)() = (int (*)())ldexpl;
  16876. int
  16877. main ()
  16878. {
  16879. return 0;
  16880. }
  16881. _ACEOF
  16882. if ac_fn_c_try_link "$LINENO"; then :
  16883. gcc_cv_math_func_ldexpl=yes
  16884. else
  16885. gcc_cv_math_func_ldexpl=no
  16886. fi
  16887. rm -f core conftest.err conftest.$ac_objext \
  16888. conftest$ac_exeext conftest.$ac_ext
  16889. fi
  16890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
  16891. $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
  16892. if test $gcc_cv_math_func_ldexpl = yes; then
  16893. cat >>confdefs.h <<_ACEOF
  16894. #define HAVE_LDEXPL 1
  16895. _ACEOF
  16896. fi
  16897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
  16898. $as_echo_n "checking for logf... " >&6; }
  16899. if test "${gcc_cv_math_func_logf+set}" = set; then :
  16900. $as_echo_n "(cached) " >&6
  16901. else
  16902. if test x$gcc_no_link = xyes; then
  16903. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16904. fi
  16905. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16906. /* end confdefs.h. */
  16907. #ifdef HAVE_COMPLEX_H
  16908. #include <complex.h>
  16909. #endif
  16910. #ifdef HAVE_MATH_H
  16911. #include <math.h>
  16912. #endif
  16913. int (*ptr)() = (int (*)())logf;
  16914. int
  16915. main ()
  16916. {
  16917. return 0;
  16918. }
  16919. _ACEOF
  16920. if ac_fn_c_try_link "$LINENO"; then :
  16921. gcc_cv_math_func_logf=yes
  16922. else
  16923. gcc_cv_math_func_logf=no
  16924. fi
  16925. rm -f core conftest.err conftest.$ac_objext \
  16926. conftest$ac_exeext conftest.$ac_ext
  16927. fi
  16928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
  16929. $as_echo "$gcc_cv_math_func_logf" >&6; }
  16930. if test $gcc_cv_math_func_logf = yes; then
  16931. cat >>confdefs.h <<_ACEOF
  16932. #define HAVE_LOGF 1
  16933. _ACEOF
  16934. fi
  16935. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
  16936. $as_echo_n "checking for log... " >&6; }
  16937. if test "${gcc_cv_math_func_log+set}" = set; then :
  16938. $as_echo_n "(cached) " >&6
  16939. else
  16940. if test x$gcc_no_link = xyes; then
  16941. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16942. fi
  16943. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16944. /* end confdefs.h. */
  16945. #ifdef HAVE_COMPLEX_H
  16946. #include <complex.h>
  16947. #endif
  16948. #ifdef HAVE_MATH_H
  16949. #include <math.h>
  16950. #endif
  16951. int (*ptr)() = (int (*)())log;
  16952. int
  16953. main ()
  16954. {
  16955. return 0;
  16956. }
  16957. _ACEOF
  16958. if ac_fn_c_try_link "$LINENO"; then :
  16959. gcc_cv_math_func_log=yes
  16960. else
  16961. gcc_cv_math_func_log=no
  16962. fi
  16963. rm -f core conftest.err conftest.$ac_objext \
  16964. conftest$ac_exeext conftest.$ac_ext
  16965. fi
  16966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
  16967. $as_echo "$gcc_cv_math_func_log" >&6; }
  16968. if test $gcc_cv_math_func_log = yes; then
  16969. cat >>confdefs.h <<_ACEOF
  16970. #define HAVE_LOG 1
  16971. _ACEOF
  16972. fi
  16973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
  16974. $as_echo_n "checking for logl... " >&6; }
  16975. if test "${gcc_cv_math_func_logl+set}" = set; then :
  16976. $as_echo_n "(cached) " >&6
  16977. else
  16978. if test x$gcc_no_link = xyes; then
  16979. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  16980. fi
  16981. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16982. /* end confdefs.h. */
  16983. #ifdef HAVE_COMPLEX_H
  16984. #include <complex.h>
  16985. #endif
  16986. #ifdef HAVE_MATH_H
  16987. #include <math.h>
  16988. #endif
  16989. int (*ptr)() = (int (*)())logl;
  16990. int
  16991. main ()
  16992. {
  16993. return 0;
  16994. }
  16995. _ACEOF
  16996. if ac_fn_c_try_link "$LINENO"; then :
  16997. gcc_cv_math_func_logl=yes
  16998. else
  16999. gcc_cv_math_func_logl=no
  17000. fi
  17001. rm -f core conftest.err conftest.$ac_objext \
  17002. conftest$ac_exeext conftest.$ac_ext
  17003. fi
  17004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
  17005. $as_echo "$gcc_cv_math_func_logl" >&6; }
  17006. if test $gcc_cv_math_func_logl = yes; then
  17007. cat >>confdefs.h <<_ACEOF
  17008. #define HAVE_LOGL 1
  17009. _ACEOF
  17010. fi
  17011. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
  17012. $as_echo_n "checking for clogf... " >&6; }
  17013. if test "${gcc_cv_math_func_clogf+set}" = set; then :
  17014. $as_echo_n "(cached) " >&6
  17015. else
  17016. if test x$gcc_no_link = xyes; then
  17017. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17018. fi
  17019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17020. /* end confdefs.h. */
  17021. #ifdef HAVE_COMPLEX_H
  17022. #include <complex.h>
  17023. #endif
  17024. #ifdef HAVE_MATH_H
  17025. #include <math.h>
  17026. #endif
  17027. int (*ptr)() = (int (*)())clogf;
  17028. int
  17029. main ()
  17030. {
  17031. return 0;
  17032. }
  17033. _ACEOF
  17034. if ac_fn_c_try_link "$LINENO"; then :
  17035. gcc_cv_math_func_clogf=yes
  17036. else
  17037. gcc_cv_math_func_clogf=no
  17038. fi
  17039. rm -f core conftest.err conftest.$ac_objext \
  17040. conftest$ac_exeext conftest.$ac_ext
  17041. fi
  17042. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
  17043. $as_echo "$gcc_cv_math_func_clogf" >&6; }
  17044. if test $gcc_cv_math_func_clogf = yes; then
  17045. cat >>confdefs.h <<_ACEOF
  17046. #define HAVE_CLOGF 1
  17047. _ACEOF
  17048. fi
  17049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
  17050. $as_echo_n "checking for clog... " >&6; }
  17051. if test "${gcc_cv_math_func_clog+set}" = set; then :
  17052. $as_echo_n "(cached) " >&6
  17053. else
  17054. if test x$gcc_no_link = xyes; then
  17055. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17056. fi
  17057. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17058. /* end confdefs.h. */
  17059. #ifdef HAVE_COMPLEX_H
  17060. #include <complex.h>
  17061. #endif
  17062. #ifdef HAVE_MATH_H
  17063. #include <math.h>
  17064. #endif
  17065. int (*ptr)() = (int (*)())clog;
  17066. int
  17067. main ()
  17068. {
  17069. return 0;
  17070. }
  17071. _ACEOF
  17072. if ac_fn_c_try_link "$LINENO"; then :
  17073. gcc_cv_math_func_clog=yes
  17074. else
  17075. gcc_cv_math_func_clog=no
  17076. fi
  17077. rm -f core conftest.err conftest.$ac_objext \
  17078. conftest$ac_exeext conftest.$ac_ext
  17079. fi
  17080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
  17081. $as_echo "$gcc_cv_math_func_clog" >&6; }
  17082. if test $gcc_cv_math_func_clog = yes; then
  17083. cat >>confdefs.h <<_ACEOF
  17084. #define HAVE_CLOG 1
  17085. _ACEOF
  17086. fi
  17087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
  17088. $as_echo_n "checking for clogl... " >&6; }
  17089. if test "${gcc_cv_math_func_clogl+set}" = set; then :
  17090. $as_echo_n "(cached) " >&6
  17091. else
  17092. if test x$gcc_no_link = xyes; then
  17093. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17094. fi
  17095. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17096. /* end confdefs.h. */
  17097. #ifdef HAVE_COMPLEX_H
  17098. #include <complex.h>
  17099. #endif
  17100. #ifdef HAVE_MATH_H
  17101. #include <math.h>
  17102. #endif
  17103. int (*ptr)() = (int (*)())clogl;
  17104. int
  17105. main ()
  17106. {
  17107. return 0;
  17108. }
  17109. _ACEOF
  17110. if ac_fn_c_try_link "$LINENO"; then :
  17111. gcc_cv_math_func_clogl=yes
  17112. else
  17113. gcc_cv_math_func_clogl=no
  17114. fi
  17115. rm -f core conftest.err conftest.$ac_objext \
  17116. conftest$ac_exeext conftest.$ac_ext
  17117. fi
  17118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
  17119. $as_echo "$gcc_cv_math_func_clogl" >&6; }
  17120. if test $gcc_cv_math_func_clogl = yes; then
  17121. cat >>confdefs.h <<_ACEOF
  17122. #define HAVE_CLOGL 1
  17123. _ACEOF
  17124. fi
  17125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
  17126. $as_echo_n "checking for log10f... " >&6; }
  17127. if test "${gcc_cv_math_func_log10f+set}" = set; then :
  17128. $as_echo_n "(cached) " >&6
  17129. else
  17130. if test x$gcc_no_link = xyes; then
  17131. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17132. fi
  17133. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17134. /* end confdefs.h. */
  17135. #ifdef HAVE_COMPLEX_H
  17136. #include <complex.h>
  17137. #endif
  17138. #ifdef HAVE_MATH_H
  17139. #include <math.h>
  17140. #endif
  17141. int (*ptr)() = (int (*)())log10f;
  17142. int
  17143. main ()
  17144. {
  17145. return 0;
  17146. }
  17147. _ACEOF
  17148. if ac_fn_c_try_link "$LINENO"; then :
  17149. gcc_cv_math_func_log10f=yes
  17150. else
  17151. gcc_cv_math_func_log10f=no
  17152. fi
  17153. rm -f core conftest.err conftest.$ac_objext \
  17154. conftest$ac_exeext conftest.$ac_ext
  17155. fi
  17156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
  17157. $as_echo "$gcc_cv_math_func_log10f" >&6; }
  17158. if test $gcc_cv_math_func_log10f = yes; then
  17159. cat >>confdefs.h <<_ACEOF
  17160. #define HAVE_LOG10F 1
  17161. _ACEOF
  17162. fi
  17163. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
  17164. $as_echo_n "checking for log10... " >&6; }
  17165. if test "${gcc_cv_math_func_log10+set}" = set; then :
  17166. $as_echo_n "(cached) " >&6
  17167. else
  17168. if test x$gcc_no_link = xyes; then
  17169. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17170. fi
  17171. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17172. /* end confdefs.h. */
  17173. #ifdef HAVE_COMPLEX_H
  17174. #include <complex.h>
  17175. #endif
  17176. #ifdef HAVE_MATH_H
  17177. #include <math.h>
  17178. #endif
  17179. int (*ptr)() = (int (*)())log10;
  17180. int
  17181. main ()
  17182. {
  17183. return 0;
  17184. }
  17185. _ACEOF
  17186. if ac_fn_c_try_link "$LINENO"; then :
  17187. gcc_cv_math_func_log10=yes
  17188. else
  17189. gcc_cv_math_func_log10=no
  17190. fi
  17191. rm -f core conftest.err conftest.$ac_objext \
  17192. conftest$ac_exeext conftest.$ac_ext
  17193. fi
  17194. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
  17195. $as_echo "$gcc_cv_math_func_log10" >&6; }
  17196. if test $gcc_cv_math_func_log10 = yes; then
  17197. cat >>confdefs.h <<_ACEOF
  17198. #define HAVE_LOG10 1
  17199. _ACEOF
  17200. fi
  17201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
  17202. $as_echo_n "checking for log10l... " >&6; }
  17203. if test "${gcc_cv_math_func_log10l+set}" = set; then :
  17204. $as_echo_n "(cached) " >&6
  17205. else
  17206. if test x$gcc_no_link = xyes; then
  17207. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17208. fi
  17209. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17210. /* end confdefs.h. */
  17211. #ifdef HAVE_COMPLEX_H
  17212. #include <complex.h>
  17213. #endif
  17214. #ifdef HAVE_MATH_H
  17215. #include <math.h>
  17216. #endif
  17217. int (*ptr)() = (int (*)())log10l;
  17218. int
  17219. main ()
  17220. {
  17221. return 0;
  17222. }
  17223. _ACEOF
  17224. if ac_fn_c_try_link "$LINENO"; then :
  17225. gcc_cv_math_func_log10l=yes
  17226. else
  17227. gcc_cv_math_func_log10l=no
  17228. fi
  17229. rm -f core conftest.err conftest.$ac_objext \
  17230. conftest$ac_exeext conftest.$ac_ext
  17231. fi
  17232. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
  17233. $as_echo "$gcc_cv_math_func_log10l" >&6; }
  17234. if test $gcc_cv_math_func_log10l = yes; then
  17235. cat >>confdefs.h <<_ACEOF
  17236. #define HAVE_LOG10L 1
  17237. _ACEOF
  17238. fi
  17239. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
  17240. $as_echo_n "checking for clog10f... " >&6; }
  17241. if test "${gcc_cv_math_func_clog10f+set}" = set; then :
  17242. $as_echo_n "(cached) " >&6
  17243. else
  17244. if test x$gcc_no_link = xyes; then
  17245. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17246. fi
  17247. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17248. /* end confdefs.h. */
  17249. #ifdef HAVE_COMPLEX_H
  17250. #include <complex.h>
  17251. #endif
  17252. #ifdef HAVE_MATH_H
  17253. #include <math.h>
  17254. #endif
  17255. int (*ptr)() = (int (*)())clog10f;
  17256. int
  17257. main ()
  17258. {
  17259. return 0;
  17260. }
  17261. _ACEOF
  17262. if ac_fn_c_try_link "$LINENO"; then :
  17263. gcc_cv_math_func_clog10f=yes
  17264. else
  17265. gcc_cv_math_func_clog10f=no
  17266. fi
  17267. rm -f core conftest.err conftest.$ac_objext \
  17268. conftest$ac_exeext conftest.$ac_ext
  17269. fi
  17270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
  17271. $as_echo "$gcc_cv_math_func_clog10f" >&6; }
  17272. if test $gcc_cv_math_func_clog10f = yes; then
  17273. cat >>confdefs.h <<_ACEOF
  17274. #define HAVE_CLOG10F 1
  17275. _ACEOF
  17276. fi
  17277. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
  17278. $as_echo_n "checking for clog10... " >&6; }
  17279. if test "${gcc_cv_math_func_clog10+set}" = set; then :
  17280. $as_echo_n "(cached) " >&6
  17281. else
  17282. if test x$gcc_no_link = xyes; then
  17283. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17284. fi
  17285. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17286. /* end confdefs.h. */
  17287. #ifdef HAVE_COMPLEX_H
  17288. #include <complex.h>
  17289. #endif
  17290. #ifdef HAVE_MATH_H
  17291. #include <math.h>
  17292. #endif
  17293. int (*ptr)() = (int (*)())clog10;
  17294. int
  17295. main ()
  17296. {
  17297. return 0;
  17298. }
  17299. _ACEOF
  17300. if ac_fn_c_try_link "$LINENO"; then :
  17301. gcc_cv_math_func_clog10=yes
  17302. else
  17303. gcc_cv_math_func_clog10=no
  17304. fi
  17305. rm -f core conftest.err conftest.$ac_objext \
  17306. conftest$ac_exeext conftest.$ac_ext
  17307. fi
  17308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
  17309. $as_echo "$gcc_cv_math_func_clog10" >&6; }
  17310. if test $gcc_cv_math_func_clog10 = yes; then
  17311. cat >>confdefs.h <<_ACEOF
  17312. #define HAVE_CLOG10 1
  17313. _ACEOF
  17314. fi
  17315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
  17316. $as_echo_n "checking for clog10l... " >&6; }
  17317. if test "${gcc_cv_math_func_clog10l+set}" = set; then :
  17318. $as_echo_n "(cached) " >&6
  17319. else
  17320. if test x$gcc_no_link = xyes; then
  17321. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17322. fi
  17323. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17324. /* end confdefs.h. */
  17325. #ifdef HAVE_COMPLEX_H
  17326. #include <complex.h>
  17327. #endif
  17328. #ifdef HAVE_MATH_H
  17329. #include <math.h>
  17330. #endif
  17331. int (*ptr)() = (int (*)())clog10l;
  17332. int
  17333. main ()
  17334. {
  17335. return 0;
  17336. }
  17337. _ACEOF
  17338. if ac_fn_c_try_link "$LINENO"; then :
  17339. gcc_cv_math_func_clog10l=yes
  17340. else
  17341. gcc_cv_math_func_clog10l=no
  17342. fi
  17343. rm -f core conftest.err conftest.$ac_objext \
  17344. conftest$ac_exeext conftest.$ac_ext
  17345. fi
  17346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
  17347. $as_echo "$gcc_cv_math_func_clog10l" >&6; }
  17348. if test $gcc_cv_math_func_clog10l = yes; then
  17349. cat >>confdefs.h <<_ACEOF
  17350. #define HAVE_CLOG10L 1
  17351. _ACEOF
  17352. fi
  17353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
  17354. $as_echo_n "checking for nextafterf... " >&6; }
  17355. if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
  17356. $as_echo_n "(cached) " >&6
  17357. else
  17358. if test x$gcc_no_link = xyes; then
  17359. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17360. fi
  17361. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17362. /* end confdefs.h. */
  17363. #ifdef HAVE_COMPLEX_H
  17364. #include <complex.h>
  17365. #endif
  17366. #ifdef HAVE_MATH_H
  17367. #include <math.h>
  17368. #endif
  17369. int (*ptr)() = (int (*)())nextafterf;
  17370. int
  17371. main ()
  17372. {
  17373. return 0;
  17374. }
  17375. _ACEOF
  17376. if ac_fn_c_try_link "$LINENO"; then :
  17377. gcc_cv_math_func_nextafterf=yes
  17378. else
  17379. gcc_cv_math_func_nextafterf=no
  17380. fi
  17381. rm -f core conftest.err conftest.$ac_objext \
  17382. conftest$ac_exeext conftest.$ac_ext
  17383. fi
  17384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
  17385. $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
  17386. if test $gcc_cv_math_func_nextafterf = yes; then
  17387. cat >>confdefs.h <<_ACEOF
  17388. #define HAVE_NEXTAFTERF 1
  17389. _ACEOF
  17390. fi
  17391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
  17392. $as_echo_n "checking for nextafter... " >&6; }
  17393. if test "${gcc_cv_math_func_nextafter+set}" = set; then :
  17394. $as_echo_n "(cached) " >&6
  17395. else
  17396. if test x$gcc_no_link = xyes; then
  17397. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17398. fi
  17399. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17400. /* end confdefs.h. */
  17401. #ifdef HAVE_COMPLEX_H
  17402. #include <complex.h>
  17403. #endif
  17404. #ifdef HAVE_MATH_H
  17405. #include <math.h>
  17406. #endif
  17407. int (*ptr)() = (int (*)())nextafter;
  17408. int
  17409. main ()
  17410. {
  17411. return 0;
  17412. }
  17413. _ACEOF
  17414. if ac_fn_c_try_link "$LINENO"; then :
  17415. gcc_cv_math_func_nextafter=yes
  17416. else
  17417. gcc_cv_math_func_nextafter=no
  17418. fi
  17419. rm -f core conftest.err conftest.$ac_objext \
  17420. conftest$ac_exeext conftest.$ac_ext
  17421. fi
  17422. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
  17423. $as_echo "$gcc_cv_math_func_nextafter" >&6; }
  17424. if test $gcc_cv_math_func_nextafter = yes; then
  17425. cat >>confdefs.h <<_ACEOF
  17426. #define HAVE_NEXTAFTER 1
  17427. _ACEOF
  17428. fi
  17429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
  17430. $as_echo_n "checking for nextafterl... " >&6; }
  17431. if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
  17432. $as_echo_n "(cached) " >&6
  17433. else
  17434. if test x$gcc_no_link = xyes; then
  17435. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17436. fi
  17437. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17438. /* end confdefs.h. */
  17439. #ifdef HAVE_COMPLEX_H
  17440. #include <complex.h>
  17441. #endif
  17442. #ifdef HAVE_MATH_H
  17443. #include <math.h>
  17444. #endif
  17445. int (*ptr)() = (int (*)())nextafterl;
  17446. int
  17447. main ()
  17448. {
  17449. return 0;
  17450. }
  17451. _ACEOF
  17452. if ac_fn_c_try_link "$LINENO"; then :
  17453. gcc_cv_math_func_nextafterl=yes
  17454. else
  17455. gcc_cv_math_func_nextafterl=no
  17456. fi
  17457. rm -f core conftest.err conftest.$ac_objext \
  17458. conftest$ac_exeext conftest.$ac_ext
  17459. fi
  17460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
  17461. $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
  17462. if test $gcc_cv_math_func_nextafterl = yes; then
  17463. cat >>confdefs.h <<_ACEOF
  17464. #define HAVE_NEXTAFTERL 1
  17465. _ACEOF
  17466. fi
  17467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
  17468. $as_echo_n "checking for powf... " >&6; }
  17469. if test "${gcc_cv_math_func_powf+set}" = set; then :
  17470. $as_echo_n "(cached) " >&6
  17471. else
  17472. if test x$gcc_no_link = xyes; then
  17473. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17474. fi
  17475. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17476. /* end confdefs.h. */
  17477. #ifdef HAVE_COMPLEX_H
  17478. #include <complex.h>
  17479. #endif
  17480. #ifdef HAVE_MATH_H
  17481. #include <math.h>
  17482. #endif
  17483. int (*ptr)() = (int (*)())powf;
  17484. int
  17485. main ()
  17486. {
  17487. return 0;
  17488. }
  17489. _ACEOF
  17490. if ac_fn_c_try_link "$LINENO"; then :
  17491. gcc_cv_math_func_powf=yes
  17492. else
  17493. gcc_cv_math_func_powf=no
  17494. fi
  17495. rm -f core conftest.err conftest.$ac_objext \
  17496. conftest$ac_exeext conftest.$ac_ext
  17497. fi
  17498. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
  17499. $as_echo "$gcc_cv_math_func_powf" >&6; }
  17500. if test $gcc_cv_math_func_powf = yes; then
  17501. cat >>confdefs.h <<_ACEOF
  17502. #define HAVE_POWF 1
  17503. _ACEOF
  17504. fi
  17505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
  17506. $as_echo_n "checking for pow... " >&6; }
  17507. if test "${gcc_cv_math_func_pow+set}" = set; then :
  17508. $as_echo_n "(cached) " >&6
  17509. else
  17510. if test x$gcc_no_link = xyes; then
  17511. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17512. fi
  17513. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17514. /* end confdefs.h. */
  17515. #ifdef HAVE_COMPLEX_H
  17516. #include <complex.h>
  17517. #endif
  17518. #ifdef HAVE_MATH_H
  17519. #include <math.h>
  17520. #endif
  17521. int (*ptr)() = (int (*)())pow;
  17522. int
  17523. main ()
  17524. {
  17525. return 0;
  17526. }
  17527. _ACEOF
  17528. if ac_fn_c_try_link "$LINENO"; then :
  17529. gcc_cv_math_func_pow=yes
  17530. else
  17531. gcc_cv_math_func_pow=no
  17532. fi
  17533. rm -f core conftest.err conftest.$ac_objext \
  17534. conftest$ac_exeext conftest.$ac_ext
  17535. fi
  17536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
  17537. $as_echo "$gcc_cv_math_func_pow" >&6; }
  17538. if test $gcc_cv_math_func_pow = yes; then
  17539. cat >>confdefs.h <<_ACEOF
  17540. #define HAVE_POW 1
  17541. _ACEOF
  17542. fi
  17543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
  17544. $as_echo_n "checking for powl... " >&6; }
  17545. if test "${gcc_cv_math_func_powl+set}" = set; then :
  17546. $as_echo_n "(cached) " >&6
  17547. else
  17548. if test x$gcc_no_link = xyes; then
  17549. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17550. fi
  17551. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17552. /* end confdefs.h. */
  17553. #ifdef HAVE_COMPLEX_H
  17554. #include <complex.h>
  17555. #endif
  17556. #ifdef HAVE_MATH_H
  17557. #include <math.h>
  17558. #endif
  17559. int (*ptr)() = (int (*)())powl;
  17560. int
  17561. main ()
  17562. {
  17563. return 0;
  17564. }
  17565. _ACEOF
  17566. if ac_fn_c_try_link "$LINENO"; then :
  17567. gcc_cv_math_func_powl=yes
  17568. else
  17569. gcc_cv_math_func_powl=no
  17570. fi
  17571. rm -f core conftest.err conftest.$ac_objext \
  17572. conftest$ac_exeext conftest.$ac_ext
  17573. fi
  17574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
  17575. $as_echo "$gcc_cv_math_func_powl" >&6; }
  17576. if test $gcc_cv_math_func_powl = yes; then
  17577. cat >>confdefs.h <<_ACEOF
  17578. #define HAVE_POWL 1
  17579. _ACEOF
  17580. fi
  17581. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
  17582. $as_echo_n "checking for cpowf... " >&6; }
  17583. if test "${gcc_cv_math_func_cpowf+set}" = set; then :
  17584. $as_echo_n "(cached) " >&6
  17585. else
  17586. if test x$gcc_no_link = xyes; then
  17587. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17588. fi
  17589. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17590. /* end confdefs.h. */
  17591. #ifdef HAVE_COMPLEX_H
  17592. #include <complex.h>
  17593. #endif
  17594. #ifdef HAVE_MATH_H
  17595. #include <math.h>
  17596. #endif
  17597. int (*ptr)() = (int (*)())cpowf;
  17598. int
  17599. main ()
  17600. {
  17601. return 0;
  17602. }
  17603. _ACEOF
  17604. if ac_fn_c_try_link "$LINENO"; then :
  17605. gcc_cv_math_func_cpowf=yes
  17606. else
  17607. gcc_cv_math_func_cpowf=no
  17608. fi
  17609. rm -f core conftest.err conftest.$ac_objext \
  17610. conftest$ac_exeext conftest.$ac_ext
  17611. fi
  17612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
  17613. $as_echo "$gcc_cv_math_func_cpowf" >&6; }
  17614. if test $gcc_cv_math_func_cpowf = yes; then
  17615. cat >>confdefs.h <<_ACEOF
  17616. #define HAVE_CPOWF 1
  17617. _ACEOF
  17618. fi
  17619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
  17620. $as_echo_n "checking for cpow... " >&6; }
  17621. if test "${gcc_cv_math_func_cpow+set}" = set; then :
  17622. $as_echo_n "(cached) " >&6
  17623. else
  17624. if test x$gcc_no_link = xyes; then
  17625. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17626. fi
  17627. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17628. /* end confdefs.h. */
  17629. #ifdef HAVE_COMPLEX_H
  17630. #include <complex.h>
  17631. #endif
  17632. #ifdef HAVE_MATH_H
  17633. #include <math.h>
  17634. #endif
  17635. int (*ptr)() = (int (*)())cpow;
  17636. int
  17637. main ()
  17638. {
  17639. return 0;
  17640. }
  17641. _ACEOF
  17642. if ac_fn_c_try_link "$LINENO"; then :
  17643. gcc_cv_math_func_cpow=yes
  17644. else
  17645. gcc_cv_math_func_cpow=no
  17646. fi
  17647. rm -f core conftest.err conftest.$ac_objext \
  17648. conftest$ac_exeext conftest.$ac_ext
  17649. fi
  17650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
  17651. $as_echo "$gcc_cv_math_func_cpow" >&6; }
  17652. if test $gcc_cv_math_func_cpow = yes; then
  17653. cat >>confdefs.h <<_ACEOF
  17654. #define HAVE_CPOW 1
  17655. _ACEOF
  17656. fi
  17657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
  17658. $as_echo_n "checking for cpowl... " >&6; }
  17659. if test "${gcc_cv_math_func_cpowl+set}" = set; then :
  17660. $as_echo_n "(cached) " >&6
  17661. else
  17662. if test x$gcc_no_link = xyes; then
  17663. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17664. fi
  17665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17666. /* end confdefs.h. */
  17667. #ifdef HAVE_COMPLEX_H
  17668. #include <complex.h>
  17669. #endif
  17670. #ifdef HAVE_MATH_H
  17671. #include <math.h>
  17672. #endif
  17673. int (*ptr)() = (int (*)())cpowl;
  17674. int
  17675. main ()
  17676. {
  17677. return 0;
  17678. }
  17679. _ACEOF
  17680. if ac_fn_c_try_link "$LINENO"; then :
  17681. gcc_cv_math_func_cpowl=yes
  17682. else
  17683. gcc_cv_math_func_cpowl=no
  17684. fi
  17685. rm -f core conftest.err conftest.$ac_objext \
  17686. conftest$ac_exeext conftest.$ac_ext
  17687. fi
  17688. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
  17689. $as_echo "$gcc_cv_math_func_cpowl" >&6; }
  17690. if test $gcc_cv_math_func_cpowl = yes; then
  17691. cat >>confdefs.h <<_ACEOF
  17692. #define HAVE_CPOWL 1
  17693. _ACEOF
  17694. fi
  17695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
  17696. $as_echo_n "checking for roundf... " >&6; }
  17697. if test "${gcc_cv_math_func_roundf+set}" = set; then :
  17698. $as_echo_n "(cached) " >&6
  17699. else
  17700. if test x$gcc_no_link = xyes; then
  17701. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17702. fi
  17703. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17704. /* end confdefs.h. */
  17705. #ifdef HAVE_COMPLEX_H
  17706. #include <complex.h>
  17707. #endif
  17708. #ifdef HAVE_MATH_H
  17709. #include <math.h>
  17710. #endif
  17711. int (*ptr)() = (int (*)())roundf;
  17712. int
  17713. main ()
  17714. {
  17715. return 0;
  17716. }
  17717. _ACEOF
  17718. if ac_fn_c_try_link "$LINENO"; then :
  17719. gcc_cv_math_func_roundf=yes
  17720. else
  17721. gcc_cv_math_func_roundf=no
  17722. fi
  17723. rm -f core conftest.err conftest.$ac_objext \
  17724. conftest$ac_exeext conftest.$ac_ext
  17725. fi
  17726. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
  17727. $as_echo "$gcc_cv_math_func_roundf" >&6; }
  17728. if test $gcc_cv_math_func_roundf = yes; then
  17729. cat >>confdefs.h <<_ACEOF
  17730. #define HAVE_ROUNDF 1
  17731. _ACEOF
  17732. fi
  17733. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
  17734. $as_echo_n "checking for round... " >&6; }
  17735. if test "${gcc_cv_math_func_round+set}" = set; then :
  17736. $as_echo_n "(cached) " >&6
  17737. else
  17738. if test x$gcc_no_link = xyes; then
  17739. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17740. fi
  17741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17742. /* end confdefs.h. */
  17743. #ifdef HAVE_COMPLEX_H
  17744. #include <complex.h>
  17745. #endif
  17746. #ifdef HAVE_MATH_H
  17747. #include <math.h>
  17748. #endif
  17749. int (*ptr)() = (int (*)())round;
  17750. int
  17751. main ()
  17752. {
  17753. return 0;
  17754. }
  17755. _ACEOF
  17756. if ac_fn_c_try_link "$LINENO"; then :
  17757. gcc_cv_math_func_round=yes
  17758. else
  17759. gcc_cv_math_func_round=no
  17760. fi
  17761. rm -f core conftest.err conftest.$ac_objext \
  17762. conftest$ac_exeext conftest.$ac_ext
  17763. fi
  17764. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
  17765. $as_echo "$gcc_cv_math_func_round" >&6; }
  17766. if test $gcc_cv_math_func_round = yes; then
  17767. cat >>confdefs.h <<_ACEOF
  17768. #define HAVE_ROUND 1
  17769. _ACEOF
  17770. fi
  17771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
  17772. $as_echo_n "checking for roundl... " >&6; }
  17773. if test "${gcc_cv_math_func_roundl+set}" = set; then :
  17774. $as_echo_n "(cached) " >&6
  17775. else
  17776. if test x$gcc_no_link = xyes; then
  17777. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17778. fi
  17779. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17780. /* end confdefs.h. */
  17781. #ifdef HAVE_COMPLEX_H
  17782. #include <complex.h>
  17783. #endif
  17784. #ifdef HAVE_MATH_H
  17785. #include <math.h>
  17786. #endif
  17787. int (*ptr)() = (int (*)())roundl;
  17788. int
  17789. main ()
  17790. {
  17791. return 0;
  17792. }
  17793. _ACEOF
  17794. if ac_fn_c_try_link "$LINENO"; then :
  17795. gcc_cv_math_func_roundl=yes
  17796. else
  17797. gcc_cv_math_func_roundl=no
  17798. fi
  17799. rm -f core conftest.err conftest.$ac_objext \
  17800. conftest$ac_exeext conftest.$ac_ext
  17801. fi
  17802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
  17803. $as_echo "$gcc_cv_math_func_roundl" >&6; }
  17804. if test $gcc_cv_math_func_roundl = yes; then
  17805. cat >>confdefs.h <<_ACEOF
  17806. #define HAVE_ROUNDL 1
  17807. _ACEOF
  17808. fi
  17809. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
  17810. $as_echo_n "checking for lroundf... " >&6; }
  17811. if test "${gcc_cv_math_func_lroundf+set}" = set; then :
  17812. $as_echo_n "(cached) " >&6
  17813. else
  17814. if test x$gcc_no_link = xyes; then
  17815. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17816. fi
  17817. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17818. /* end confdefs.h. */
  17819. #ifdef HAVE_COMPLEX_H
  17820. #include <complex.h>
  17821. #endif
  17822. #ifdef HAVE_MATH_H
  17823. #include <math.h>
  17824. #endif
  17825. int (*ptr)() = (int (*)())lroundf;
  17826. int
  17827. main ()
  17828. {
  17829. return 0;
  17830. }
  17831. _ACEOF
  17832. if ac_fn_c_try_link "$LINENO"; then :
  17833. gcc_cv_math_func_lroundf=yes
  17834. else
  17835. gcc_cv_math_func_lroundf=no
  17836. fi
  17837. rm -f core conftest.err conftest.$ac_objext \
  17838. conftest$ac_exeext conftest.$ac_ext
  17839. fi
  17840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
  17841. $as_echo "$gcc_cv_math_func_lroundf" >&6; }
  17842. if test $gcc_cv_math_func_lroundf = yes; then
  17843. cat >>confdefs.h <<_ACEOF
  17844. #define HAVE_LROUNDF 1
  17845. _ACEOF
  17846. fi
  17847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
  17848. $as_echo_n "checking for lround... " >&6; }
  17849. if test "${gcc_cv_math_func_lround+set}" = set; then :
  17850. $as_echo_n "(cached) " >&6
  17851. else
  17852. if test x$gcc_no_link = xyes; then
  17853. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17854. fi
  17855. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17856. /* end confdefs.h. */
  17857. #ifdef HAVE_COMPLEX_H
  17858. #include <complex.h>
  17859. #endif
  17860. #ifdef HAVE_MATH_H
  17861. #include <math.h>
  17862. #endif
  17863. int (*ptr)() = (int (*)())lround;
  17864. int
  17865. main ()
  17866. {
  17867. return 0;
  17868. }
  17869. _ACEOF
  17870. if ac_fn_c_try_link "$LINENO"; then :
  17871. gcc_cv_math_func_lround=yes
  17872. else
  17873. gcc_cv_math_func_lround=no
  17874. fi
  17875. rm -f core conftest.err conftest.$ac_objext \
  17876. conftest$ac_exeext conftest.$ac_ext
  17877. fi
  17878. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
  17879. $as_echo "$gcc_cv_math_func_lround" >&6; }
  17880. if test $gcc_cv_math_func_lround = yes; then
  17881. cat >>confdefs.h <<_ACEOF
  17882. #define HAVE_LROUND 1
  17883. _ACEOF
  17884. fi
  17885. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
  17886. $as_echo_n "checking for lroundl... " >&6; }
  17887. if test "${gcc_cv_math_func_lroundl+set}" = set; then :
  17888. $as_echo_n "(cached) " >&6
  17889. else
  17890. if test x$gcc_no_link = xyes; then
  17891. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17892. fi
  17893. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17894. /* end confdefs.h. */
  17895. #ifdef HAVE_COMPLEX_H
  17896. #include <complex.h>
  17897. #endif
  17898. #ifdef HAVE_MATH_H
  17899. #include <math.h>
  17900. #endif
  17901. int (*ptr)() = (int (*)())lroundl;
  17902. int
  17903. main ()
  17904. {
  17905. return 0;
  17906. }
  17907. _ACEOF
  17908. if ac_fn_c_try_link "$LINENO"; then :
  17909. gcc_cv_math_func_lroundl=yes
  17910. else
  17911. gcc_cv_math_func_lroundl=no
  17912. fi
  17913. rm -f core conftest.err conftest.$ac_objext \
  17914. conftest$ac_exeext conftest.$ac_ext
  17915. fi
  17916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
  17917. $as_echo "$gcc_cv_math_func_lroundl" >&6; }
  17918. if test $gcc_cv_math_func_lroundl = yes; then
  17919. cat >>confdefs.h <<_ACEOF
  17920. #define HAVE_LROUNDL 1
  17921. _ACEOF
  17922. fi
  17923. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
  17924. $as_echo_n "checking for llroundf... " >&6; }
  17925. if test "${gcc_cv_math_func_llroundf+set}" = set; then :
  17926. $as_echo_n "(cached) " >&6
  17927. else
  17928. if test x$gcc_no_link = xyes; then
  17929. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17930. fi
  17931. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17932. /* end confdefs.h. */
  17933. #ifdef HAVE_COMPLEX_H
  17934. #include <complex.h>
  17935. #endif
  17936. #ifdef HAVE_MATH_H
  17937. #include <math.h>
  17938. #endif
  17939. int (*ptr)() = (int (*)())llroundf;
  17940. int
  17941. main ()
  17942. {
  17943. return 0;
  17944. }
  17945. _ACEOF
  17946. if ac_fn_c_try_link "$LINENO"; then :
  17947. gcc_cv_math_func_llroundf=yes
  17948. else
  17949. gcc_cv_math_func_llroundf=no
  17950. fi
  17951. rm -f core conftest.err conftest.$ac_objext \
  17952. conftest$ac_exeext conftest.$ac_ext
  17953. fi
  17954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
  17955. $as_echo "$gcc_cv_math_func_llroundf" >&6; }
  17956. if test $gcc_cv_math_func_llroundf = yes; then
  17957. cat >>confdefs.h <<_ACEOF
  17958. #define HAVE_LLROUNDF 1
  17959. _ACEOF
  17960. fi
  17961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
  17962. $as_echo_n "checking for llround... " >&6; }
  17963. if test "${gcc_cv_math_func_llround+set}" = set; then :
  17964. $as_echo_n "(cached) " >&6
  17965. else
  17966. if test x$gcc_no_link = xyes; then
  17967. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  17968. fi
  17969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17970. /* end confdefs.h. */
  17971. #ifdef HAVE_COMPLEX_H
  17972. #include <complex.h>
  17973. #endif
  17974. #ifdef HAVE_MATH_H
  17975. #include <math.h>
  17976. #endif
  17977. int (*ptr)() = (int (*)())llround;
  17978. int
  17979. main ()
  17980. {
  17981. return 0;
  17982. }
  17983. _ACEOF
  17984. if ac_fn_c_try_link "$LINENO"; then :
  17985. gcc_cv_math_func_llround=yes
  17986. else
  17987. gcc_cv_math_func_llround=no
  17988. fi
  17989. rm -f core conftest.err conftest.$ac_objext \
  17990. conftest$ac_exeext conftest.$ac_ext
  17991. fi
  17992. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
  17993. $as_echo "$gcc_cv_math_func_llround" >&6; }
  17994. if test $gcc_cv_math_func_llround = yes; then
  17995. cat >>confdefs.h <<_ACEOF
  17996. #define HAVE_LLROUND 1
  17997. _ACEOF
  17998. fi
  17999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
  18000. $as_echo_n "checking for llroundl... " >&6; }
  18001. if test "${gcc_cv_math_func_llroundl+set}" = set; then :
  18002. $as_echo_n "(cached) " >&6
  18003. else
  18004. if test x$gcc_no_link = xyes; then
  18005. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18006. fi
  18007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18008. /* end confdefs.h. */
  18009. #ifdef HAVE_COMPLEX_H
  18010. #include <complex.h>
  18011. #endif
  18012. #ifdef HAVE_MATH_H
  18013. #include <math.h>
  18014. #endif
  18015. int (*ptr)() = (int (*)())llroundl;
  18016. int
  18017. main ()
  18018. {
  18019. return 0;
  18020. }
  18021. _ACEOF
  18022. if ac_fn_c_try_link "$LINENO"; then :
  18023. gcc_cv_math_func_llroundl=yes
  18024. else
  18025. gcc_cv_math_func_llroundl=no
  18026. fi
  18027. rm -f core conftest.err conftest.$ac_objext \
  18028. conftest$ac_exeext conftest.$ac_ext
  18029. fi
  18030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
  18031. $as_echo "$gcc_cv_math_func_llroundl" >&6; }
  18032. if test $gcc_cv_math_func_llroundl = yes; then
  18033. cat >>confdefs.h <<_ACEOF
  18034. #define HAVE_LLROUNDL 1
  18035. _ACEOF
  18036. fi
  18037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
  18038. $as_echo_n "checking for scalbnf... " >&6; }
  18039. if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
  18040. $as_echo_n "(cached) " >&6
  18041. else
  18042. if test x$gcc_no_link = xyes; then
  18043. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18044. fi
  18045. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18046. /* end confdefs.h. */
  18047. #ifdef HAVE_COMPLEX_H
  18048. #include <complex.h>
  18049. #endif
  18050. #ifdef HAVE_MATH_H
  18051. #include <math.h>
  18052. #endif
  18053. int (*ptr)() = (int (*)())scalbnf;
  18054. int
  18055. main ()
  18056. {
  18057. return 0;
  18058. }
  18059. _ACEOF
  18060. if ac_fn_c_try_link "$LINENO"; then :
  18061. gcc_cv_math_func_scalbnf=yes
  18062. else
  18063. gcc_cv_math_func_scalbnf=no
  18064. fi
  18065. rm -f core conftest.err conftest.$ac_objext \
  18066. conftest$ac_exeext conftest.$ac_ext
  18067. fi
  18068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
  18069. $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
  18070. if test $gcc_cv_math_func_scalbnf = yes; then
  18071. cat >>confdefs.h <<_ACEOF
  18072. #define HAVE_SCALBNF 1
  18073. _ACEOF
  18074. fi
  18075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
  18076. $as_echo_n "checking for scalbn... " >&6; }
  18077. if test "${gcc_cv_math_func_scalbn+set}" = set; then :
  18078. $as_echo_n "(cached) " >&6
  18079. else
  18080. if test x$gcc_no_link = xyes; then
  18081. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18082. fi
  18083. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18084. /* end confdefs.h. */
  18085. #ifdef HAVE_COMPLEX_H
  18086. #include <complex.h>
  18087. #endif
  18088. #ifdef HAVE_MATH_H
  18089. #include <math.h>
  18090. #endif
  18091. int (*ptr)() = (int (*)())scalbn;
  18092. int
  18093. main ()
  18094. {
  18095. return 0;
  18096. }
  18097. _ACEOF
  18098. if ac_fn_c_try_link "$LINENO"; then :
  18099. gcc_cv_math_func_scalbn=yes
  18100. else
  18101. gcc_cv_math_func_scalbn=no
  18102. fi
  18103. rm -f core conftest.err conftest.$ac_objext \
  18104. conftest$ac_exeext conftest.$ac_ext
  18105. fi
  18106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
  18107. $as_echo "$gcc_cv_math_func_scalbn" >&6; }
  18108. if test $gcc_cv_math_func_scalbn = yes; then
  18109. cat >>confdefs.h <<_ACEOF
  18110. #define HAVE_SCALBN 1
  18111. _ACEOF
  18112. fi
  18113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
  18114. $as_echo_n "checking for scalbnl... " >&6; }
  18115. if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
  18116. $as_echo_n "(cached) " >&6
  18117. else
  18118. if test x$gcc_no_link = xyes; then
  18119. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18120. fi
  18121. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18122. /* end confdefs.h. */
  18123. #ifdef HAVE_COMPLEX_H
  18124. #include <complex.h>
  18125. #endif
  18126. #ifdef HAVE_MATH_H
  18127. #include <math.h>
  18128. #endif
  18129. int (*ptr)() = (int (*)())scalbnl;
  18130. int
  18131. main ()
  18132. {
  18133. return 0;
  18134. }
  18135. _ACEOF
  18136. if ac_fn_c_try_link "$LINENO"; then :
  18137. gcc_cv_math_func_scalbnl=yes
  18138. else
  18139. gcc_cv_math_func_scalbnl=no
  18140. fi
  18141. rm -f core conftest.err conftest.$ac_objext \
  18142. conftest$ac_exeext conftest.$ac_ext
  18143. fi
  18144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
  18145. $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
  18146. if test $gcc_cv_math_func_scalbnl = yes; then
  18147. cat >>confdefs.h <<_ACEOF
  18148. #define HAVE_SCALBNL 1
  18149. _ACEOF
  18150. fi
  18151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
  18152. $as_echo_n "checking for sinf... " >&6; }
  18153. if test "${gcc_cv_math_func_sinf+set}" = set; then :
  18154. $as_echo_n "(cached) " >&6
  18155. else
  18156. if test x$gcc_no_link = xyes; then
  18157. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18158. fi
  18159. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18160. /* end confdefs.h. */
  18161. #ifdef HAVE_COMPLEX_H
  18162. #include <complex.h>
  18163. #endif
  18164. #ifdef HAVE_MATH_H
  18165. #include <math.h>
  18166. #endif
  18167. int (*ptr)() = (int (*)())sinf;
  18168. int
  18169. main ()
  18170. {
  18171. return 0;
  18172. }
  18173. _ACEOF
  18174. if ac_fn_c_try_link "$LINENO"; then :
  18175. gcc_cv_math_func_sinf=yes
  18176. else
  18177. gcc_cv_math_func_sinf=no
  18178. fi
  18179. rm -f core conftest.err conftest.$ac_objext \
  18180. conftest$ac_exeext conftest.$ac_ext
  18181. fi
  18182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
  18183. $as_echo "$gcc_cv_math_func_sinf" >&6; }
  18184. if test $gcc_cv_math_func_sinf = yes; then
  18185. cat >>confdefs.h <<_ACEOF
  18186. #define HAVE_SINF 1
  18187. _ACEOF
  18188. fi
  18189. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
  18190. $as_echo_n "checking for sin... " >&6; }
  18191. if test "${gcc_cv_math_func_sin+set}" = set; then :
  18192. $as_echo_n "(cached) " >&6
  18193. else
  18194. if test x$gcc_no_link = xyes; then
  18195. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18196. fi
  18197. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18198. /* end confdefs.h. */
  18199. #ifdef HAVE_COMPLEX_H
  18200. #include <complex.h>
  18201. #endif
  18202. #ifdef HAVE_MATH_H
  18203. #include <math.h>
  18204. #endif
  18205. int (*ptr)() = (int (*)())sin;
  18206. int
  18207. main ()
  18208. {
  18209. return 0;
  18210. }
  18211. _ACEOF
  18212. if ac_fn_c_try_link "$LINENO"; then :
  18213. gcc_cv_math_func_sin=yes
  18214. else
  18215. gcc_cv_math_func_sin=no
  18216. fi
  18217. rm -f core conftest.err conftest.$ac_objext \
  18218. conftest$ac_exeext conftest.$ac_ext
  18219. fi
  18220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
  18221. $as_echo "$gcc_cv_math_func_sin" >&6; }
  18222. if test $gcc_cv_math_func_sin = yes; then
  18223. cat >>confdefs.h <<_ACEOF
  18224. #define HAVE_SIN 1
  18225. _ACEOF
  18226. fi
  18227. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
  18228. $as_echo_n "checking for sinl... " >&6; }
  18229. if test "${gcc_cv_math_func_sinl+set}" = set; then :
  18230. $as_echo_n "(cached) " >&6
  18231. else
  18232. if test x$gcc_no_link = xyes; then
  18233. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18234. fi
  18235. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18236. /* end confdefs.h. */
  18237. #ifdef HAVE_COMPLEX_H
  18238. #include <complex.h>
  18239. #endif
  18240. #ifdef HAVE_MATH_H
  18241. #include <math.h>
  18242. #endif
  18243. int (*ptr)() = (int (*)())sinl;
  18244. int
  18245. main ()
  18246. {
  18247. return 0;
  18248. }
  18249. _ACEOF
  18250. if ac_fn_c_try_link "$LINENO"; then :
  18251. gcc_cv_math_func_sinl=yes
  18252. else
  18253. gcc_cv_math_func_sinl=no
  18254. fi
  18255. rm -f core conftest.err conftest.$ac_objext \
  18256. conftest$ac_exeext conftest.$ac_ext
  18257. fi
  18258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
  18259. $as_echo "$gcc_cv_math_func_sinl" >&6; }
  18260. if test $gcc_cv_math_func_sinl = yes; then
  18261. cat >>confdefs.h <<_ACEOF
  18262. #define HAVE_SINL 1
  18263. _ACEOF
  18264. fi
  18265. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
  18266. $as_echo_n "checking for csinf... " >&6; }
  18267. if test "${gcc_cv_math_func_csinf+set}" = set; then :
  18268. $as_echo_n "(cached) " >&6
  18269. else
  18270. if test x$gcc_no_link = xyes; then
  18271. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18272. fi
  18273. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18274. /* end confdefs.h. */
  18275. #ifdef HAVE_COMPLEX_H
  18276. #include <complex.h>
  18277. #endif
  18278. #ifdef HAVE_MATH_H
  18279. #include <math.h>
  18280. #endif
  18281. int (*ptr)() = (int (*)())csinf;
  18282. int
  18283. main ()
  18284. {
  18285. return 0;
  18286. }
  18287. _ACEOF
  18288. if ac_fn_c_try_link "$LINENO"; then :
  18289. gcc_cv_math_func_csinf=yes
  18290. else
  18291. gcc_cv_math_func_csinf=no
  18292. fi
  18293. rm -f core conftest.err conftest.$ac_objext \
  18294. conftest$ac_exeext conftest.$ac_ext
  18295. fi
  18296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
  18297. $as_echo "$gcc_cv_math_func_csinf" >&6; }
  18298. if test $gcc_cv_math_func_csinf = yes; then
  18299. cat >>confdefs.h <<_ACEOF
  18300. #define HAVE_CSINF 1
  18301. _ACEOF
  18302. fi
  18303. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
  18304. $as_echo_n "checking for csin... " >&6; }
  18305. if test "${gcc_cv_math_func_csin+set}" = set; then :
  18306. $as_echo_n "(cached) " >&6
  18307. else
  18308. if test x$gcc_no_link = xyes; then
  18309. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18310. fi
  18311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18312. /* end confdefs.h. */
  18313. #ifdef HAVE_COMPLEX_H
  18314. #include <complex.h>
  18315. #endif
  18316. #ifdef HAVE_MATH_H
  18317. #include <math.h>
  18318. #endif
  18319. int (*ptr)() = (int (*)())csin;
  18320. int
  18321. main ()
  18322. {
  18323. return 0;
  18324. }
  18325. _ACEOF
  18326. if ac_fn_c_try_link "$LINENO"; then :
  18327. gcc_cv_math_func_csin=yes
  18328. else
  18329. gcc_cv_math_func_csin=no
  18330. fi
  18331. rm -f core conftest.err conftest.$ac_objext \
  18332. conftest$ac_exeext conftest.$ac_ext
  18333. fi
  18334. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
  18335. $as_echo "$gcc_cv_math_func_csin" >&6; }
  18336. if test $gcc_cv_math_func_csin = yes; then
  18337. cat >>confdefs.h <<_ACEOF
  18338. #define HAVE_CSIN 1
  18339. _ACEOF
  18340. fi
  18341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
  18342. $as_echo_n "checking for csinl... " >&6; }
  18343. if test "${gcc_cv_math_func_csinl+set}" = set; then :
  18344. $as_echo_n "(cached) " >&6
  18345. else
  18346. if test x$gcc_no_link = xyes; then
  18347. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18348. fi
  18349. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18350. /* end confdefs.h. */
  18351. #ifdef HAVE_COMPLEX_H
  18352. #include <complex.h>
  18353. #endif
  18354. #ifdef HAVE_MATH_H
  18355. #include <math.h>
  18356. #endif
  18357. int (*ptr)() = (int (*)())csinl;
  18358. int
  18359. main ()
  18360. {
  18361. return 0;
  18362. }
  18363. _ACEOF
  18364. if ac_fn_c_try_link "$LINENO"; then :
  18365. gcc_cv_math_func_csinl=yes
  18366. else
  18367. gcc_cv_math_func_csinl=no
  18368. fi
  18369. rm -f core conftest.err conftest.$ac_objext \
  18370. conftest$ac_exeext conftest.$ac_ext
  18371. fi
  18372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
  18373. $as_echo "$gcc_cv_math_func_csinl" >&6; }
  18374. if test $gcc_cv_math_func_csinl = yes; then
  18375. cat >>confdefs.h <<_ACEOF
  18376. #define HAVE_CSINL 1
  18377. _ACEOF
  18378. fi
  18379. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
  18380. $as_echo_n "checking for sinhf... " >&6; }
  18381. if test "${gcc_cv_math_func_sinhf+set}" = set; then :
  18382. $as_echo_n "(cached) " >&6
  18383. else
  18384. if test x$gcc_no_link = xyes; then
  18385. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18386. fi
  18387. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18388. /* end confdefs.h. */
  18389. #ifdef HAVE_COMPLEX_H
  18390. #include <complex.h>
  18391. #endif
  18392. #ifdef HAVE_MATH_H
  18393. #include <math.h>
  18394. #endif
  18395. int (*ptr)() = (int (*)())sinhf;
  18396. int
  18397. main ()
  18398. {
  18399. return 0;
  18400. }
  18401. _ACEOF
  18402. if ac_fn_c_try_link "$LINENO"; then :
  18403. gcc_cv_math_func_sinhf=yes
  18404. else
  18405. gcc_cv_math_func_sinhf=no
  18406. fi
  18407. rm -f core conftest.err conftest.$ac_objext \
  18408. conftest$ac_exeext conftest.$ac_ext
  18409. fi
  18410. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
  18411. $as_echo "$gcc_cv_math_func_sinhf" >&6; }
  18412. if test $gcc_cv_math_func_sinhf = yes; then
  18413. cat >>confdefs.h <<_ACEOF
  18414. #define HAVE_SINHF 1
  18415. _ACEOF
  18416. fi
  18417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
  18418. $as_echo_n "checking for sinh... " >&6; }
  18419. if test "${gcc_cv_math_func_sinh+set}" = set; then :
  18420. $as_echo_n "(cached) " >&6
  18421. else
  18422. if test x$gcc_no_link = xyes; then
  18423. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18424. fi
  18425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18426. /* end confdefs.h. */
  18427. #ifdef HAVE_COMPLEX_H
  18428. #include <complex.h>
  18429. #endif
  18430. #ifdef HAVE_MATH_H
  18431. #include <math.h>
  18432. #endif
  18433. int (*ptr)() = (int (*)())sinh;
  18434. int
  18435. main ()
  18436. {
  18437. return 0;
  18438. }
  18439. _ACEOF
  18440. if ac_fn_c_try_link "$LINENO"; then :
  18441. gcc_cv_math_func_sinh=yes
  18442. else
  18443. gcc_cv_math_func_sinh=no
  18444. fi
  18445. rm -f core conftest.err conftest.$ac_objext \
  18446. conftest$ac_exeext conftest.$ac_ext
  18447. fi
  18448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
  18449. $as_echo "$gcc_cv_math_func_sinh" >&6; }
  18450. if test $gcc_cv_math_func_sinh = yes; then
  18451. cat >>confdefs.h <<_ACEOF
  18452. #define HAVE_SINH 1
  18453. _ACEOF
  18454. fi
  18455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
  18456. $as_echo_n "checking for sinhl... " >&6; }
  18457. if test "${gcc_cv_math_func_sinhl+set}" = set; then :
  18458. $as_echo_n "(cached) " >&6
  18459. else
  18460. if test x$gcc_no_link = xyes; then
  18461. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18462. fi
  18463. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18464. /* end confdefs.h. */
  18465. #ifdef HAVE_COMPLEX_H
  18466. #include <complex.h>
  18467. #endif
  18468. #ifdef HAVE_MATH_H
  18469. #include <math.h>
  18470. #endif
  18471. int (*ptr)() = (int (*)())sinhl;
  18472. int
  18473. main ()
  18474. {
  18475. return 0;
  18476. }
  18477. _ACEOF
  18478. if ac_fn_c_try_link "$LINENO"; then :
  18479. gcc_cv_math_func_sinhl=yes
  18480. else
  18481. gcc_cv_math_func_sinhl=no
  18482. fi
  18483. rm -f core conftest.err conftest.$ac_objext \
  18484. conftest$ac_exeext conftest.$ac_ext
  18485. fi
  18486. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
  18487. $as_echo "$gcc_cv_math_func_sinhl" >&6; }
  18488. if test $gcc_cv_math_func_sinhl = yes; then
  18489. cat >>confdefs.h <<_ACEOF
  18490. #define HAVE_SINHL 1
  18491. _ACEOF
  18492. fi
  18493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
  18494. $as_echo_n "checking for csinhf... " >&6; }
  18495. if test "${gcc_cv_math_func_csinhf+set}" = set; then :
  18496. $as_echo_n "(cached) " >&6
  18497. else
  18498. if test x$gcc_no_link = xyes; then
  18499. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18500. fi
  18501. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18502. /* end confdefs.h. */
  18503. #ifdef HAVE_COMPLEX_H
  18504. #include <complex.h>
  18505. #endif
  18506. #ifdef HAVE_MATH_H
  18507. #include <math.h>
  18508. #endif
  18509. int (*ptr)() = (int (*)())csinhf;
  18510. int
  18511. main ()
  18512. {
  18513. return 0;
  18514. }
  18515. _ACEOF
  18516. if ac_fn_c_try_link "$LINENO"; then :
  18517. gcc_cv_math_func_csinhf=yes
  18518. else
  18519. gcc_cv_math_func_csinhf=no
  18520. fi
  18521. rm -f core conftest.err conftest.$ac_objext \
  18522. conftest$ac_exeext conftest.$ac_ext
  18523. fi
  18524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
  18525. $as_echo "$gcc_cv_math_func_csinhf" >&6; }
  18526. if test $gcc_cv_math_func_csinhf = yes; then
  18527. cat >>confdefs.h <<_ACEOF
  18528. #define HAVE_CSINHF 1
  18529. _ACEOF
  18530. fi
  18531. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
  18532. $as_echo_n "checking for csinh... " >&6; }
  18533. if test "${gcc_cv_math_func_csinh+set}" = set; then :
  18534. $as_echo_n "(cached) " >&6
  18535. else
  18536. if test x$gcc_no_link = xyes; then
  18537. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18538. fi
  18539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18540. /* end confdefs.h. */
  18541. #ifdef HAVE_COMPLEX_H
  18542. #include <complex.h>
  18543. #endif
  18544. #ifdef HAVE_MATH_H
  18545. #include <math.h>
  18546. #endif
  18547. int (*ptr)() = (int (*)())csinh;
  18548. int
  18549. main ()
  18550. {
  18551. return 0;
  18552. }
  18553. _ACEOF
  18554. if ac_fn_c_try_link "$LINENO"; then :
  18555. gcc_cv_math_func_csinh=yes
  18556. else
  18557. gcc_cv_math_func_csinh=no
  18558. fi
  18559. rm -f core conftest.err conftest.$ac_objext \
  18560. conftest$ac_exeext conftest.$ac_ext
  18561. fi
  18562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
  18563. $as_echo "$gcc_cv_math_func_csinh" >&6; }
  18564. if test $gcc_cv_math_func_csinh = yes; then
  18565. cat >>confdefs.h <<_ACEOF
  18566. #define HAVE_CSINH 1
  18567. _ACEOF
  18568. fi
  18569. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
  18570. $as_echo_n "checking for csinhl... " >&6; }
  18571. if test "${gcc_cv_math_func_csinhl+set}" = set; then :
  18572. $as_echo_n "(cached) " >&6
  18573. else
  18574. if test x$gcc_no_link = xyes; then
  18575. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18576. fi
  18577. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18578. /* end confdefs.h. */
  18579. #ifdef HAVE_COMPLEX_H
  18580. #include <complex.h>
  18581. #endif
  18582. #ifdef HAVE_MATH_H
  18583. #include <math.h>
  18584. #endif
  18585. int (*ptr)() = (int (*)())csinhl;
  18586. int
  18587. main ()
  18588. {
  18589. return 0;
  18590. }
  18591. _ACEOF
  18592. if ac_fn_c_try_link "$LINENO"; then :
  18593. gcc_cv_math_func_csinhl=yes
  18594. else
  18595. gcc_cv_math_func_csinhl=no
  18596. fi
  18597. rm -f core conftest.err conftest.$ac_objext \
  18598. conftest$ac_exeext conftest.$ac_ext
  18599. fi
  18600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
  18601. $as_echo "$gcc_cv_math_func_csinhl" >&6; }
  18602. if test $gcc_cv_math_func_csinhl = yes; then
  18603. cat >>confdefs.h <<_ACEOF
  18604. #define HAVE_CSINHL 1
  18605. _ACEOF
  18606. fi
  18607. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
  18608. $as_echo_n "checking for sqrtf... " >&6; }
  18609. if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
  18610. $as_echo_n "(cached) " >&6
  18611. else
  18612. if test x$gcc_no_link = xyes; then
  18613. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18614. fi
  18615. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18616. /* end confdefs.h. */
  18617. #ifdef HAVE_COMPLEX_H
  18618. #include <complex.h>
  18619. #endif
  18620. #ifdef HAVE_MATH_H
  18621. #include <math.h>
  18622. #endif
  18623. int (*ptr)() = (int (*)())sqrtf;
  18624. int
  18625. main ()
  18626. {
  18627. return 0;
  18628. }
  18629. _ACEOF
  18630. if ac_fn_c_try_link "$LINENO"; then :
  18631. gcc_cv_math_func_sqrtf=yes
  18632. else
  18633. gcc_cv_math_func_sqrtf=no
  18634. fi
  18635. rm -f core conftest.err conftest.$ac_objext \
  18636. conftest$ac_exeext conftest.$ac_ext
  18637. fi
  18638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
  18639. $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
  18640. if test $gcc_cv_math_func_sqrtf = yes; then
  18641. cat >>confdefs.h <<_ACEOF
  18642. #define HAVE_SQRTF 1
  18643. _ACEOF
  18644. fi
  18645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
  18646. $as_echo_n "checking for sqrt... " >&6; }
  18647. if test "${gcc_cv_math_func_sqrt+set}" = set; then :
  18648. $as_echo_n "(cached) " >&6
  18649. else
  18650. if test x$gcc_no_link = xyes; then
  18651. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18652. fi
  18653. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18654. /* end confdefs.h. */
  18655. #ifdef HAVE_COMPLEX_H
  18656. #include <complex.h>
  18657. #endif
  18658. #ifdef HAVE_MATH_H
  18659. #include <math.h>
  18660. #endif
  18661. int (*ptr)() = (int (*)())sqrt;
  18662. int
  18663. main ()
  18664. {
  18665. return 0;
  18666. }
  18667. _ACEOF
  18668. if ac_fn_c_try_link "$LINENO"; then :
  18669. gcc_cv_math_func_sqrt=yes
  18670. else
  18671. gcc_cv_math_func_sqrt=no
  18672. fi
  18673. rm -f core conftest.err conftest.$ac_objext \
  18674. conftest$ac_exeext conftest.$ac_ext
  18675. fi
  18676. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
  18677. $as_echo "$gcc_cv_math_func_sqrt" >&6; }
  18678. if test $gcc_cv_math_func_sqrt = yes; then
  18679. cat >>confdefs.h <<_ACEOF
  18680. #define HAVE_SQRT 1
  18681. _ACEOF
  18682. fi
  18683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
  18684. $as_echo_n "checking for sqrtl... " >&6; }
  18685. if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
  18686. $as_echo_n "(cached) " >&6
  18687. else
  18688. if test x$gcc_no_link = xyes; then
  18689. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18690. fi
  18691. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18692. /* end confdefs.h. */
  18693. #ifdef HAVE_COMPLEX_H
  18694. #include <complex.h>
  18695. #endif
  18696. #ifdef HAVE_MATH_H
  18697. #include <math.h>
  18698. #endif
  18699. int (*ptr)() = (int (*)())sqrtl;
  18700. int
  18701. main ()
  18702. {
  18703. return 0;
  18704. }
  18705. _ACEOF
  18706. if ac_fn_c_try_link "$LINENO"; then :
  18707. gcc_cv_math_func_sqrtl=yes
  18708. else
  18709. gcc_cv_math_func_sqrtl=no
  18710. fi
  18711. rm -f core conftest.err conftest.$ac_objext \
  18712. conftest$ac_exeext conftest.$ac_ext
  18713. fi
  18714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
  18715. $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
  18716. if test $gcc_cv_math_func_sqrtl = yes; then
  18717. cat >>confdefs.h <<_ACEOF
  18718. #define HAVE_SQRTL 1
  18719. _ACEOF
  18720. fi
  18721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
  18722. $as_echo_n "checking for csqrtf... " >&6; }
  18723. if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
  18724. $as_echo_n "(cached) " >&6
  18725. else
  18726. if test x$gcc_no_link = xyes; then
  18727. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18728. fi
  18729. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18730. /* end confdefs.h. */
  18731. #ifdef HAVE_COMPLEX_H
  18732. #include <complex.h>
  18733. #endif
  18734. #ifdef HAVE_MATH_H
  18735. #include <math.h>
  18736. #endif
  18737. int (*ptr)() = (int (*)())csqrtf;
  18738. int
  18739. main ()
  18740. {
  18741. return 0;
  18742. }
  18743. _ACEOF
  18744. if ac_fn_c_try_link "$LINENO"; then :
  18745. gcc_cv_math_func_csqrtf=yes
  18746. else
  18747. gcc_cv_math_func_csqrtf=no
  18748. fi
  18749. rm -f core conftest.err conftest.$ac_objext \
  18750. conftest$ac_exeext conftest.$ac_ext
  18751. fi
  18752. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
  18753. $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
  18754. if test $gcc_cv_math_func_csqrtf = yes; then
  18755. cat >>confdefs.h <<_ACEOF
  18756. #define HAVE_CSQRTF 1
  18757. _ACEOF
  18758. fi
  18759. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
  18760. $as_echo_n "checking for csqrt... " >&6; }
  18761. if test "${gcc_cv_math_func_csqrt+set}" = set; then :
  18762. $as_echo_n "(cached) " >&6
  18763. else
  18764. if test x$gcc_no_link = xyes; then
  18765. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18766. fi
  18767. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18768. /* end confdefs.h. */
  18769. #ifdef HAVE_COMPLEX_H
  18770. #include <complex.h>
  18771. #endif
  18772. #ifdef HAVE_MATH_H
  18773. #include <math.h>
  18774. #endif
  18775. int (*ptr)() = (int (*)())csqrt;
  18776. int
  18777. main ()
  18778. {
  18779. return 0;
  18780. }
  18781. _ACEOF
  18782. if ac_fn_c_try_link "$LINENO"; then :
  18783. gcc_cv_math_func_csqrt=yes
  18784. else
  18785. gcc_cv_math_func_csqrt=no
  18786. fi
  18787. rm -f core conftest.err conftest.$ac_objext \
  18788. conftest$ac_exeext conftest.$ac_ext
  18789. fi
  18790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
  18791. $as_echo "$gcc_cv_math_func_csqrt" >&6; }
  18792. if test $gcc_cv_math_func_csqrt = yes; then
  18793. cat >>confdefs.h <<_ACEOF
  18794. #define HAVE_CSQRT 1
  18795. _ACEOF
  18796. fi
  18797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
  18798. $as_echo_n "checking for csqrtl... " >&6; }
  18799. if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
  18800. $as_echo_n "(cached) " >&6
  18801. else
  18802. if test x$gcc_no_link = xyes; then
  18803. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18804. fi
  18805. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18806. /* end confdefs.h. */
  18807. #ifdef HAVE_COMPLEX_H
  18808. #include <complex.h>
  18809. #endif
  18810. #ifdef HAVE_MATH_H
  18811. #include <math.h>
  18812. #endif
  18813. int (*ptr)() = (int (*)())csqrtl;
  18814. int
  18815. main ()
  18816. {
  18817. return 0;
  18818. }
  18819. _ACEOF
  18820. if ac_fn_c_try_link "$LINENO"; then :
  18821. gcc_cv_math_func_csqrtl=yes
  18822. else
  18823. gcc_cv_math_func_csqrtl=no
  18824. fi
  18825. rm -f core conftest.err conftest.$ac_objext \
  18826. conftest$ac_exeext conftest.$ac_ext
  18827. fi
  18828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
  18829. $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
  18830. if test $gcc_cv_math_func_csqrtl = yes; then
  18831. cat >>confdefs.h <<_ACEOF
  18832. #define HAVE_CSQRTL 1
  18833. _ACEOF
  18834. fi
  18835. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
  18836. $as_echo_n "checking for tanf... " >&6; }
  18837. if test "${gcc_cv_math_func_tanf+set}" = set; then :
  18838. $as_echo_n "(cached) " >&6
  18839. else
  18840. if test x$gcc_no_link = xyes; then
  18841. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18842. fi
  18843. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18844. /* end confdefs.h. */
  18845. #ifdef HAVE_COMPLEX_H
  18846. #include <complex.h>
  18847. #endif
  18848. #ifdef HAVE_MATH_H
  18849. #include <math.h>
  18850. #endif
  18851. int (*ptr)() = (int (*)())tanf;
  18852. int
  18853. main ()
  18854. {
  18855. return 0;
  18856. }
  18857. _ACEOF
  18858. if ac_fn_c_try_link "$LINENO"; then :
  18859. gcc_cv_math_func_tanf=yes
  18860. else
  18861. gcc_cv_math_func_tanf=no
  18862. fi
  18863. rm -f core conftest.err conftest.$ac_objext \
  18864. conftest$ac_exeext conftest.$ac_ext
  18865. fi
  18866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
  18867. $as_echo "$gcc_cv_math_func_tanf" >&6; }
  18868. if test $gcc_cv_math_func_tanf = yes; then
  18869. cat >>confdefs.h <<_ACEOF
  18870. #define HAVE_TANF 1
  18871. _ACEOF
  18872. fi
  18873. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
  18874. $as_echo_n "checking for tan... " >&6; }
  18875. if test "${gcc_cv_math_func_tan+set}" = set; then :
  18876. $as_echo_n "(cached) " >&6
  18877. else
  18878. if test x$gcc_no_link = xyes; then
  18879. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18880. fi
  18881. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18882. /* end confdefs.h. */
  18883. #ifdef HAVE_COMPLEX_H
  18884. #include <complex.h>
  18885. #endif
  18886. #ifdef HAVE_MATH_H
  18887. #include <math.h>
  18888. #endif
  18889. int (*ptr)() = (int (*)())tan;
  18890. int
  18891. main ()
  18892. {
  18893. return 0;
  18894. }
  18895. _ACEOF
  18896. if ac_fn_c_try_link "$LINENO"; then :
  18897. gcc_cv_math_func_tan=yes
  18898. else
  18899. gcc_cv_math_func_tan=no
  18900. fi
  18901. rm -f core conftest.err conftest.$ac_objext \
  18902. conftest$ac_exeext conftest.$ac_ext
  18903. fi
  18904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
  18905. $as_echo "$gcc_cv_math_func_tan" >&6; }
  18906. if test $gcc_cv_math_func_tan = yes; then
  18907. cat >>confdefs.h <<_ACEOF
  18908. #define HAVE_TAN 1
  18909. _ACEOF
  18910. fi
  18911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
  18912. $as_echo_n "checking for tanl... " >&6; }
  18913. if test "${gcc_cv_math_func_tanl+set}" = set; then :
  18914. $as_echo_n "(cached) " >&6
  18915. else
  18916. if test x$gcc_no_link = xyes; then
  18917. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18918. fi
  18919. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18920. /* end confdefs.h. */
  18921. #ifdef HAVE_COMPLEX_H
  18922. #include <complex.h>
  18923. #endif
  18924. #ifdef HAVE_MATH_H
  18925. #include <math.h>
  18926. #endif
  18927. int (*ptr)() = (int (*)())tanl;
  18928. int
  18929. main ()
  18930. {
  18931. return 0;
  18932. }
  18933. _ACEOF
  18934. if ac_fn_c_try_link "$LINENO"; then :
  18935. gcc_cv_math_func_tanl=yes
  18936. else
  18937. gcc_cv_math_func_tanl=no
  18938. fi
  18939. rm -f core conftest.err conftest.$ac_objext \
  18940. conftest$ac_exeext conftest.$ac_ext
  18941. fi
  18942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
  18943. $as_echo "$gcc_cv_math_func_tanl" >&6; }
  18944. if test $gcc_cv_math_func_tanl = yes; then
  18945. cat >>confdefs.h <<_ACEOF
  18946. #define HAVE_TANL 1
  18947. _ACEOF
  18948. fi
  18949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
  18950. $as_echo_n "checking for ctanf... " >&6; }
  18951. if test "${gcc_cv_math_func_ctanf+set}" = set; then :
  18952. $as_echo_n "(cached) " >&6
  18953. else
  18954. if test x$gcc_no_link = xyes; then
  18955. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18956. fi
  18957. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18958. /* end confdefs.h. */
  18959. #ifdef HAVE_COMPLEX_H
  18960. #include <complex.h>
  18961. #endif
  18962. #ifdef HAVE_MATH_H
  18963. #include <math.h>
  18964. #endif
  18965. int (*ptr)() = (int (*)())ctanf;
  18966. int
  18967. main ()
  18968. {
  18969. return 0;
  18970. }
  18971. _ACEOF
  18972. if ac_fn_c_try_link "$LINENO"; then :
  18973. gcc_cv_math_func_ctanf=yes
  18974. else
  18975. gcc_cv_math_func_ctanf=no
  18976. fi
  18977. rm -f core conftest.err conftest.$ac_objext \
  18978. conftest$ac_exeext conftest.$ac_ext
  18979. fi
  18980. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
  18981. $as_echo "$gcc_cv_math_func_ctanf" >&6; }
  18982. if test $gcc_cv_math_func_ctanf = yes; then
  18983. cat >>confdefs.h <<_ACEOF
  18984. #define HAVE_CTANF 1
  18985. _ACEOF
  18986. fi
  18987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
  18988. $as_echo_n "checking for ctan... " >&6; }
  18989. if test "${gcc_cv_math_func_ctan+set}" = set; then :
  18990. $as_echo_n "(cached) " >&6
  18991. else
  18992. if test x$gcc_no_link = xyes; then
  18993. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  18994. fi
  18995. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18996. /* end confdefs.h. */
  18997. #ifdef HAVE_COMPLEX_H
  18998. #include <complex.h>
  18999. #endif
  19000. #ifdef HAVE_MATH_H
  19001. #include <math.h>
  19002. #endif
  19003. int (*ptr)() = (int (*)())ctan;
  19004. int
  19005. main ()
  19006. {
  19007. return 0;
  19008. }
  19009. _ACEOF
  19010. if ac_fn_c_try_link "$LINENO"; then :
  19011. gcc_cv_math_func_ctan=yes
  19012. else
  19013. gcc_cv_math_func_ctan=no
  19014. fi
  19015. rm -f core conftest.err conftest.$ac_objext \
  19016. conftest$ac_exeext conftest.$ac_ext
  19017. fi
  19018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
  19019. $as_echo "$gcc_cv_math_func_ctan" >&6; }
  19020. if test $gcc_cv_math_func_ctan = yes; then
  19021. cat >>confdefs.h <<_ACEOF
  19022. #define HAVE_CTAN 1
  19023. _ACEOF
  19024. fi
  19025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
  19026. $as_echo_n "checking for ctanl... " >&6; }
  19027. if test "${gcc_cv_math_func_ctanl+set}" = set; then :
  19028. $as_echo_n "(cached) " >&6
  19029. else
  19030. if test x$gcc_no_link = xyes; then
  19031. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19032. fi
  19033. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19034. /* end confdefs.h. */
  19035. #ifdef HAVE_COMPLEX_H
  19036. #include <complex.h>
  19037. #endif
  19038. #ifdef HAVE_MATH_H
  19039. #include <math.h>
  19040. #endif
  19041. int (*ptr)() = (int (*)())ctanl;
  19042. int
  19043. main ()
  19044. {
  19045. return 0;
  19046. }
  19047. _ACEOF
  19048. if ac_fn_c_try_link "$LINENO"; then :
  19049. gcc_cv_math_func_ctanl=yes
  19050. else
  19051. gcc_cv_math_func_ctanl=no
  19052. fi
  19053. rm -f core conftest.err conftest.$ac_objext \
  19054. conftest$ac_exeext conftest.$ac_ext
  19055. fi
  19056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
  19057. $as_echo "$gcc_cv_math_func_ctanl" >&6; }
  19058. if test $gcc_cv_math_func_ctanl = yes; then
  19059. cat >>confdefs.h <<_ACEOF
  19060. #define HAVE_CTANL 1
  19061. _ACEOF
  19062. fi
  19063. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
  19064. $as_echo_n "checking for tanhf... " >&6; }
  19065. if test "${gcc_cv_math_func_tanhf+set}" = set; then :
  19066. $as_echo_n "(cached) " >&6
  19067. else
  19068. if test x$gcc_no_link = xyes; then
  19069. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19070. fi
  19071. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19072. /* end confdefs.h. */
  19073. #ifdef HAVE_COMPLEX_H
  19074. #include <complex.h>
  19075. #endif
  19076. #ifdef HAVE_MATH_H
  19077. #include <math.h>
  19078. #endif
  19079. int (*ptr)() = (int (*)())tanhf;
  19080. int
  19081. main ()
  19082. {
  19083. return 0;
  19084. }
  19085. _ACEOF
  19086. if ac_fn_c_try_link "$LINENO"; then :
  19087. gcc_cv_math_func_tanhf=yes
  19088. else
  19089. gcc_cv_math_func_tanhf=no
  19090. fi
  19091. rm -f core conftest.err conftest.$ac_objext \
  19092. conftest$ac_exeext conftest.$ac_ext
  19093. fi
  19094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
  19095. $as_echo "$gcc_cv_math_func_tanhf" >&6; }
  19096. if test $gcc_cv_math_func_tanhf = yes; then
  19097. cat >>confdefs.h <<_ACEOF
  19098. #define HAVE_TANHF 1
  19099. _ACEOF
  19100. fi
  19101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
  19102. $as_echo_n "checking for tanh... " >&6; }
  19103. if test "${gcc_cv_math_func_tanh+set}" = set; then :
  19104. $as_echo_n "(cached) " >&6
  19105. else
  19106. if test x$gcc_no_link = xyes; then
  19107. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19108. fi
  19109. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19110. /* end confdefs.h. */
  19111. #ifdef HAVE_COMPLEX_H
  19112. #include <complex.h>
  19113. #endif
  19114. #ifdef HAVE_MATH_H
  19115. #include <math.h>
  19116. #endif
  19117. int (*ptr)() = (int (*)())tanh;
  19118. int
  19119. main ()
  19120. {
  19121. return 0;
  19122. }
  19123. _ACEOF
  19124. if ac_fn_c_try_link "$LINENO"; then :
  19125. gcc_cv_math_func_tanh=yes
  19126. else
  19127. gcc_cv_math_func_tanh=no
  19128. fi
  19129. rm -f core conftest.err conftest.$ac_objext \
  19130. conftest$ac_exeext conftest.$ac_ext
  19131. fi
  19132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
  19133. $as_echo "$gcc_cv_math_func_tanh" >&6; }
  19134. if test $gcc_cv_math_func_tanh = yes; then
  19135. cat >>confdefs.h <<_ACEOF
  19136. #define HAVE_TANH 1
  19137. _ACEOF
  19138. fi
  19139. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
  19140. $as_echo_n "checking for tanhl... " >&6; }
  19141. if test "${gcc_cv_math_func_tanhl+set}" = set; then :
  19142. $as_echo_n "(cached) " >&6
  19143. else
  19144. if test x$gcc_no_link = xyes; then
  19145. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19146. fi
  19147. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19148. /* end confdefs.h. */
  19149. #ifdef HAVE_COMPLEX_H
  19150. #include <complex.h>
  19151. #endif
  19152. #ifdef HAVE_MATH_H
  19153. #include <math.h>
  19154. #endif
  19155. int (*ptr)() = (int (*)())tanhl;
  19156. int
  19157. main ()
  19158. {
  19159. return 0;
  19160. }
  19161. _ACEOF
  19162. if ac_fn_c_try_link "$LINENO"; then :
  19163. gcc_cv_math_func_tanhl=yes
  19164. else
  19165. gcc_cv_math_func_tanhl=no
  19166. fi
  19167. rm -f core conftest.err conftest.$ac_objext \
  19168. conftest$ac_exeext conftest.$ac_ext
  19169. fi
  19170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
  19171. $as_echo "$gcc_cv_math_func_tanhl" >&6; }
  19172. if test $gcc_cv_math_func_tanhl = yes; then
  19173. cat >>confdefs.h <<_ACEOF
  19174. #define HAVE_TANHL 1
  19175. _ACEOF
  19176. fi
  19177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
  19178. $as_echo_n "checking for ctanhf... " >&6; }
  19179. if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
  19180. $as_echo_n "(cached) " >&6
  19181. else
  19182. if test x$gcc_no_link = xyes; then
  19183. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19184. fi
  19185. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19186. /* end confdefs.h. */
  19187. #ifdef HAVE_COMPLEX_H
  19188. #include <complex.h>
  19189. #endif
  19190. #ifdef HAVE_MATH_H
  19191. #include <math.h>
  19192. #endif
  19193. int (*ptr)() = (int (*)())ctanhf;
  19194. int
  19195. main ()
  19196. {
  19197. return 0;
  19198. }
  19199. _ACEOF
  19200. if ac_fn_c_try_link "$LINENO"; then :
  19201. gcc_cv_math_func_ctanhf=yes
  19202. else
  19203. gcc_cv_math_func_ctanhf=no
  19204. fi
  19205. rm -f core conftest.err conftest.$ac_objext \
  19206. conftest$ac_exeext conftest.$ac_ext
  19207. fi
  19208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
  19209. $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
  19210. if test $gcc_cv_math_func_ctanhf = yes; then
  19211. cat >>confdefs.h <<_ACEOF
  19212. #define HAVE_CTANHF 1
  19213. _ACEOF
  19214. fi
  19215. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
  19216. $as_echo_n "checking for ctanh... " >&6; }
  19217. if test "${gcc_cv_math_func_ctanh+set}" = set; then :
  19218. $as_echo_n "(cached) " >&6
  19219. else
  19220. if test x$gcc_no_link = xyes; then
  19221. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19222. fi
  19223. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19224. /* end confdefs.h. */
  19225. #ifdef HAVE_COMPLEX_H
  19226. #include <complex.h>
  19227. #endif
  19228. #ifdef HAVE_MATH_H
  19229. #include <math.h>
  19230. #endif
  19231. int (*ptr)() = (int (*)())ctanh;
  19232. int
  19233. main ()
  19234. {
  19235. return 0;
  19236. }
  19237. _ACEOF
  19238. if ac_fn_c_try_link "$LINENO"; then :
  19239. gcc_cv_math_func_ctanh=yes
  19240. else
  19241. gcc_cv_math_func_ctanh=no
  19242. fi
  19243. rm -f core conftest.err conftest.$ac_objext \
  19244. conftest$ac_exeext conftest.$ac_ext
  19245. fi
  19246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
  19247. $as_echo "$gcc_cv_math_func_ctanh" >&6; }
  19248. if test $gcc_cv_math_func_ctanh = yes; then
  19249. cat >>confdefs.h <<_ACEOF
  19250. #define HAVE_CTANH 1
  19251. _ACEOF
  19252. fi
  19253. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
  19254. $as_echo_n "checking for ctanhl... " >&6; }
  19255. if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
  19256. $as_echo_n "(cached) " >&6
  19257. else
  19258. if test x$gcc_no_link = xyes; then
  19259. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19260. fi
  19261. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19262. /* end confdefs.h. */
  19263. #ifdef HAVE_COMPLEX_H
  19264. #include <complex.h>
  19265. #endif
  19266. #ifdef HAVE_MATH_H
  19267. #include <math.h>
  19268. #endif
  19269. int (*ptr)() = (int (*)())ctanhl;
  19270. int
  19271. main ()
  19272. {
  19273. return 0;
  19274. }
  19275. _ACEOF
  19276. if ac_fn_c_try_link "$LINENO"; then :
  19277. gcc_cv_math_func_ctanhl=yes
  19278. else
  19279. gcc_cv_math_func_ctanhl=no
  19280. fi
  19281. rm -f core conftest.err conftest.$ac_objext \
  19282. conftest$ac_exeext conftest.$ac_ext
  19283. fi
  19284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
  19285. $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
  19286. if test $gcc_cv_math_func_ctanhl = yes; then
  19287. cat >>confdefs.h <<_ACEOF
  19288. #define HAVE_CTANHL 1
  19289. _ACEOF
  19290. fi
  19291. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
  19292. $as_echo_n "checking for truncf... " >&6; }
  19293. if test "${gcc_cv_math_func_truncf+set}" = set; then :
  19294. $as_echo_n "(cached) " >&6
  19295. else
  19296. if test x$gcc_no_link = xyes; then
  19297. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19298. fi
  19299. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19300. /* end confdefs.h. */
  19301. #ifdef HAVE_COMPLEX_H
  19302. #include <complex.h>
  19303. #endif
  19304. #ifdef HAVE_MATH_H
  19305. #include <math.h>
  19306. #endif
  19307. int (*ptr)() = (int (*)())truncf;
  19308. int
  19309. main ()
  19310. {
  19311. return 0;
  19312. }
  19313. _ACEOF
  19314. if ac_fn_c_try_link "$LINENO"; then :
  19315. gcc_cv_math_func_truncf=yes
  19316. else
  19317. gcc_cv_math_func_truncf=no
  19318. fi
  19319. rm -f core conftest.err conftest.$ac_objext \
  19320. conftest$ac_exeext conftest.$ac_ext
  19321. fi
  19322. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
  19323. $as_echo "$gcc_cv_math_func_truncf" >&6; }
  19324. if test $gcc_cv_math_func_truncf = yes; then
  19325. cat >>confdefs.h <<_ACEOF
  19326. #define HAVE_TRUNCF 1
  19327. _ACEOF
  19328. fi
  19329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
  19330. $as_echo_n "checking for trunc... " >&6; }
  19331. if test "${gcc_cv_math_func_trunc+set}" = set; then :
  19332. $as_echo_n "(cached) " >&6
  19333. else
  19334. if test x$gcc_no_link = xyes; then
  19335. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19336. fi
  19337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19338. /* end confdefs.h. */
  19339. #ifdef HAVE_COMPLEX_H
  19340. #include <complex.h>
  19341. #endif
  19342. #ifdef HAVE_MATH_H
  19343. #include <math.h>
  19344. #endif
  19345. int (*ptr)() = (int (*)())trunc;
  19346. int
  19347. main ()
  19348. {
  19349. return 0;
  19350. }
  19351. _ACEOF
  19352. if ac_fn_c_try_link "$LINENO"; then :
  19353. gcc_cv_math_func_trunc=yes
  19354. else
  19355. gcc_cv_math_func_trunc=no
  19356. fi
  19357. rm -f core conftest.err conftest.$ac_objext \
  19358. conftest$ac_exeext conftest.$ac_ext
  19359. fi
  19360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
  19361. $as_echo "$gcc_cv_math_func_trunc" >&6; }
  19362. if test $gcc_cv_math_func_trunc = yes; then
  19363. cat >>confdefs.h <<_ACEOF
  19364. #define HAVE_TRUNC 1
  19365. _ACEOF
  19366. fi
  19367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
  19368. $as_echo_n "checking for truncl... " >&6; }
  19369. if test "${gcc_cv_math_func_truncl+set}" = set; then :
  19370. $as_echo_n "(cached) " >&6
  19371. else
  19372. if test x$gcc_no_link = xyes; then
  19373. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19374. fi
  19375. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19376. /* end confdefs.h. */
  19377. #ifdef HAVE_COMPLEX_H
  19378. #include <complex.h>
  19379. #endif
  19380. #ifdef HAVE_MATH_H
  19381. #include <math.h>
  19382. #endif
  19383. int (*ptr)() = (int (*)())truncl;
  19384. int
  19385. main ()
  19386. {
  19387. return 0;
  19388. }
  19389. _ACEOF
  19390. if ac_fn_c_try_link "$LINENO"; then :
  19391. gcc_cv_math_func_truncl=yes
  19392. else
  19393. gcc_cv_math_func_truncl=no
  19394. fi
  19395. rm -f core conftest.err conftest.$ac_objext \
  19396. conftest$ac_exeext conftest.$ac_ext
  19397. fi
  19398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
  19399. $as_echo "$gcc_cv_math_func_truncl" >&6; }
  19400. if test $gcc_cv_math_func_truncl = yes; then
  19401. cat >>confdefs.h <<_ACEOF
  19402. #define HAVE_TRUNCL 1
  19403. _ACEOF
  19404. fi
  19405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
  19406. $as_echo_n "checking for erff... " >&6; }
  19407. if test "${gcc_cv_math_func_erff+set}" = set; then :
  19408. $as_echo_n "(cached) " >&6
  19409. else
  19410. if test x$gcc_no_link = xyes; then
  19411. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19412. fi
  19413. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19414. /* end confdefs.h. */
  19415. #ifdef HAVE_COMPLEX_H
  19416. #include <complex.h>
  19417. #endif
  19418. #ifdef HAVE_MATH_H
  19419. #include <math.h>
  19420. #endif
  19421. int (*ptr)() = (int (*)())erff;
  19422. int
  19423. main ()
  19424. {
  19425. return 0;
  19426. }
  19427. _ACEOF
  19428. if ac_fn_c_try_link "$LINENO"; then :
  19429. gcc_cv_math_func_erff=yes
  19430. else
  19431. gcc_cv_math_func_erff=no
  19432. fi
  19433. rm -f core conftest.err conftest.$ac_objext \
  19434. conftest$ac_exeext conftest.$ac_ext
  19435. fi
  19436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
  19437. $as_echo "$gcc_cv_math_func_erff" >&6; }
  19438. if test $gcc_cv_math_func_erff = yes; then
  19439. cat >>confdefs.h <<_ACEOF
  19440. #define HAVE_ERFF 1
  19441. _ACEOF
  19442. fi
  19443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
  19444. $as_echo_n "checking for erf... " >&6; }
  19445. if test "${gcc_cv_math_func_erf+set}" = set; then :
  19446. $as_echo_n "(cached) " >&6
  19447. else
  19448. if test x$gcc_no_link = xyes; then
  19449. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19450. fi
  19451. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19452. /* end confdefs.h. */
  19453. #ifdef HAVE_COMPLEX_H
  19454. #include <complex.h>
  19455. #endif
  19456. #ifdef HAVE_MATH_H
  19457. #include <math.h>
  19458. #endif
  19459. int (*ptr)() = (int (*)())erf;
  19460. int
  19461. main ()
  19462. {
  19463. return 0;
  19464. }
  19465. _ACEOF
  19466. if ac_fn_c_try_link "$LINENO"; then :
  19467. gcc_cv_math_func_erf=yes
  19468. else
  19469. gcc_cv_math_func_erf=no
  19470. fi
  19471. rm -f core conftest.err conftest.$ac_objext \
  19472. conftest$ac_exeext conftest.$ac_ext
  19473. fi
  19474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
  19475. $as_echo "$gcc_cv_math_func_erf" >&6; }
  19476. if test $gcc_cv_math_func_erf = yes; then
  19477. cat >>confdefs.h <<_ACEOF
  19478. #define HAVE_ERF 1
  19479. _ACEOF
  19480. fi
  19481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
  19482. $as_echo_n "checking for erfl... " >&6; }
  19483. if test "${gcc_cv_math_func_erfl+set}" = set; then :
  19484. $as_echo_n "(cached) " >&6
  19485. else
  19486. if test x$gcc_no_link = xyes; then
  19487. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19488. fi
  19489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19490. /* end confdefs.h. */
  19491. #ifdef HAVE_COMPLEX_H
  19492. #include <complex.h>
  19493. #endif
  19494. #ifdef HAVE_MATH_H
  19495. #include <math.h>
  19496. #endif
  19497. int (*ptr)() = (int (*)())erfl;
  19498. int
  19499. main ()
  19500. {
  19501. return 0;
  19502. }
  19503. _ACEOF
  19504. if ac_fn_c_try_link "$LINENO"; then :
  19505. gcc_cv_math_func_erfl=yes
  19506. else
  19507. gcc_cv_math_func_erfl=no
  19508. fi
  19509. rm -f core conftest.err conftest.$ac_objext \
  19510. conftest$ac_exeext conftest.$ac_ext
  19511. fi
  19512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
  19513. $as_echo "$gcc_cv_math_func_erfl" >&6; }
  19514. if test $gcc_cv_math_func_erfl = yes; then
  19515. cat >>confdefs.h <<_ACEOF
  19516. #define HAVE_ERFL 1
  19517. _ACEOF
  19518. fi
  19519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
  19520. $as_echo_n "checking for erfcf... " >&6; }
  19521. if test "${gcc_cv_math_func_erfcf+set}" = set; then :
  19522. $as_echo_n "(cached) " >&6
  19523. else
  19524. if test x$gcc_no_link = xyes; then
  19525. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19526. fi
  19527. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19528. /* end confdefs.h. */
  19529. #ifdef HAVE_COMPLEX_H
  19530. #include <complex.h>
  19531. #endif
  19532. #ifdef HAVE_MATH_H
  19533. #include <math.h>
  19534. #endif
  19535. int (*ptr)() = (int (*)())erfcf;
  19536. int
  19537. main ()
  19538. {
  19539. return 0;
  19540. }
  19541. _ACEOF
  19542. if ac_fn_c_try_link "$LINENO"; then :
  19543. gcc_cv_math_func_erfcf=yes
  19544. else
  19545. gcc_cv_math_func_erfcf=no
  19546. fi
  19547. rm -f core conftest.err conftest.$ac_objext \
  19548. conftest$ac_exeext conftest.$ac_ext
  19549. fi
  19550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
  19551. $as_echo "$gcc_cv_math_func_erfcf" >&6; }
  19552. if test $gcc_cv_math_func_erfcf = yes; then
  19553. cat >>confdefs.h <<_ACEOF
  19554. #define HAVE_ERFCF 1
  19555. _ACEOF
  19556. fi
  19557. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
  19558. $as_echo_n "checking for erfc... " >&6; }
  19559. if test "${gcc_cv_math_func_erfc+set}" = set; then :
  19560. $as_echo_n "(cached) " >&6
  19561. else
  19562. if test x$gcc_no_link = xyes; then
  19563. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19564. fi
  19565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19566. /* end confdefs.h. */
  19567. #ifdef HAVE_COMPLEX_H
  19568. #include <complex.h>
  19569. #endif
  19570. #ifdef HAVE_MATH_H
  19571. #include <math.h>
  19572. #endif
  19573. int (*ptr)() = (int (*)())erfc;
  19574. int
  19575. main ()
  19576. {
  19577. return 0;
  19578. }
  19579. _ACEOF
  19580. if ac_fn_c_try_link "$LINENO"; then :
  19581. gcc_cv_math_func_erfc=yes
  19582. else
  19583. gcc_cv_math_func_erfc=no
  19584. fi
  19585. rm -f core conftest.err conftest.$ac_objext \
  19586. conftest$ac_exeext conftest.$ac_ext
  19587. fi
  19588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
  19589. $as_echo "$gcc_cv_math_func_erfc" >&6; }
  19590. if test $gcc_cv_math_func_erfc = yes; then
  19591. cat >>confdefs.h <<_ACEOF
  19592. #define HAVE_ERFC 1
  19593. _ACEOF
  19594. fi
  19595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
  19596. $as_echo_n "checking for erfcl... " >&6; }
  19597. if test "${gcc_cv_math_func_erfcl+set}" = set; then :
  19598. $as_echo_n "(cached) " >&6
  19599. else
  19600. if test x$gcc_no_link = xyes; then
  19601. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19602. fi
  19603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19604. /* end confdefs.h. */
  19605. #ifdef HAVE_COMPLEX_H
  19606. #include <complex.h>
  19607. #endif
  19608. #ifdef HAVE_MATH_H
  19609. #include <math.h>
  19610. #endif
  19611. int (*ptr)() = (int (*)())erfcl;
  19612. int
  19613. main ()
  19614. {
  19615. return 0;
  19616. }
  19617. _ACEOF
  19618. if ac_fn_c_try_link "$LINENO"; then :
  19619. gcc_cv_math_func_erfcl=yes
  19620. else
  19621. gcc_cv_math_func_erfcl=no
  19622. fi
  19623. rm -f core conftest.err conftest.$ac_objext \
  19624. conftest$ac_exeext conftest.$ac_ext
  19625. fi
  19626. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
  19627. $as_echo "$gcc_cv_math_func_erfcl" >&6; }
  19628. if test $gcc_cv_math_func_erfcl = yes; then
  19629. cat >>confdefs.h <<_ACEOF
  19630. #define HAVE_ERFCL 1
  19631. _ACEOF
  19632. fi
  19633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
  19634. $as_echo_n "checking for j0f... " >&6; }
  19635. if test "${gcc_cv_math_func_j0f+set}" = set; then :
  19636. $as_echo_n "(cached) " >&6
  19637. else
  19638. if test x$gcc_no_link = xyes; then
  19639. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19640. fi
  19641. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19642. /* end confdefs.h. */
  19643. #ifdef HAVE_COMPLEX_H
  19644. #include <complex.h>
  19645. #endif
  19646. #ifdef HAVE_MATH_H
  19647. #include <math.h>
  19648. #endif
  19649. int (*ptr)() = (int (*)())j0f;
  19650. int
  19651. main ()
  19652. {
  19653. return 0;
  19654. }
  19655. _ACEOF
  19656. if ac_fn_c_try_link "$LINENO"; then :
  19657. gcc_cv_math_func_j0f=yes
  19658. else
  19659. gcc_cv_math_func_j0f=no
  19660. fi
  19661. rm -f core conftest.err conftest.$ac_objext \
  19662. conftest$ac_exeext conftest.$ac_ext
  19663. fi
  19664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
  19665. $as_echo "$gcc_cv_math_func_j0f" >&6; }
  19666. if test $gcc_cv_math_func_j0f = yes; then
  19667. cat >>confdefs.h <<_ACEOF
  19668. #define HAVE_J0F 1
  19669. _ACEOF
  19670. fi
  19671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
  19672. $as_echo_n "checking for j0... " >&6; }
  19673. if test "${gcc_cv_math_func_j0+set}" = set; then :
  19674. $as_echo_n "(cached) " >&6
  19675. else
  19676. if test x$gcc_no_link = xyes; then
  19677. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19678. fi
  19679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19680. /* end confdefs.h. */
  19681. #ifdef HAVE_COMPLEX_H
  19682. #include <complex.h>
  19683. #endif
  19684. #ifdef HAVE_MATH_H
  19685. #include <math.h>
  19686. #endif
  19687. int (*ptr)() = (int (*)())j0;
  19688. int
  19689. main ()
  19690. {
  19691. return 0;
  19692. }
  19693. _ACEOF
  19694. if ac_fn_c_try_link "$LINENO"; then :
  19695. gcc_cv_math_func_j0=yes
  19696. else
  19697. gcc_cv_math_func_j0=no
  19698. fi
  19699. rm -f core conftest.err conftest.$ac_objext \
  19700. conftest$ac_exeext conftest.$ac_ext
  19701. fi
  19702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
  19703. $as_echo "$gcc_cv_math_func_j0" >&6; }
  19704. if test $gcc_cv_math_func_j0 = yes; then
  19705. cat >>confdefs.h <<_ACEOF
  19706. #define HAVE_J0 1
  19707. _ACEOF
  19708. fi
  19709. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
  19710. $as_echo_n "checking for j0l... " >&6; }
  19711. if test "${gcc_cv_math_func_j0l+set}" = set; then :
  19712. $as_echo_n "(cached) " >&6
  19713. else
  19714. if test x$gcc_no_link = xyes; then
  19715. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19716. fi
  19717. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19718. /* end confdefs.h. */
  19719. #ifdef HAVE_COMPLEX_H
  19720. #include <complex.h>
  19721. #endif
  19722. #ifdef HAVE_MATH_H
  19723. #include <math.h>
  19724. #endif
  19725. int (*ptr)() = (int (*)())j0l;
  19726. int
  19727. main ()
  19728. {
  19729. return 0;
  19730. }
  19731. _ACEOF
  19732. if ac_fn_c_try_link "$LINENO"; then :
  19733. gcc_cv_math_func_j0l=yes
  19734. else
  19735. gcc_cv_math_func_j0l=no
  19736. fi
  19737. rm -f core conftest.err conftest.$ac_objext \
  19738. conftest$ac_exeext conftest.$ac_ext
  19739. fi
  19740. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
  19741. $as_echo "$gcc_cv_math_func_j0l" >&6; }
  19742. if test $gcc_cv_math_func_j0l = yes; then
  19743. cat >>confdefs.h <<_ACEOF
  19744. #define HAVE_J0L 1
  19745. _ACEOF
  19746. fi
  19747. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
  19748. $as_echo_n "checking for j1f... " >&6; }
  19749. if test "${gcc_cv_math_func_j1f+set}" = set; then :
  19750. $as_echo_n "(cached) " >&6
  19751. else
  19752. if test x$gcc_no_link = xyes; then
  19753. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19754. fi
  19755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19756. /* end confdefs.h. */
  19757. #ifdef HAVE_COMPLEX_H
  19758. #include <complex.h>
  19759. #endif
  19760. #ifdef HAVE_MATH_H
  19761. #include <math.h>
  19762. #endif
  19763. int (*ptr)() = (int (*)())j1f;
  19764. int
  19765. main ()
  19766. {
  19767. return 0;
  19768. }
  19769. _ACEOF
  19770. if ac_fn_c_try_link "$LINENO"; then :
  19771. gcc_cv_math_func_j1f=yes
  19772. else
  19773. gcc_cv_math_func_j1f=no
  19774. fi
  19775. rm -f core conftest.err conftest.$ac_objext \
  19776. conftest$ac_exeext conftest.$ac_ext
  19777. fi
  19778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
  19779. $as_echo "$gcc_cv_math_func_j1f" >&6; }
  19780. if test $gcc_cv_math_func_j1f = yes; then
  19781. cat >>confdefs.h <<_ACEOF
  19782. #define HAVE_J1F 1
  19783. _ACEOF
  19784. fi
  19785. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
  19786. $as_echo_n "checking for j1... " >&6; }
  19787. if test "${gcc_cv_math_func_j1+set}" = set; then :
  19788. $as_echo_n "(cached) " >&6
  19789. else
  19790. if test x$gcc_no_link = xyes; then
  19791. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19792. fi
  19793. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19794. /* end confdefs.h. */
  19795. #ifdef HAVE_COMPLEX_H
  19796. #include <complex.h>
  19797. #endif
  19798. #ifdef HAVE_MATH_H
  19799. #include <math.h>
  19800. #endif
  19801. int (*ptr)() = (int (*)())j1;
  19802. int
  19803. main ()
  19804. {
  19805. return 0;
  19806. }
  19807. _ACEOF
  19808. if ac_fn_c_try_link "$LINENO"; then :
  19809. gcc_cv_math_func_j1=yes
  19810. else
  19811. gcc_cv_math_func_j1=no
  19812. fi
  19813. rm -f core conftest.err conftest.$ac_objext \
  19814. conftest$ac_exeext conftest.$ac_ext
  19815. fi
  19816. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
  19817. $as_echo "$gcc_cv_math_func_j1" >&6; }
  19818. if test $gcc_cv_math_func_j1 = yes; then
  19819. cat >>confdefs.h <<_ACEOF
  19820. #define HAVE_J1 1
  19821. _ACEOF
  19822. fi
  19823. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
  19824. $as_echo_n "checking for j1l... " >&6; }
  19825. if test "${gcc_cv_math_func_j1l+set}" = set; then :
  19826. $as_echo_n "(cached) " >&6
  19827. else
  19828. if test x$gcc_no_link = xyes; then
  19829. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19830. fi
  19831. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19832. /* end confdefs.h. */
  19833. #ifdef HAVE_COMPLEX_H
  19834. #include <complex.h>
  19835. #endif
  19836. #ifdef HAVE_MATH_H
  19837. #include <math.h>
  19838. #endif
  19839. int (*ptr)() = (int (*)())j1l;
  19840. int
  19841. main ()
  19842. {
  19843. return 0;
  19844. }
  19845. _ACEOF
  19846. if ac_fn_c_try_link "$LINENO"; then :
  19847. gcc_cv_math_func_j1l=yes
  19848. else
  19849. gcc_cv_math_func_j1l=no
  19850. fi
  19851. rm -f core conftest.err conftest.$ac_objext \
  19852. conftest$ac_exeext conftest.$ac_ext
  19853. fi
  19854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
  19855. $as_echo "$gcc_cv_math_func_j1l" >&6; }
  19856. if test $gcc_cv_math_func_j1l = yes; then
  19857. cat >>confdefs.h <<_ACEOF
  19858. #define HAVE_J1L 1
  19859. _ACEOF
  19860. fi
  19861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
  19862. $as_echo_n "checking for jnf... " >&6; }
  19863. if test "${gcc_cv_math_func_jnf+set}" = set; then :
  19864. $as_echo_n "(cached) " >&6
  19865. else
  19866. if test x$gcc_no_link = xyes; then
  19867. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19868. fi
  19869. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19870. /* end confdefs.h. */
  19871. #ifdef HAVE_COMPLEX_H
  19872. #include <complex.h>
  19873. #endif
  19874. #ifdef HAVE_MATH_H
  19875. #include <math.h>
  19876. #endif
  19877. int (*ptr)() = (int (*)())jnf;
  19878. int
  19879. main ()
  19880. {
  19881. return 0;
  19882. }
  19883. _ACEOF
  19884. if ac_fn_c_try_link "$LINENO"; then :
  19885. gcc_cv_math_func_jnf=yes
  19886. else
  19887. gcc_cv_math_func_jnf=no
  19888. fi
  19889. rm -f core conftest.err conftest.$ac_objext \
  19890. conftest$ac_exeext conftest.$ac_ext
  19891. fi
  19892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
  19893. $as_echo "$gcc_cv_math_func_jnf" >&6; }
  19894. if test $gcc_cv_math_func_jnf = yes; then
  19895. cat >>confdefs.h <<_ACEOF
  19896. #define HAVE_JNF 1
  19897. _ACEOF
  19898. fi
  19899. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
  19900. $as_echo_n "checking for jn... " >&6; }
  19901. if test "${gcc_cv_math_func_jn+set}" = set; then :
  19902. $as_echo_n "(cached) " >&6
  19903. else
  19904. if test x$gcc_no_link = xyes; then
  19905. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19906. fi
  19907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19908. /* end confdefs.h. */
  19909. #ifdef HAVE_COMPLEX_H
  19910. #include <complex.h>
  19911. #endif
  19912. #ifdef HAVE_MATH_H
  19913. #include <math.h>
  19914. #endif
  19915. int (*ptr)() = (int (*)())jn;
  19916. int
  19917. main ()
  19918. {
  19919. return 0;
  19920. }
  19921. _ACEOF
  19922. if ac_fn_c_try_link "$LINENO"; then :
  19923. gcc_cv_math_func_jn=yes
  19924. else
  19925. gcc_cv_math_func_jn=no
  19926. fi
  19927. rm -f core conftest.err conftest.$ac_objext \
  19928. conftest$ac_exeext conftest.$ac_ext
  19929. fi
  19930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
  19931. $as_echo "$gcc_cv_math_func_jn" >&6; }
  19932. if test $gcc_cv_math_func_jn = yes; then
  19933. cat >>confdefs.h <<_ACEOF
  19934. #define HAVE_JN 1
  19935. _ACEOF
  19936. fi
  19937. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
  19938. $as_echo_n "checking for jnl... " >&6; }
  19939. if test "${gcc_cv_math_func_jnl+set}" = set; then :
  19940. $as_echo_n "(cached) " >&6
  19941. else
  19942. if test x$gcc_no_link = xyes; then
  19943. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19944. fi
  19945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19946. /* end confdefs.h. */
  19947. #ifdef HAVE_COMPLEX_H
  19948. #include <complex.h>
  19949. #endif
  19950. #ifdef HAVE_MATH_H
  19951. #include <math.h>
  19952. #endif
  19953. int (*ptr)() = (int (*)())jnl;
  19954. int
  19955. main ()
  19956. {
  19957. return 0;
  19958. }
  19959. _ACEOF
  19960. if ac_fn_c_try_link "$LINENO"; then :
  19961. gcc_cv_math_func_jnl=yes
  19962. else
  19963. gcc_cv_math_func_jnl=no
  19964. fi
  19965. rm -f core conftest.err conftest.$ac_objext \
  19966. conftest$ac_exeext conftest.$ac_ext
  19967. fi
  19968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
  19969. $as_echo "$gcc_cv_math_func_jnl" >&6; }
  19970. if test $gcc_cv_math_func_jnl = yes; then
  19971. cat >>confdefs.h <<_ACEOF
  19972. #define HAVE_JNL 1
  19973. _ACEOF
  19974. fi
  19975. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
  19976. $as_echo_n "checking for y0f... " >&6; }
  19977. if test "${gcc_cv_math_func_y0f+set}" = set; then :
  19978. $as_echo_n "(cached) " >&6
  19979. else
  19980. if test x$gcc_no_link = xyes; then
  19981. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  19982. fi
  19983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19984. /* end confdefs.h. */
  19985. #ifdef HAVE_COMPLEX_H
  19986. #include <complex.h>
  19987. #endif
  19988. #ifdef HAVE_MATH_H
  19989. #include <math.h>
  19990. #endif
  19991. int (*ptr)() = (int (*)())y0f;
  19992. int
  19993. main ()
  19994. {
  19995. return 0;
  19996. }
  19997. _ACEOF
  19998. if ac_fn_c_try_link "$LINENO"; then :
  19999. gcc_cv_math_func_y0f=yes
  20000. else
  20001. gcc_cv_math_func_y0f=no
  20002. fi
  20003. rm -f core conftest.err conftest.$ac_objext \
  20004. conftest$ac_exeext conftest.$ac_ext
  20005. fi
  20006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
  20007. $as_echo "$gcc_cv_math_func_y0f" >&6; }
  20008. if test $gcc_cv_math_func_y0f = yes; then
  20009. cat >>confdefs.h <<_ACEOF
  20010. #define HAVE_Y0F 1
  20011. _ACEOF
  20012. fi
  20013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
  20014. $as_echo_n "checking for y0... " >&6; }
  20015. if test "${gcc_cv_math_func_y0+set}" = set; then :
  20016. $as_echo_n "(cached) " >&6
  20017. else
  20018. if test x$gcc_no_link = xyes; then
  20019. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20020. fi
  20021. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20022. /* end confdefs.h. */
  20023. #ifdef HAVE_COMPLEX_H
  20024. #include <complex.h>
  20025. #endif
  20026. #ifdef HAVE_MATH_H
  20027. #include <math.h>
  20028. #endif
  20029. int (*ptr)() = (int (*)())y0;
  20030. int
  20031. main ()
  20032. {
  20033. return 0;
  20034. }
  20035. _ACEOF
  20036. if ac_fn_c_try_link "$LINENO"; then :
  20037. gcc_cv_math_func_y0=yes
  20038. else
  20039. gcc_cv_math_func_y0=no
  20040. fi
  20041. rm -f core conftest.err conftest.$ac_objext \
  20042. conftest$ac_exeext conftest.$ac_ext
  20043. fi
  20044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
  20045. $as_echo "$gcc_cv_math_func_y0" >&6; }
  20046. if test $gcc_cv_math_func_y0 = yes; then
  20047. cat >>confdefs.h <<_ACEOF
  20048. #define HAVE_Y0 1
  20049. _ACEOF
  20050. fi
  20051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
  20052. $as_echo_n "checking for y0l... " >&6; }
  20053. if test "${gcc_cv_math_func_y0l+set}" = set; then :
  20054. $as_echo_n "(cached) " >&6
  20055. else
  20056. if test x$gcc_no_link = xyes; then
  20057. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20058. fi
  20059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20060. /* end confdefs.h. */
  20061. #ifdef HAVE_COMPLEX_H
  20062. #include <complex.h>
  20063. #endif
  20064. #ifdef HAVE_MATH_H
  20065. #include <math.h>
  20066. #endif
  20067. int (*ptr)() = (int (*)())y0l;
  20068. int
  20069. main ()
  20070. {
  20071. return 0;
  20072. }
  20073. _ACEOF
  20074. if ac_fn_c_try_link "$LINENO"; then :
  20075. gcc_cv_math_func_y0l=yes
  20076. else
  20077. gcc_cv_math_func_y0l=no
  20078. fi
  20079. rm -f core conftest.err conftest.$ac_objext \
  20080. conftest$ac_exeext conftest.$ac_ext
  20081. fi
  20082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
  20083. $as_echo "$gcc_cv_math_func_y0l" >&6; }
  20084. if test $gcc_cv_math_func_y0l = yes; then
  20085. cat >>confdefs.h <<_ACEOF
  20086. #define HAVE_Y0L 1
  20087. _ACEOF
  20088. fi
  20089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
  20090. $as_echo_n "checking for y1f... " >&6; }
  20091. if test "${gcc_cv_math_func_y1f+set}" = set; then :
  20092. $as_echo_n "(cached) " >&6
  20093. else
  20094. if test x$gcc_no_link = xyes; then
  20095. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20096. fi
  20097. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20098. /* end confdefs.h. */
  20099. #ifdef HAVE_COMPLEX_H
  20100. #include <complex.h>
  20101. #endif
  20102. #ifdef HAVE_MATH_H
  20103. #include <math.h>
  20104. #endif
  20105. int (*ptr)() = (int (*)())y1f;
  20106. int
  20107. main ()
  20108. {
  20109. return 0;
  20110. }
  20111. _ACEOF
  20112. if ac_fn_c_try_link "$LINENO"; then :
  20113. gcc_cv_math_func_y1f=yes
  20114. else
  20115. gcc_cv_math_func_y1f=no
  20116. fi
  20117. rm -f core conftest.err conftest.$ac_objext \
  20118. conftest$ac_exeext conftest.$ac_ext
  20119. fi
  20120. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
  20121. $as_echo "$gcc_cv_math_func_y1f" >&6; }
  20122. if test $gcc_cv_math_func_y1f = yes; then
  20123. cat >>confdefs.h <<_ACEOF
  20124. #define HAVE_Y1F 1
  20125. _ACEOF
  20126. fi
  20127. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
  20128. $as_echo_n "checking for y1... " >&6; }
  20129. if test "${gcc_cv_math_func_y1+set}" = set; then :
  20130. $as_echo_n "(cached) " >&6
  20131. else
  20132. if test x$gcc_no_link = xyes; then
  20133. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20134. fi
  20135. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20136. /* end confdefs.h. */
  20137. #ifdef HAVE_COMPLEX_H
  20138. #include <complex.h>
  20139. #endif
  20140. #ifdef HAVE_MATH_H
  20141. #include <math.h>
  20142. #endif
  20143. int (*ptr)() = (int (*)())y1;
  20144. int
  20145. main ()
  20146. {
  20147. return 0;
  20148. }
  20149. _ACEOF
  20150. if ac_fn_c_try_link "$LINENO"; then :
  20151. gcc_cv_math_func_y1=yes
  20152. else
  20153. gcc_cv_math_func_y1=no
  20154. fi
  20155. rm -f core conftest.err conftest.$ac_objext \
  20156. conftest$ac_exeext conftest.$ac_ext
  20157. fi
  20158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
  20159. $as_echo "$gcc_cv_math_func_y1" >&6; }
  20160. if test $gcc_cv_math_func_y1 = yes; then
  20161. cat >>confdefs.h <<_ACEOF
  20162. #define HAVE_Y1 1
  20163. _ACEOF
  20164. fi
  20165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
  20166. $as_echo_n "checking for y1l... " >&6; }
  20167. if test "${gcc_cv_math_func_y1l+set}" = set; then :
  20168. $as_echo_n "(cached) " >&6
  20169. else
  20170. if test x$gcc_no_link = xyes; then
  20171. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20172. fi
  20173. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20174. /* end confdefs.h. */
  20175. #ifdef HAVE_COMPLEX_H
  20176. #include <complex.h>
  20177. #endif
  20178. #ifdef HAVE_MATH_H
  20179. #include <math.h>
  20180. #endif
  20181. int (*ptr)() = (int (*)())y1l;
  20182. int
  20183. main ()
  20184. {
  20185. return 0;
  20186. }
  20187. _ACEOF
  20188. if ac_fn_c_try_link "$LINENO"; then :
  20189. gcc_cv_math_func_y1l=yes
  20190. else
  20191. gcc_cv_math_func_y1l=no
  20192. fi
  20193. rm -f core conftest.err conftest.$ac_objext \
  20194. conftest$ac_exeext conftest.$ac_ext
  20195. fi
  20196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
  20197. $as_echo "$gcc_cv_math_func_y1l" >&6; }
  20198. if test $gcc_cv_math_func_y1l = yes; then
  20199. cat >>confdefs.h <<_ACEOF
  20200. #define HAVE_Y1L 1
  20201. _ACEOF
  20202. fi
  20203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
  20204. $as_echo_n "checking for ynf... " >&6; }
  20205. if test "${gcc_cv_math_func_ynf+set}" = set; then :
  20206. $as_echo_n "(cached) " >&6
  20207. else
  20208. if test x$gcc_no_link = xyes; then
  20209. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20210. fi
  20211. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20212. /* end confdefs.h. */
  20213. #ifdef HAVE_COMPLEX_H
  20214. #include <complex.h>
  20215. #endif
  20216. #ifdef HAVE_MATH_H
  20217. #include <math.h>
  20218. #endif
  20219. int (*ptr)() = (int (*)())ynf;
  20220. int
  20221. main ()
  20222. {
  20223. return 0;
  20224. }
  20225. _ACEOF
  20226. if ac_fn_c_try_link "$LINENO"; then :
  20227. gcc_cv_math_func_ynf=yes
  20228. else
  20229. gcc_cv_math_func_ynf=no
  20230. fi
  20231. rm -f core conftest.err conftest.$ac_objext \
  20232. conftest$ac_exeext conftest.$ac_ext
  20233. fi
  20234. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
  20235. $as_echo "$gcc_cv_math_func_ynf" >&6; }
  20236. if test $gcc_cv_math_func_ynf = yes; then
  20237. cat >>confdefs.h <<_ACEOF
  20238. #define HAVE_YNF 1
  20239. _ACEOF
  20240. fi
  20241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
  20242. $as_echo_n "checking for yn... " >&6; }
  20243. if test "${gcc_cv_math_func_yn+set}" = set; then :
  20244. $as_echo_n "(cached) " >&6
  20245. else
  20246. if test x$gcc_no_link = xyes; then
  20247. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20248. fi
  20249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20250. /* end confdefs.h. */
  20251. #ifdef HAVE_COMPLEX_H
  20252. #include <complex.h>
  20253. #endif
  20254. #ifdef HAVE_MATH_H
  20255. #include <math.h>
  20256. #endif
  20257. int (*ptr)() = (int (*)())yn;
  20258. int
  20259. main ()
  20260. {
  20261. return 0;
  20262. }
  20263. _ACEOF
  20264. if ac_fn_c_try_link "$LINENO"; then :
  20265. gcc_cv_math_func_yn=yes
  20266. else
  20267. gcc_cv_math_func_yn=no
  20268. fi
  20269. rm -f core conftest.err conftest.$ac_objext \
  20270. conftest$ac_exeext conftest.$ac_ext
  20271. fi
  20272. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
  20273. $as_echo "$gcc_cv_math_func_yn" >&6; }
  20274. if test $gcc_cv_math_func_yn = yes; then
  20275. cat >>confdefs.h <<_ACEOF
  20276. #define HAVE_YN 1
  20277. _ACEOF
  20278. fi
  20279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
  20280. $as_echo_n "checking for ynl... " >&6; }
  20281. if test "${gcc_cv_math_func_ynl+set}" = set; then :
  20282. $as_echo_n "(cached) " >&6
  20283. else
  20284. if test x$gcc_no_link = xyes; then
  20285. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20286. fi
  20287. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20288. /* end confdefs.h. */
  20289. #ifdef HAVE_COMPLEX_H
  20290. #include <complex.h>
  20291. #endif
  20292. #ifdef HAVE_MATH_H
  20293. #include <math.h>
  20294. #endif
  20295. int (*ptr)() = (int (*)())ynl;
  20296. int
  20297. main ()
  20298. {
  20299. return 0;
  20300. }
  20301. _ACEOF
  20302. if ac_fn_c_try_link "$LINENO"; then :
  20303. gcc_cv_math_func_ynl=yes
  20304. else
  20305. gcc_cv_math_func_ynl=no
  20306. fi
  20307. rm -f core conftest.err conftest.$ac_objext \
  20308. conftest$ac_exeext conftest.$ac_ext
  20309. fi
  20310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
  20311. $as_echo "$gcc_cv_math_func_ynl" >&6; }
  20312. if test $gcc_cv_math_func_ynl = yes; then
  20313. cat >>confdefs.h <<_ACEOF
  20314. #define HAVE_YNL 1
  20315. _ACEOF
  20316. fi
  20317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
  20318. $as_echo_n "checking for tgamma... " >&6; }
  20319. if test "${gcc_cv_math_func_tgamma+set}" = set; then :
  20320. $as_echo_n "(cached) " >&6
  20321. else
  20322. if test x$gcc_no_link = xyes; then
  20323. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20324. fi
  20325. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20326. /* end confdefs.h. */
  20327. #ifdef HAVE_COMPLEX_H
  20328. #include <complex.h>
  20329. #endif
  20330. #ifdef HAVE_MATH_H
  20331. #include <math.h>
  20332. #endif
  20333. int (*ptr)() = (int (*)())tgamma;
  20334. int
  20335. main ()
  20336. {
  20337. return 0;
  20338. }
  20339. _ACEOF
  20340. if ac_fn_c_try_link "$LINENO"; then :
  20341. gcc_cv_math_func_tgamma=yes
  20342. else
  20343. gcc_cv_math_func_tgamma=no
  20344. fi
  20345. rm -f core conftest.err conftest.$ac_objext \
  20346. conftest$ac_exeext conftest.$ac_ext
  20347. fi
  20348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
  20349. $as_echo "$gcc_cv_math_func_tgamma" >&6; }
  20350. if test $gcc_cv_math_func_tgamma = yes; then
  20351. cat >>confdefs.h <<_ACEOF
  20352. #define HAVE_TGAMMA 1
  20353. _ACEOF
  20354. fi
  20355. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
  20356. $as_echo_n "checking for tgammaf... " >&6; }
  20357. if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
  20358. $as_echo_n "(cached) " >&6
  20359. else
  20360. if test x$gcc_no_link = xyes; then
  20361. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20362. fi
  20363. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20364. /* end confdefs.h. */
  20365. #ifdef HAVE_COMPLEX_H
  20366. #include <complex.h>
  20367. #endif
  20368. #ifdef HAVE_MATH_H
  20369. #include <math.h>
  20370. #endif
  20371. int (*ptr)() = (int (*)())tgammaf;
  20372. int
  20373. main ()
  20374. {
  20375. return 0;
  20376. }
  20377. _ACEOF
  20378. if ac_fn_c_try_link "$LINENO"; then :
  20379. gcc_cv_math_func_tgammaf=yes
  20380. else
  20381. gcc_cv_math_func_tgammaf=no
  20382. fi
  20383. rm -f core conftest.err conftest.$ac_objext \
  20384. conftest$ac_exeext conftest.$ac_ext
  20385. fi
  20386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
  20387. $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
  20388. if test $gcc_cv_math_func_tgammaf = yes; then
  20389. cat >>confdefs.h <<_ACEOF
  20390. #define HAVE_TGAMMAF 1
  20391. _ACEOF
  20392. fi
  20393. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
  20394. $as_echo_n "checking for tgammal... " >&6; }
  20395. if test "${gcc_cv_math_func_tgammal+set}" = set; then :
  20396. $as_echo_n "(cached) " >&6
  20397. else
  20398. if test x$gcc_no_link = xyes; then
  20399. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20400. fi
  20401. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20402. /* end confdefs.h. */
  20403. #ifdef HAVE_COMPLEX_H
  20404. #include <complex.h>
  20405. #endif
  20406. #ifdef HAVE_MATH_H
  20407. #include <math.h>
  20408. #endif
  20409. int (*ptr)() = (int (*)())tgammal;
  20410. int
  20411. main ()
  20412. {
  20413. return 0;
  20414. }
  20415. _ACEOF
  20416. if ac_fn_c_try_link "$LINENO"; then :
  20417. gcc_cv_math_func_tgammal=yes
  20418. else
  20419. gcc_cv_math_func_tgammal=no
  20420. fi
  20421. rm -f core conftest.err conftest.$ac_objext \
  20422. conftest$ac_exeext conftest.$ac_ext
  20423. fi
  20424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
  20425. $as_echo "$gcc_cv_math_func_tgammal" >&6; }
  20426. if test $gcc_cv_math_func_tgammal = yes; then
  20427. cat >>confdefs.h <<_ACEOF
  20428. #define HAVE_TGAMMAL 1
  20429. _ACEOF
  20430. fi
  20431. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
  20432. $as_echo_n "checking for lgamma... " >&6; }
  20433. if test "${gcc_cv_math_func_lgamma+set}" = set; then :
  20434. $as_echo_n "(cached) " >&6
  20435. else
  20436. if test x$gcc_no_link = xyes; then
  20437. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20438. fi
  20439. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20440. /* end confdefs.h. */
  20441. #ifdef HAVE_COMPLEX_H
  20442. #include <complex.h>
  20443. #endif
  20444. #ifdef HAVE_MATH_H
  20445. #include <math.h>
  20446. #endif
  20447. int (*ptr)() = (int (*)())lgamma;
  20448. int
  20449. main ()
  20450. {
  20451. return 0;
  20452. }
  20453. _ACEOF
  20454. if ac_fn_c_try_link "$LINENO"; then :
  20455. gcc_cv_math_func_lgamma=yes
  20456. else
  20457. gcc_cv_math_func_lgamma=no
  20458. fi
  20459. rm -f core conftest.err conftest.$ac_objext \
  20460. conftest$ac_exeext conftest.$ac_ext
  20461. fi
  20462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
  20463. $as_echo "$gcc_cv_math_func_lgamma" >&6; }
  20464. if test $gcc_cv_math_func_lgamma = yes; then
  20465. cat >>confdefs.h <<_ACEOF
  20466. #define HAVE_LGAMMA 1
  20467. _ACEOF
  20468. fi
  20469. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
  20470. $as_echo_n "checking for lgammaf... " >&6; }
  20471. if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
  20472. $as_echo_n "(cached) " >&6
  20473. else
  20474. if test x$gcc_no_link = xyes; then
  20475. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20476. fi
  20477. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20478. /* end confdefs.h. */
  20479. #ifdef HAVE_COMPLEX_H
  20480. #include <complex.h>
  20481. #endif
  20482. #ifdef HAVE_MATH_H
  20483. #include <math.h>
  20484. #endif
  20485. int (*ptr)() = (int (*)())lgammaf;
  20486. int
  20487. main ()
  20488. {
  20489. return 0;
  20490. }
  20491. _ACEOF
  20492. if ac_fn_c_try_link "$LINENO"; then :
  20493. gcc_cv_math_func_lgammaf=yes
  20494. else
  20495. gcc_cv_math_func_lgammaf=no
  20496. fi
  20497. rm -f core conftest.err conftest.$ac_objext \
  20498. conftest$ac_exeext conftest.$ac_ext
  20499. fi
  20500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
  20501. $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
  20502. if test $gcc_cv_math_func_lgammaf = yes; then
  20503. cat >>confdefs.h <<_ACEOF
  20504. #define HAVE_LGAMMAF 1
  20505. _ACEOF
  20506. fi
  20507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
  20508. $as_echo_n "checking for lgammal... " >&6; }
  20509. if test "${gcc_cv_math_func_lgammal+set}" = set; then :
  20510. $as_echo_n "(cached) " >&6
  20511. else
  20512. if test x$gcc_no_link = xyes; then
  20513. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20514. fi
  20515. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20516. /* end confdefs.h. */
  20517. #ifdef HAVE_COMPLEX_H
  20518. #include <complex.h>
  20519. #endif
  20520. #ifdef HAVE_MATH_H
  20521. #include <math.h>
  20522. #endif
  20523. int (*ptr)() = (int (*)())lgammal;
  20524. int
  20525. main ()
  20526. {
  20527. return 0;
  20528. }
  20529. _ACEOF
  20530. if ac_fn_c_try_link "$LINENO"; then :
  20531. gcc_cv_math_func_lgammal=yes
  20532. else
  20533. gcc_cv_math_func_lgammal=no
  20534. fi
  20535. rm -f core conftest.err conftest.$ac_objext \
  20536. conftest$ac_exeext conftest.$ac_ext
  20537. fi
  20538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
  20539. $as_echo "$gcc_cv_math_func_lgammal" >&6; }
  20540. if test $gcc_cv_math_func_lgammal = yes; then
  20541. cat >>confdefs.h <<_ACEOF
  20542. #define HAVE_LGAMMAL 1
  20543. _ACEOF
  20544. fi
  20545. # Check for GFORTRAN_C99_1.1 funcs
  20546. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
  20547. $as_echo_n "checking for cacos... " >&6; }
  20548. if test "${gcc_cv_math_func_cacos+set}" = set; then :
  20549. $as_echo_n "(cached) " >&6
  20550. else
  20551. if test x$gcc_no_link = xyes; then
  20552. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20553. fi
  20554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20555. /* end confdefs.h. */
  20556. #ifdef HAVE_COMPLEX_H
  20557. #include <complex.h>
  20558. #endif
  20559. #ifdef HAVE_MATH_H
  20560. #include <math.h>
  20561. #endif
  20562. int (*ptr)() = (int (*)())cacos;
  20563. int
  20564. main ()
  20565. {
  20566. return 0;
  20567. }
  20568. _ACEOF
  20569. if ac_fn_c_try_link "$LINENO"; then :
  20570. gcc_cv_math_func_cacos=yes
  20571. else
  20572. gcc_cv_math_func_cacos=no
  20573. fi
  20574. rm -f core conftest.err conftest.$ac_objext \
  20575. conftest$ac_exeext conftest.$ac_ext
  20576. fi
  20577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
  20578. $as_echo "$gcc_cv_math_func_cacos" >&6; }
  20579. if test $gcc_cv_math_func_cacos = yes; then
  20580. cat >>confdefs.h <<_ACEOF
  20581. #define HAVE_CACOS 1
  20582. _ACEOF
  20583. fi
  20584. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
  20585. $as_echo_n "checking for cacosf... " >&6; }
  20586. if test "${gcc_cv_math_func_cacosf+set}" = set; then :
  20587. $as_echo_n "(cached) " >&6
  20588. else
  20589. if test x$gcc_no_link = xyes; then
  20590. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20591. fi
  20592. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20593. /* end confdefs.h. */
  20594. #ifdef HAVE_COMPLEX_H
  20595. #include <complex.h>
  20596. #endif
  20597. #ifdef HAVE_MATH_H
  20598. #include <math.h>
  20599. #endif
  20600. int (*ptr)() = (int (*)())cacosf;
  20601. int
  20602. main ()
  20603. {
  20604. return 0;
  20605. }
  20606. _ACEOF
  20607. if ac_fn_c_try_link "$LINENO"; then :
  20608. gcc_cv_math_func_cacosf=yes
  20609. else
  20610. gcc_cv_math_func_cacosf=no
  20611. fi
  20612. rm -f core conftest.err conftest.$ac_objext \
  20613. conftest$ac_exeext conftest.$ac_ext
  20614. fi
  20615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
  20616. $as_echo "$gcc_cv_math_func_cacosf" >&6; }
  20617. if test $gcc_cv_math_func_cacosf = yes; then
  20618. cat >>confdefs.h <<_ACEOF
  20619. #define HAVE_CACOSF 1
  20620. _ACEOF
  20621. fi
  20622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
  20623. $as_echo_n "checking for cacosh... " >&6; }
  20624. if test "${gcc_cv_math_func_cacosh+set}" = set; then :
  20625. $as_echo_n "(cached) " >&6
  20626. else
  20627. if test x$gcc_no_link = xyes; then
  20628. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20629. fi
  20630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20631. /* end confdefs.h. */
  20632. #ifdef HAVE_COMPLEX_H
  20633. #include <complex.h>
  20634. #endif
  20635. #ifdef HAVE_MATH_H
  20636. #include <math.h>
  20637. #endif
  20638. int (*ptr)() = (int (*)())cacosh;
  20639. int
  20640. main ()
  20641. {
  20642. return 0;
  20643. }
  20644. _ACEOF
  20645. if ac_fn_c_try_link "$LINENO"; then :
  20646. gcc_cv_math_func_cacosh=yes
  20647. else
  20648. gcc_cv_math_func_cacosh=no
  20649. fi
  20650. rm -f core conftest.err conftest.$ac_objext \
  20651. conftest$ac_exeext conftest.$ac_ext
  20652. fi
  20653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
  20654. $as_echo "$gcc_cv_math_func_cacosh" >&6; }
  20655. if test $gcc_cv_math_func_cacosh = yes; then
  20656. cat >>confdefs.h <<_ACEOF
  20657. #define HAVE_CACOSH 1
  20658. _ACEOF
  20659. fi
  20660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
  20661. $as_echo_n "checking for cacoshf... " >&6; }
  20662. if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
  20663. $as_echo_n "(cached) " >&6
  20664. else
  20665. if test x$gcc_no_link = xyes; then
  20666. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20667. fi
  20668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20669. /* end confdefs.h. */
  20670. #ifdef HAVE_COMPLEX_H
  20671. #include <complex.h>
  20672. #endif
  20673. #ifdef HAVE_MATH_H
  20674. #include <math.h>
  20675. #endif
  20676. int (*ptr)() = (int (*)())cacoshf;
  20677. int
  20678. main ()
  20679. {
  20680. return 0;
  20681. }
  20682. _ACEOF
  20683. if ac_fn_c_try_link "$LINENO"; then :
  20684. gcc_cv_math_func_cacoshf=yes
  20685. else
  20686. gcc_cv_math_func_cacoshf=no
  20687. fi
  20688. rm -f core conftest.err conftest.$ac_objext \
  20689. conftest$ac_exeext conftest.$ac_ext
  20690. fi
  20691. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
  20692. $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
  20693. if test $gcc_cv_math_func_cacoshf = yes; then
  20694. cat >>confdefs.h <<_ACEOF
  20695. #define HAVE_CACOSHF 1
  20696. _ACEOF
  20697. fi
  20698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
  20699. $as_echo_n "checking for cacoshl... " >&6; }
  20700. if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
  20701. $as_echo_n "(cached) " >&6
  20702. else
  20703. if test x$gcc_no_link = xyes; then
  20704. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20705. fi
  20706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20707. /* end confdefs.h. */
  20708. #ifdef HAVE_COMPLEX_H
  20709. #include <complex.h>
  20710. #endif
  20711. #ifdef HAVE_MATH_H
  20712. #include <math.h>
  20713. #endif
  20714. int (*ptr)() = (int (*)())cacoshl;
  20715. int
  20716. main ()
  20717. {
  20718. return 0;
  20719. }
  20720. _ACEOF
  20721. if ac_fn_c_try_link "$LINENO"; then :
  20722. gcc_cv_math_func_cacoshl=yes
  20723. else
  20724. gcc_cv_math_func_cacoshl=no
  20725. fi
  20726. rm -f core conftest.err conftest.$ac_objext \
  20727. conftest$ac_exeext conftest.$ac_ext
  20728. fi
  20729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
  20730. $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
  20731. if test $gcc_cv_math_func_cacoshl = yes; then
  20732. cat >>confdefs.h <<_ACEOF
  20733. #define HAVE_CACOSHL 1
  20734. _ACEOF
  20735. fi
  20736. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
  20737. $as_echo_n "checking for cacosl... " >&6; }
  20738. if test "${gcc_cv_math_func_cacosl+set}" = set; then :
  20739. $as_echo_n "(cached) " >&6
  20740. else
  20741. if test x$gcc_no_link = xyes; then
  20742. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20743. fi
  20744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20745. /* end confdefs.h. */
  20746. #ifdef HAVE_COMPLEX_H
  20747. #include <complex.h>
  20748. #endif
  20749. #ifdef HAVE_MATH_H
  20750. #include <math.h>
  20751. #endif
  20752. int (*ptr)() = (int (*)())cacosl;
  20753. int
  20754. main ()
  20755. {
  20756. return 0;
  20757. }
  20758. _ACEOF
  20759. if ac_fn_c_try_link "$LINENO"; then :
  20760. gcc_cv_math_func_cacosl=yes
  20761. else
  20762. gcc_cv_math_func_cacosl=no
  20763. fi
  20764. rm -f core conftest.err conftest.$ac_objext \
  20765. conftest$ac_exeext conftest.$ac_ext
  20766. fi
  20767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
  20768. $as_echo "$gcc_cv_math_func_cacosl" >&6; }
  20769. if test $gcc_cv_math_func_cacosl = yes; then
  20770. cat >>confdefs.h <<_ACEOF
  20771. #define HAVE_CACOSL 1
  20772. _ACEOF
  20773. fi
  20774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
  20775. $as_echo_n "checking for casin... " >&6; }
  20776. if test "${gcc_cv_math_func_casin+set}" = set; then :
  20777. $as_echo_n "(cached) " >&6
  20778. else
  20779. if test x$gcc_no_link = xyes; then
  20780. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20781. fi
  20782. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20783. /* end confdefs.h. */
  20784. #ifdef HAVE_COMPLEX_H
  20785. #include <complex.h>
  20786. #endif
  20787. #ifdef HAVE_MATH_H
  20788. #include <math.h>
  20789. #endif
  20790. int (*ptr)() = (int (*)())casin;
  20791. int
  20792. main ()
  20793. {
  20794. return 0;
  20795. }
  20796. _ACEOF
  20797. if ac_fn_c_try_link "$LINENO"; then :
  20798. gcc_cv_math_func_casin=yes
  20799. else
  20800. gcc_cv_math_func_casin=no
  20801. fi
  20802. rm -f core conftest.err conftest.$ac_objext \
  20803. conftest$ac_exeext conftest.$ac_ext
  20804. fi
  20805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
  20806. $as_echo "$gcc_cv_math_func_casin" >&6; }
  20807. if test $gcc_cv_math_func_casin = yes; then
  20808. cat >>confdefs.h <<_ACEOF
  20809. #define HAVE_CASIN 1
  20810. _ACEOF
  20811. fi
  20812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
  20813. $as_echo_n "checking for casinf... " >&6; }
  20814. if test "${gcc_cv_math_func_casinf+set}" = set; then :
  20815. $as_echo_n "(cached) " >&6
  20816. else
  20817. if test x$gcc_no_link = xyes; then
  20818. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20819. fi
  20820. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20821. /* end confdefs.h. */
  20822. #ifdef HAVE_COMPLEX_H
  20823. #include <complex.h>
  20824. #endif
  20825. #ifdef HAVE_MATH_H
  20826. #include <math.h>
  20827. #endif
  20828. int (*ptr)() = (int (*)())casinf;
  20829. int
  20830. main ()
  20831. {
  20832. return 0;
  20833. }
  20834. _ACEOF
  20835. if ac_fn_c_try_link "$LINENO"; then :
  20836. gcc_cv_math_func_casinf=yes
  20837. else
  20838. gcc_cv_math_func_casinf=no
  20839. fi
  20840. rm -f core conftest.err conftest.$ac_objext \
  20841. conftest$ac_exeext conftest.$ac_ext
  20842. fi
  20843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
  20844. $as_echo "$gcc_cv_math_func_casinf" >&6; }
  20845. if test $gcc_cv_math_func_casinf = yes; then
  20846. cat >>confdefs.h <<_ACEOF
  20847. #define HAVE_CASINF 1
  20848. _ACEOF
  20849. fi
  20850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
  20851. $as_echo_n "checking for casinh... " >&6; }
  20852. if test "${gcc_cv_math_func_casinh+set}" = set; then :
  20853. $as_echo_n "(cached) " >&6
  20854. else
  20855. if test x$gcc_no_link = xyes; then
  20856. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20857. fi
  20858. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20859. /* end confdefs.h. */
  20860. #ifdef HAVE_COMPLEX_H
  20861. #include <complex.h>
  20862. #endif
  20863. #ifdef HAVE_MATH_H
  20864. #include <math.h>
  20865. #endif
  20866. int (*ptr)() = (int (*)())casinh;
  20867. int
  20868. main ()
  20869. {
  20870. return 0;
  20871. }
  20872. _ACEOF
  20873. if ac_fn_c_try_link "$LINENO"; then :
  20874. gcc_cv_math_func_casinh=yes
  20875. else
  20876. gcc_cv_math_func_casinh=no
  20877. fi
  20878. rm -f core conftest.err conftest.$ac_objext \
  20879. conftest$ac_exeext conftest.$ac_ext
  20880. fi
  20881. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
  20882. $as_echo "$gcc_cv_math_func_casinh" >&6; }
  20883. if test $gcc_cv_math_func_casinh = yes; then
  20884. cat >>confdefs.h <<_ACEOF
  20885. #define HAVE_CASINH 1
  20886. _ACEOF
  20887. fi
  20888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
  20889. $as_echo_n "checking for casinhf... " >&6; }
  20890. if test "${gcc_cv_math_func_casinhf+set}" = set; then :
  20891. $as_echo_n "(cached) " >&6
  20892. else
  20893. if test x$gcc_no_link = xyes; then
  20894. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20895. fi
  20896. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20897. /* end confdefs.h. */
  20898. #ifdef HAVE_COMPLEX_H
  20899. #include <complex.h>
  20900. #endif
  20901. #ifdef HAVE_MATH_H
  20902. #include <math.h>
  20903. #endif
  20904. int (*ptr)() = (int (*)())casinhf;
  20905. int
  20906. main ()
  20907. {
  20908. return 0;
  20909. }
  20910. _ACEOF
  20911. if ac_fn_c_try_link "$LINENO"; then :
  20912. gcc_cv_math_func_casinhf=yes
  20913. else
  20914. gcc_cv_math_func_casinhf=no
  20915. fi
  20916. rm -f core conftest.err conftest.$ac_objext \
  20917. conftest$ac_exeext conftest.$ac_ext
  20918. fi
  20919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
  20920. $as_echo "$gcc_cv_math_func_casinhf" >&6; }
  20921. if test $gcc_cv_math_func_casinhf = yes; then
  20922. cat >>confdefs.h <<_ACEOF
  20923. #define HAVE_CASINHF 1
  20924. _ACEOF
  20925. fi
  20926. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
  20927. $as_echo_n "checking for casinhl... " >&6; }
  20928. if test "${gcc_cv_math_func_casinhl+set}" = set; then :
  20929. $as_echo_n "(cached) " >&6
  20930. else
  20931. if test x$gcc_no_link = xyes; then
  20932. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20933. fi
  20934. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20935. /* end confdefs.h. */
  20936. #ifdef HAVE_COMPLEX_H
  20937. #include <complex.h>
  20938. #endif
  20939. #ifdef HAVE_MATH_H
  20940. #include <math.h>
  20941. #endif
  20942. int (*ptr)() = (int (*)())casinhl;
  20943. int
  20944. main ()
  20945. {
  20946. return 0;
  20947. }
  20948. _ACEOF
  20949. if ac_fn_c_try_link "$LINENO"; then :
  20950. gcc_cv_math_func_casinhl=yes
  20951. else
  20952. gcc_cv_math_func_casinhl=no
  20953. fi
  20954. rm -f core conftest.err conftest.$ac_objext \
  20955. conftest$ac_exeext conftest.$ac_ext
  20956. fi
  20957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
  20958. $as_echo "$gcc_cv_math_func_casinhl" >&6; }
  20959. if test $gcc_cv_math_func_casinhl = yes; then
  20960. cat >>confdefs.h <<_ACEOF
  20961. #define HAVE_CASINHL 1
  20962. _ACEOF
  20963. fi
  20964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
  20965. $as_echo_n "checking for casinl... " >&6; }
  20966. if test "${gcc_cv_math_func_casinl+set}" = set; then :
  20967. $as_echo_n "(cached) " >&6
  20968. else
  20969. if test x$gcc_no_link = xyes; then
  20970. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  20971. fi
  20972. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20973. /* end confdefs.h. */
  20974. #ifdef HAVE_COMPLEX_H
  20975. #include <complex.h>
  20976. #endif
  20977. #ifdef HAVE_MATH_H
  20978. #include <math.h>
  20979. #endif
  20980. int (*ptr)() = (int (*)())casinl;
  20981. int
  20982. main ()
  20983. {
  20984. return 0;
  20985. }
  20986. _ACEOF
  20987. if ac_fn_c_try_link "$LINENO"; then :
  20988. gcc_cv_math_func_casinl=yes
  20989. else
  20990. gcc_cv_math_func_casinl=no
  20991. fi
  20992. rm -f core conftest.err conftest.$ac_objext \
  20993. conftest$ac_exeext conftest.$ac_ext
  20994. fi
  20995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
  20996. $as_echo "$gcc_cv_math_func_casinl" >&6; }
  20997. if test $gcc_cv_math_func_casinl = yes; then
  20998. cat >>confdefs.h <<_ACEOF
  20999. #define HAVE_CASINL 1
  21000. _ACEOF
  21001. fi
  21002. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
  21003. $as_echo_n "checking for catan... " >&6; }
  21004. if test "${gcc_cv_math_func_catan+set}" = set; then :
  21005. $as_echo_n "(cached) " >&6
  21006. else
  21007. if test x$gcc_no_link = xyes; then
  21008. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21009. fi
  21010. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21011. /* end confdefs.h. */
  21012. #ifdef HAVE_COMPLEX_H
  21013. #include <complex.h>
  21014. #endif
  21015. #ifdef HAVE_MATH_H
  21016. #include <math.h>
  21017. #endif
  21018. int (*ptr)() = (int (*)())catan;
  21019. int
  21020. main ()
  21021. {
  21022. return 0;
  21023. }
  21024. _ACEOF
  21025. if ac_fn_c_try_link "$LINENO"; then :
  21026. gcc_cv_math_func_catan=yes
  21027. else
  21028. gcc_cv_math_func_catan=no
  21029. fi
  21030. rm -f core conftest.err conftest.$ac_objext \
  21031. conftest$ac_exeext conftest.$ac_ext
  21032. fi
  21033. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
  21034. $as_echo "$gcc_cv_math_func_catan" >&6; }
  21035. if test $gcc_cv_math_func_catan = yes; then
  21036. cat >>confdefs.h <<_ACEOF
  21037. #define HAVE_CATAN 1
  21038. _ACEOF
  21039. fi
  21040. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
  21041. $as_echo_n "checking for catanf... " >&6; }
  21042. if test "${gcc_cv_math_func_catanf+set}" = set; then :
  21043. $as_echo_n "(cached) " >&6
  21044. else
  21045. if test x$gcc_no_link = xyes; then
  21046. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21047. fi
  21048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21049. /* end confdefs.h. */
  21050. #ifdef HAVE_COMPLEX_H
  21051. #include <complex.h>
  21052. #endif
  21053. #ifdef HAVE_MATH_H
  21054. #include <math.h>
  21055. #endif
  21056. int (*ptr)() = (int (*)())catanf;
  21057. int
  21058. main ()
  21059. {
  21060. return 0;
  21061. }
  21062. _ACEOF
  21063. if ac_fn_c_try_link "$LINENO"; then :
  21064. gcc_cv_math_func_catanf=yes
  21065. else
  21066. gcc_cv_math_func_catanf=no
  21067. fi
  21068. rm -f core conftest.err conftest.$ac_objext \
  21069. conftest$ac_exeext conftest.$ac_ext
  21070. fi
  21071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
  21072. $as_echo "$gcc_cv_math_func_catanf" >&6; }
  21073. if test $gcc_cv_math_func_catanf = yes; then
  21074. cat >>confdefs.h <<_ACEOF
  21075. #define HAVE_CATANF 1
  21076. _ACEOF
  21077. fi
  21078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
  21079. $as_echo_n "checking for catanh... " >&6; }
  21080. if test "${gcc_cv_math_func_catanh+set}" = set; then :
  21081. $as_echo_n "(cached) " >&6
  21082. else
  21083. if test x$gcc_no_link = xyes; then
  21084. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21085. fi
  21086. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21087. /* end confdefs.h. */
  21088. #ifdef HAVE_COMPLEX_H
  21089. #include <complex.h>
  21090. #endif
  21091. #ifdef HAVE_MATH_H
  21092. #include <math.h>
  21093. #endif
  21094. int (*ptr)() = (int (*)())catanh;
  21095. int
  21096. main ()
  21097. {
  21098. return 0;
  21099. }
  21100. _ACEOF
  21101. if ac_fn_c_try_link "$LINENO"; then :
  21102. gcc_cv_math_func_catanh=yes
  21103. else
  21104. gcc_cv_math_func_catanh=no
  21105. fi
  21106. rm -f core conftest.err conftest.$ac_objext \
  21107. conftest$ac_exeext conftest.$ac_ext
  21108. fi
  21109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
  21110. $as_echo "$gcc_cv_math_func_catanh" >&6; }
  21111. if test $gcc_cv_math_func_catanh = yes; then
  21112. cat >>confdefs.h <<_ACEOF
  21113. #define HAVE_CATANH 1
  21114. _ACEOF
  21115. fi
  21116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
  21117. $as_echo_n "checking for catanhf... " >&6; }
  21118. if test "${gcc_cv_math_func_catanhf+set}" = set; then :
  21119. $as_echo_n "(cached) " >&6
  21120. else
  21121. if test x$gcc_no_link = xyes; then
  21122. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21123. fi
  21124. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21125. /* end confdefs.h. */
  21126. #ifdef HAVE_COMPLEX_H
  21127. #include <complex.h>
  21128. #endif
  21129. #ifdef HAVE_MATH_H
  21130. #include <math.h>
  21131. #endif
  21132. int (*ptr)() = (int (*)())catanhf;
  21133. int
  21134. main ()
  21135. {
  21136. return 0;
  21137. }
  21138. _ACEOF
  21139. if ac_fn_c_try_link "$LINENO"; then :
  21140. gcc_cv_math_func_catanhf=yes
  21141. else
  21142. gcc_cv_math_func_catanhf=no
  21143. fi
  21144. rm -f core conftest.err conftest.$ac_objext \
  21145. conftest$ac_exeext conftest.$ac_ext
  21146. fi
  21147. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
  21148. $as_echo "$gcc_cv_math_func_catanhf" >&6; }
  21149. if test $gcc_cv_math_func_catanhf = yes; then
  21150. cat >>confdefs.h <<_ACEOF
  21151. #define HAVE_CATANHF 1
  21152. _ACEOF
  21153. fi
  21154. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
  21155. $as_echo_n "checking for catanhl... " >&6; }
  21156. if test "${gcc_cv_math_func_catanhl+set}" = set; then :
  21157. $as_echo_n "(cached) " >&6
  21158. else
  21159. if test x$gcc_no_link = xyes; then
  21160. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21161. fi
  21162. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21163. /* end confdefs.h. */
  21164. #ifdef HAVE_COMPLEX_H
  21165. #include <complex.h>
  21166. #endif
  21167. #ifdef HAVE_MATH_H
  21168. #include <math.h>
  21169. #endif
  21170. int (*ptr)() = (int (*)())catanhl;
  21171. int
  21172. main ()
  21173. {
  21174. return 0;
  21175. }
  21176. _ACEOF
  21177. if ac_fn_c_try_link "$LINENO"; then :
  21178. gcc_cv_math_func_catanhl=yes
  21179. else
  21180. gcc_cv_math_func_catanhl=no
  21181. fi
  21182. rm -f core conftest.err conftest.$ac_objext \
  21183. conftest$ac_exeext conftest.$ac_ext
  21184. fi
  21185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
  21186. $as_echo "$gcc_cv_math_func_catanhl" >&6; }
  21187. if test $gcc_cv_math_func_catanhl = yes; then
  21188. cat >>confdefs.h <<_ACEOF
  21189. #define HAVE_CATANHL 1
  21190. _ACEOF
  21191. fi
  21192. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
  21193. $as_echo_n "checking for catanl... " >&6; }
  21194. if test "${gcc_cv_math_func_catanl+set}" = set; then :
  21195. $as_echo_n "(cached) " >&6
  21196. else
  21197. if test x$gcc_no_link = xyes; then
  21198. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21199. fi
  21200. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21201. /* end confdefs.h. */
  21202. #ifdef HAVE_COMPLEX_H
  21203. #include <complex.h>
  21204. #endif
  21205. #ifdef HAVE_MATH_H
  21206. #include <math.h>
  21207. #endif
  21208. int (*ptr)() = (int (*)())catanl;
  21209. int
  21210. main ()
  21211. {
  21212. return 0;
  21213. }
  21214. _ACEOF
  21215. if ac_fn_c_try_link "$LINENO"; then :
  21216. gcc_cv_math_func_catanl=yes
  21217. else
  21218. gcc_cv_math_func_catanl=no
  21219. fi
  21220. rm -f core conftest.err conftest.$ac_objext \
  21221. conftest$ac_exeext conftest.$ac_ext
  21222. fi
  21223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
  21224. $as_echo "$gcc_cv_math_func_catanl" >&6; }
  21225. if test $gcc_cv_math_func_catanl = yes; then
  21226. cat >>confdefs.h <<_ACEOF
  21227. #define HAVE_CATANL 1
  21228. _ACEOF
  21229. fi
  21230. # On AIX, clog is present in libm as __clog
  21231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
  21232. $as_echo_n "checking for __clog in -lm... " >&6; }
  21233. if test "${ac_cv_lib_m___clog+set}" = set; then :
  21234. $as_echo_n "(cached) " >&6
  21235. else
  21236. ac_check_lib_save_LIBS=$LIBS
  21237. LIBS="-lm $LIBS"
  21238. if test x$gcc_no_link = xyes; then
  21239. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21240. fi
  21241. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21242. /* end confdefs.h. */
  21243. /* Override any GCC internal prototype to avoid an error.
  21244. Use char because int might match the return type of a GCC
  21245. builtin and then its argument prototype would still apply. */
  21246. #ifdef __cplusplus
  21247. extern "C"
  21248. #endif
  21249. char __clog ();
  21250. int
  21251. main ()
  21252. {
  21253. return __clog ();
  21254. ;
  21255. return 0;
  21256. }
  21257. _ACEOF
  21258. if ac_fn_c_try_link "$LINENO"; then :
  21259. ac_cv_lib_m___clog=yes
  21260. else
  21261. ac_cv_lib_m___clog=no
  21262. fi
  21263. rm -f core conftest.err conftest.$ac_objext \
  21264. conftest$ac_exeext conftest.$ac_ext
  21265. LIBS=$ac_check_lib_save_LIBS
  21266. fi
  21267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
  21268. $as_echo "$ac_cv_lib_m___clog" >&6; }
  21269. if test "x$ac_cv_lib_m___clog" = x""yes; then :
  21270. $as_echo "#define HAVE_CLOG 1" >>confdefs.h
  21271. fi
  21272. # Check whether the system has a working stat()
  21273. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
  21274. $as_echo_n "checking whether the target stat is reliable... " >&6; }
  21275. if test "${libgfor_cv_have_working_stat+set}" = set; then :
  21276. $as_echo_n "(cached) " >&6
  21277. else
  21278. if test "$cross_compiling" = yes; then :
  21279. case "${target}" in
  21280. *mingw*) libgfor_cv_have_working_stat=no ;;
  21281. *) libgfor_cv_have_working_stat=yes;;
  21282. esac
  21283. else
  21284. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21285. /* end confdefs.h. */
  21286. #include <stdio.h>
  21287. #include <sys/types.h>
  21288. #include <sys/stat.h>
  21289. #include <unistd.h>
  21290. int main ()
  21291. {
  21292. FILE *f, *g;
  21293. struct stat st1, st2;
  21294. f = fopen ("foo", "w");
  21295. g = fopen ("bar", "w");
  21296. if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
  21297. return 1;
  21298. if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
  21299. return 1;
  21300. fclose(f);
  21301. fclose(g);
  21302. return 0;
  21303. }
  21304. _ACEOF
  21305. if ac_fn_c_try_run "$LINENO"; then :
  21306. libgfor_cv_have_working_stat=yes
  21307. else
  21308. libgfor_cv_have_working_stat=no
  21309. fi
  21310. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21311. conftest.$ac_objext conftest.beam conftest.$ac_ext
  21312. fi
  21313. fi
  21314. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
  21315. $as_echo "$libgfor_cv_have_working_stat" >&6; }
  21316. if test x"$libgfor_cv_have_working_stat" = xyes; then
  21317. $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
  21318. fi
  21319. # Check whether __mingw_snprintf() is present
  21320. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
  21321. $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
  21322. if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
  21323. $as_echo_n "(cached) " >&6
  21324. else
  21325. if test x$gcc_no_link = xyes; then
  21326. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21327. fi
  21328. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21329. /* end confdefs.h. */
  21330. #include <stdio.h>
  21331. extern int __mingw_snprintf (char *, size_t, const char *, ...);
  21332. int
  21333. main ()
  21334. {
  21335. __mingw_snprintf (NULL, 0, "%d\n", 1);
  21336. ;
  21337. return 0;
  21338. }
  21339. _ACEOF
  21340. if ac_fn_c_try_link "$LINENO"; then :
  21341. eval "libgfor_cv_have_mingw_snprintf=yes"
  21342. else
  21343. eval "libgfor_cv_have_mingw_snprintf=no"
  21344. fi
  21345. rm -f core conftest.err conftest.$ac_objext \
  21346. conftest$ac_exeext conftest.$ac_ext
  21347. fi
  21348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
  21349. $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
  21350. if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
  21351. $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
  21352. fi
  21353. # Check whether libquadmath should be used
  21354. # Check whether --enable-libquadmath-support was given.
  21355. if test "${enable_libquadmath_support+set}" = set; then :
  21356. enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
  21357. else
  21358. ENABLE_LIBQUADMATH_SUPPORT=yes
  21359. fi
  21360. enable_libquadmath_support=
  21361. if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
  21362. enable_libquadmath_support=no
  21363. fi
  21364. # Check whether we have a __float128 type, depends on enable_libquadmath_support
  21365. LIBQUADSPEC=
  21366. if test "x$enable_libquadmath_support" != xno; then
  21367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
  21368. $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
  21369. if test "${libgfor_cv_have_float128+set}" = set; then :
  21370. $as_echo_n "(cached) " >&6
  21371. else
  21372. if test x$gcc_no_link = xyes; then
  21373. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21374. /* end confdefs.h. */
  21375. typedef _Complex float __attribute__((mode(TC))) __complex128;
  21376. __float128 foo (__float128 x)
  21377. {
  21378. __complex128 z1, z2;
  21379. z1 = x;
  21380. z2 = x / 7.Q;
  21381. z2 /= z1;
  21382. return (__float128) z2;
  21383. }
  21384. __float128 bar (__float128 x)
  21385. {
  21386. return x * __builtin_huge_valq ();
  21387. }
  21388. int
  21389. main ()
  21390. {
  21391. foo (1.2Q);
  21392. bar (1.2Q);
  21393. ;
  21394. return 0;
  21395. }
  21396. _ACEOF
  21397. if ac_fn_c_try_compile "$LINENO"; then :
  21398. libgfor_cv_have_float128=yes
  21399. else
  21400. libgfor_cv_have_float128=no
  21401. fi
  21402. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21403. else
  21404. if test x$gcc_no_link = xyes; then
  21405. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21406. fi
  21407. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21408. /* end confdefs.h. */
  21409. typedef _Complex float __attribute__((mode(TC))) __complex128;
  21410. __float128 foo (__float128 x)
  21411. {
  21412. __complex128 z1, z2;
  21413. z1 = x;
  21414. z2 = x / 7.Q;
  21415. z2 /= z1;
  21416. return (__float128) z2;
  21417. }
  21418. __float128 bar (__float128 x)
  21419. {
  21420. return x * __builtin_huge_valq ();
  21421. }
  21422. int
  21423. main ()
  21424. {
  21425. foo (1.2Q);
  21426. bar (1.2Q);
  21427. ;
  21428. return 0;
  21429. }
  21430. _ACEOF
  21431. if ac_fn_c_try_link "$LINENO"; then :
  21432. libgfor_cv_have_float128=yes
  21433. else
  21434. libgfor_cv_have_float128=no
  21435. fi
  21436. rm -f core conftest.err conftest.$ac_objext \
  21437. conftest$ac_exeext conftest.$ac_ext
  21438. fi
  21439. fi
  21440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
  21441. $as_echo "$libgfor_cv_have_float128" >&6; }
  21442. if test "x$libgfor_cv_have_float128" = xyes; then
  21443. $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
  21444. ac_xsave_c_werror_flag=$ac_c_werror_flag
  21445. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
  21446. $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
  21447. if test "${libgfor_cv_have_as_needed+set}" = set; then :
  21448. $as_echo_n "(cached) " >&6
  21449. else
  21450. # Test for native Solaris options first.
  21451. # No whitespace after -z to pass it through -Wl.
  21452. libgfor_cv_as_needed_option="-zignore"
  21453. libgfor_cv_no_as_needed_option="-zrecord"
  21454. save_LDFLAGS="$LDFLAGS"
  21455. LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
  21456. libgfor_cv_have_as_needed=no
  21457. ac_c_werror_flag=yes
  21458. if test x$gcc_no_link = xyes; then
  21459. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21460. fi
  21461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21462. /* end confdefs.h. */
  21463. int
  21464. main ()
  21465. {
  21466. ;
  21467. return 0;
  21468. }
  21469. _ACEOF
  21470. if ac_fn_c_try_link "$LINENO"; then :
  21471. libgfor_cv_have_as_needed=yes
  21472. else
  21473. libgfor_cv_have_as_needed=no
  21474. fi
  21475. rm -f core conftest.err conftest.$ac_objext \
  21476. conftest$ac_exeext conftest.$ac_ext
  21477. LDFLAGS="$save_LDFLAGS"
  21478. if test "x$libgfor_cv_have_as_needed" = xno; then
  21479. libgfor_cv_as_needed_option="--as-needed"
  21480. libgfor_cv_no_as_needed_option="--no-as-needed"
  21481. save_LDFLAGS="$LDFLAGS"
  21482. LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
  21483. libgfor_cv_have_as_needed=no
  21484. ac_c_werror_flag=yes
  21485. if test x$gcc_no_link = xyes; then
  21486. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21487. fi
  21488. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21489. /* end confdefs.h. */
  21490. int
  21491. main ()
  21492. {
  21493. ;
  21494. return 0;
  21495. }
  21496. _ACEOF
  21497. if ac_fn_c_try_link "$LINENO"; then :
  21498. libgfor_cv_have_as_needed=yes
  21499. else
  21500. libgfor_cv_have_as_needed=no
  21501. fi
  21502. rm -f core conftest.err conftest.$ac_objext \
  21503. conftest$ac_exeext conftest.$ac_ext
  21504. LDFLAGS="$save_LDFLAGS"
  21505. fi
  21506. ac_c_werror_flag=$ac_xsave_c_werror_flag
  21507. fi
  21508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
  21509. $as_echo "$libgfor_cv_have_as_needed" >&6; }
  21510. if test "x$libgfor_cv_have_as_needed" = xyes; then
  21511. LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
  21512. else
  21513. LIBQUADSPEC="-lquadmath"
  21514. fi
  21515. if test -f ../libquadmath/libquadmath.la; then
  21516. LIBQUADLIB=../libquadmath/libquadmath.la
  21517. LIBQUADLIB_DEP=../libquadmath/libquadmath.la
  21518. LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
  21519. else
  21520. LIBQUADLIB="-lquadmath"
  21521. LIBQUADLIB_DEP=
  21522. LIBQUADINCLUDE=
  21523. fi
  21524. fi
  21525. else
  21526. # for --disable-quadmath
  21527. LIBQUADLIB=
  21528. LIBQUADLIB_DEP=
  21529. LIBQUADINCLUDE=
  21530. fi
  21531. if test "x$libgfor_cv_have_float128" = xyes; then
  21532. LIBGFOR_BUILD_QUAD_TRUE=
  21533. LIBGFOR_BUILD_QUAD_FALSE='#'
  21534. else
  21535. LIBGFOR_BUILD_QUAD_TRUE='#'
  21536. LIBGFOR_BUILD_QUAD_FALSE=
  21537. fi
  21538. # Check for GNU libc feenableexcept
  21539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
  21540. $as_echo_n "checking for feenableexcept in -lm... " >&6; }
  21541. if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
  21542. $as_echo_n "(cached) " >&6
  21543. else
  21544. ac_check_lib_save_LIBS=$LIBS
  21545. LIBS="-lm $LIBS"
  21546. if test x$gcc_no_link = xyes; then
  21547. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21548. fi
  21549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21550. /* end confdefs.h. */
  21551. /* Override any GCC internal prototype to avoid an error.
  21552. Use char because int might match the return type of a GCC
  21553. builtin and then its argument prototype would still apply. */
  21554. #ifdef __cplusplus
  21555. extern "C"
  21556. #endif
  21557. char feenableexcept ();
  21558. int
  21559. main ()
  21560. {
  21561. return feenableexcept ();
  21562. ;
  21563. return 0;
  21564. }
  21565. _ACEOF
  21566. if ac_fn_c_try_link "$LINENO"; then :
  21567. ac_cv_lib_m_feenableexcept=yes
  21568. else
  21569. ac_cv_lib_m_feenableexcept=no
  21570. fi
  21571. rm -f core conftest.err conftest.$ac_objext \
  21572. conftest$ac_exeext conftest.$ac_ext
  21573. LIBS=$ac_check_lib_save_LIBS
  21574. fi
  21575. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
  21576. $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
  21577. if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
  21578. have_feenableexcept=yes
  21579. $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
  21580. fi
  21581. # At least for glibc, clock_gettime is in librt. But don't
  21582. # pull that in if it still doesn't give us the function we want. This
  21583. # test is copied from libgomp, and modified to not link in -lrt as
  21584. # libgfortran calls clock_gettime via a weak reference if it's found
  21585. # in librt.
  21586. if test "$ac_cv_func_clock_gettime" = no; then
  21587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
  21588. $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
  21589. if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
  21590. $as_echo_n "(cached) " >&6
  21591. else
  21592. ac_check_lib_save_LIBS=$LIBS
  21593. LIBS="-lrt $LIBS"
  21594. if test x$gcc_no_link = xyes; then
  21595. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21596. fi
  21597. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21598. /* end confdefs.h. */
  21599. /* Override any GCC internal prototype to avoid an error.
  21600. Use char because int might match the return type of a GCC
  21601. builtin and then its argument prototype would still apply. */
  21602. #ifdef __cplusplus
  21603. extern "C"
  21604. #endif
  21605. char clock_gettime ();
  21606. int
  21607. main ()
  21608. {
  21609. return clock_gettime ();
  21610. ;
  21611. return 0;
  21612. }
  21613. _ACEOF
  21614. if ac_fn_c_try_link "$LINENO"; then :
  21615. ac_cv_lib_rt_clock_gettime=yes
  21616. else
  21617. ac_cv_lib_rt_clock_gettime=no
  21618. fi
  21619. rm -f core conftest.err conftest.$ac_objext \
  21620. conftest$ac_exeext conftest.$ac_ext
  21621. LIBS=$ac_check_lib_save_LIBS
  21622. fi
  21623. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
  21624. $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
  21625. if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
  21626. $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
  21627. fi
  21628. fi
  21629. # Check for SysV fpsetmask
  21630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
  21631. $as_echo_n "checking whether fpsetmask is present... " >&6; }
  21632. if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
  21633. $as_echo_n "(cached) " >&6
  21634. else
  21635. if test x$gcc_no_link = xyes; then
  21636. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21637. fi
  21638. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21639. /* end confdefs.h. */
  21640. #if HAVE_FLOATINGPOINT_H
  21641. # include <floatingpoint.h>
  21642. #endif /* HAVE_FLOATINGPOINT_H */
  21643. #if HAVE_IEEEFP_H
  21644. # include <ieeefp.h>
  21645. #endif /* HAVE_IEEEFP_H */
  21646. int
  21647. main ()
  21648. {
  21649. fpsetmask(0);
  21650. ;
  21651. return 0;
  21652. }
  21653. _ACEOF
  21654. if ac_fn_c_try_link "$LINENO"; then :
  21655. eval "libgfor_cv_have_fpsetmask=yes"
  21656. else
  21657. eval "libgfor_cv_have_fpsetmask=no"
  21658. fi
  21659. rm -f core conftest.err conftest.$ac_objext \
  21660. conftest$ac_exeext conftest.$ac_ext
  21661. fi
  21662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
  21663. $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
  21664. if test x"$libgfor_cv_have_fpsetmask" = xyes; then
  21665. have_fpsetmask=yes
  21666. $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
  21667. fi
  21668. ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
  21669. #ifdef HAVE_IEEEFP_H
  21670. #include <ieeefp.h>
  21671. #endif
  21672. #include <math.h>
  21673. "
  21674. if test "x$ac_cv_type_fp_except" = x""yes; then :
  21675. cat >>confdefs.h <<_ACEOF
  21676. #define HAVE_FP_EXCEPT 1
  21677. _ACEOF
  21678. fi
  21679. ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
  21680. #ifdef HAVE_IEEEFP_H
  21681. #include <ieeefp.h>
  21682. #endif
  21683. #include <math.h>
  21684. "
  21685. if test "x$ac_cv_type_fp_except_t" = x""yes; then :
  21686. cat >>confdefs.h <<_ACEOF
  21687. #define HAVE_FP_EXCEPT_T 1
  21688. _ACEOF
  21689. fi
  21690. ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
  21691. #ifdef HAVE_IEEEFP_H
  21692. #include <ieeefp.h>
  21693. #endif
  21694. #include <math.h>
  21695. "
  21696. if test "x$ac_cv_type_fp_rnd" = x""yes; then :
  21697. cat >>confdefs.h <<_ACEOF
  21698. #define HAVE_FP_RND 1
  21699. _ACEOF
  21700. fi
  21701. ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
  21702. #ifdef HAVE_IEEEFP_H
  21703. #include <ieeefp.h>
  21704. #endif
  21705. #include <math.h>
  21706. "
  21707. if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
  21708. cat >>confdefs.h <<_ACEOF
  21709. #define HAVE_FP_RND_T 1
  21710. _ACEOF
  21711. fi
  21712. # Check whether we have fpsetsticky or fpresetsticky
  21713. ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
  21714. if test "x$ac_cv_func_fpsetsticky" = x""yes; then :
  21715. have_fpsetsticky=yes
  21716. $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
  21717. fi
  21718. ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
  21719. if test "x$ac_cv_func_fpresetsticky" = x""yes; then :
  21720. have_fpresetsticky=yes
  21721. $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
  21722. fi
  21723. # Check for AIX fp_trap and fp_enable
  21724. ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
  21725. if test "x$ac_cv_func_fp_trap" = x""yes; then :
  21726. have_fp_trap=yes
  21727. $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
  21728. fi
  21729. ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
  21730. if test "x$ac_cv_func_fp_enable" = x""yes; then :
  21731. have_fp_enable=yes
  21732. $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
  21733. fi
  21734. # Runs configure.host to set up necessary host-dependent shell variables.
  21735. # We then display a message about it, and propagate them through the
  21736. # build chain.
  21737. . ${srcdir}/configure.host
  21738. { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
  21739. $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
  21740. { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
  21741. $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
  21742. FPU_HOST_HEADER=config/${fpu_host}.h
  21743. # Whether we will build the IEEE modules
  21744. if test x${ieee_support} = xyes; then
  21745. IEEE_SUPPORT_TRUE=
  21746. IEEE_SUPPORT_FALSE='#'
  21747. else
  21748. IEEE_SUPPORT_TRUE='#'
  21749. IEEE_SUPPORT_FALSE=
  21750. fi
  21751. # Some targets require additional compiler options for IEEE compatibility.
  21752. IEEE_FLAGS="${ieee_flags}"
  21753. # Check for POSIX getpwuid_r
  21754. #
  21755. # There are two versions of getpwuid_r, the POSIX one with 5
  21756. # arguments, and another one with 4 arguments used by at least HP-UX
  21757. # 10.2.
  21758. if test "$ac_cv_func_getpwuid_r" = "yes"; then
  21759. { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
  21760. $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
  21761. if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
  21762. $as_echo_n "(cached) " >&6
  21763. else
  21764. if test x$gcc_no_link = xyes; then
  21765. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21766. fi
  21767. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21768. /* end confdefs.h. */
  21769. #include <stdio.h>
  21770. #include <sys/types.h>
  21771. #include <pwd.h>
  21772. int
  21773. main ()
  21774. {
  21775. getpwuid_r(0, NULL, NULL, 0, NULL);
  21776. ;
  21777. return 0;
  21778. }
  21779. _ACEOF
  21780. if ac_fn_c_try_link "$LINENO"; then :
  21781. libgfor_cv_posix_getpwuid_r="yes"
  21782. else
  21783. libgfor_cv_posix_getpwuid_r="no"
  21784. fi
  21785. rm -f core conftest.err conftest.$ac_objext \
  21786. conftest$ac_exeext conftest.$ac_ext
  21787. fi
  21788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
  21789. $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
  21790. fi
  21791. if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
  21792. $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
  21793. fi
  21794. # Check out attribute support.
  21795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
  21796. $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
  21797. if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
  21798. $as_echo_n "(cached) " >&6
  21799. else
  21800. save_CFLAGS="$CFLAGS"
  21801. CFLAGS="$CFLAGS -Werror"
  21802. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21803. /* end confdefs.h. */
  21804. void __attribute__((visibility("hidden"))) foo(void) { }
  21805. int
  21806. main ()
  21807. {
  21808. ;
  21809. return 0;
  21810. }
  21811. _ACEOF
  21812. if ac_fn_c_try_compile "$LINENO"; then :
  21813. libgfor_cv_have_attribute_visibility=yes
  21814. else
  21815. libgfor_cv_have_attribute_visibility=no
  21816. fi
  21817. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21818. CFLAGS="$save_CFLAGS"
  21819. fi
  21820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
  21821. $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
  21822. if test $libgfor_cv_have_attribute_visibility = yes; then
  21823. $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
  21824. fi
  21825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
  21826. $as_echo_n "checking whether the target supports dllexport... " >&6; }
  21827. if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
  21828. $as_echo_n "(cached) " >&6
  21829. else
  21830. save_CFLAGS="$CFLAGS"
  21831. CFLAGS="$CFLAGS -Werror"
  21832. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21833. /* end confdefs.h. */
  21834. void __attribute__((dllexport)) foo(void) { }
  21835. int
  21836. main ()
  21837. {
  21838. ;
  21839. return 0;
  21840. }
  21841. _ACEOF
  21842. if ac_fn_c_try_compile "$LINENO"; then :
  21843. libgfor_cv_have_attribute_dllexport=yes
  21844. else
  21845. libgfor_cv_have_attribute_dllexport=no
  21846. fi
  21847. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21848. CFLAGS="$save_CFLAGS"
  21849. fi
  21850. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
  21851. $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
  21852. if test $libgfor_cv_have_attribute_dllexport = yes; then
  21853. $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
  21854. fi
  21855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
  21856. $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
  21857. if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
  21858. $as_echo_n "(cached) " >&6
  21859. else
  21860. if test x$gcc_no_link = xyes; then
  21861. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21862. fi
  21863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21864. /* end confdefs.h. */
  21865. void foo(void) { }
  21866. extern void bar(void) __attribute__((alias("foo")));
  21867. int
  21868. main ()
  21869. {
  21870. bar();
  21871. ;
  21872. return 0;
  21873. }
  21874. _ACEOF
  21875. if ac_fn_c_try_link "$LINENO"; then :
  21876. libgfor_cv_have_attribute_alias=yes
  21877. else
  21878. libgfor_cv_have_attribute_alias=no
  21879. fi
  21880. rm -f core conftest.err conftest.$ac_objext \
  21881. conftest$ac_exeext conftest.$ac_ext
  21882. fi
  21883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
  21884. $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
  21885. if test $libgfor_cv_have_attribute_alias = yes; then
  21886. $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
  21887. fi
  21888. # Check out sync builtins support.
  21889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
  21890. $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
  21891. if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
  21892. $as_echo_n "(cached) " >&6
  21893. else
  21894. if test x$gcc_no_link = xyes; then
  21895. as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
  21896. fi
  21897. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21898. /* end confdefs.h. */
  21899. int foovar = 0;
  21900. int
  21901. main ()
  21902. {
  21903. if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
  21904. if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
  21905. ;
  21906. return 0;
  21907. }
  21908. _ACEOF
  21909. if ac_fn_c_try_link "$LINENO"; then :
  21910. libgfor_cv_have_sync_fetch_and_add=yes
  21911. else
  21912. libgfor_cv_have_sync_fetch_and_add=no
  21913. fi
  21914. rm -f core conftest.err conftest.$ac_objext \
  21915. conftest$ac_exeext conftest.$ac_ext
  21916. fi
  21917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
  21918. $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
  21919. if test $libgfor_cv_have_sync_fetch_and_add = yes; then
  21920. $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
  21921. fi
  21922. # Check out #pragma weak.
  21923. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
  21924. $as_echo_n "checking whether pragma weak works... " >&6; }
  21925. if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
  21926. $as_echo_n "(cached) " >&6
  21927. else
  21928. gfor_save_CFLAGS="$CFLAGS"
  21929. CFLAGS="$CFLAGS -Wunknown-pragmas"
  21930. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21931. /* end confdefs.h. */
  21932. void foo (void);
  21933. #pragma weak foo
  21934. int
  21935. main ()
  21936. {
  21937. if (foo) foo ();
  21938. ;
  21939. return 0;
  21940. }
  21941. _ACEOF
  21942. if ac_fn_c_try_compile "$LINENO"; then :
  21943. libgfor_cv_have_pragma_weak=yes
  21944. else
  21945. libgfor_cv_have_pragma_weak=no
  21946. fi
  21947. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21948. fi
  21949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
  21950. $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
  21951. if test $libgfor_cv_have_pragma_weak = yes; then
  21952. $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
  21953. fi
  21954. case "$host" in
  21955. *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
  21956. $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
  21957. ;;
  21958. esac
  21959. # Various other checks on target
  21960. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
  21961. $as_echo_n "checking whether the target can unlink an open file... " >&6; }
  21962. if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
  21963. $as_echo_n "(cached) " >&6
  21964. else
  21965. if test "$cross_compiling" = yes; then :
  21966. case "${target}" in
  21967. *mingw*) libgfor_cv_have_unlink_open_file=no ;;
  21968. *) libgfor_cv_have_unlink_open_file=yes;;
  21969. esac
  21970. else
  21971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21972. /* end confdefs.h. */
  21973. #include <errno.h>
  21974. #include <fcntl.h>
  21975. #include <unistd.h>
  21976. #include <sys/stat.h>
  21977. int main ()
  21978. {
  21979. int fd;
  21980. fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
  21981. if (fd <= 0)
  21982. return 0;
  21983. if (unlink ("testfile") == -1)
  21984. return 1;
  21985. write (fd, "This is a test\n", 15);
  21986. close (fd);
  21987. if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
  21988. return 0;
  21989. else
  21990. return 1;
  21991. }
  21992. _ACEOF
  21993. if ac_fn_c_try_run "$LINENO"; then :
  21994. libgfor_cv_have_unlink_open_file=yes
  21995. else
  21996. libgfor_cv_have_unlink_open_file=no
  21997. fi
  21998. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21999. conftest.$ac_objext conftest.beam conftest.$ac_ext
  22000. fi
  22001. fi
  22002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
  22003. $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
  22004. if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
  22005. $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
  22006. fi
  22007. # Check whether line terminator is LF or CRLF
  22008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
  22009. $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
  22010. if test "${libgfor_cv_have_crlf+set}" = set; then :
  22011. $as_echo_n "(cached) " >&6
  22012. else
  22013. if test "$cross_compiling" = yes; then :
  22014. case "${target}" in
  22015. *mingw*) libgfor_cv_have_crlf=yes ;;
  22016. *) libgfor_cv_have_crlf=no;;
  22017. esac
  22018. else
  22019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22020. /* end confdefs.h. */
  22021. /* This test program should exit with status 0 if system uses a CRLF as
  22022. line terminator, and status 1 otherwise.
  22023. Since it is used to check for mingw systems, and should return 0 in any
  22024. other case, in case of a failure we will not use CRLF. */
  22025. #include <sys/stat.h>
  22026. #include <stdlib.h>
  22027. #include <fcntl.h>
  22028. #include <stdio.h>
  22029. int main ()
  22030. {
  22031. #ifndef O_BINARY
  22032. exit(1);
  22033. #else
  22034. int fd, bytes;
  22035. char buff[5];
  22036. fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
  22037. if (fd < 0)
  22038. exit(1);
  22039. if (write (fd, "\n", 1) < 0)
  22040. perror ("write");
  22041. close (fd);
  22042. if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
  22043. exit(1);
  22044. bytes = read (fd, buff, 5);
  22045. if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
  22046. exit(0);
  22047. else
  22048. exit(1);
  22049. #endif
  22050. }
  22051. _ACEOF
  22052. if ac_fn_c_try_run "$LINENO"; then :
  22053. libgfor_cv_have_crlf=yes
  22054. else
  22055. libgfor_cv_have_crlf=no
  22056. fi
  22057. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22058. conftest.$ac_objext conftest.beam conftest.$ac_ext
  22059. fi
  22060. fi
  22061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
  22062. $as_echo "$libgfor_cv_have_crlf" >&6; }
  22063. if test x"$libgfor_cv_have_crlf" = xyes; then
  22064. $as_echo "#define HAVE_CRLF 1" >>confdefs.h
  22065. fi
  22066. # Check whether we have _Unwind_GetIPInfo for backtrace
  22067. # Check whether --with-system-libunwind was given.
  22068. if test "${with_system_libunwind+set}" = set; then :
  22069. withval=$with_system_libunwind;
  22070. fi
  22071. # If system-libunwind was not specifically set, pick a default setting.
  22072. if test x$with_system_libunwind = x; then
  22073. case ${target} in
  22074. ia64-*-hpux*) with_system_libunwind=yes ;;
  22075. *) with_system_libunwind=no ;;
  22076. esac
  22077. fi
  22078. # Based on system-libunwind and target, do we have ipinfo?
  22079. if test x$with_system_libunwind = xyes; then
  22080. case ${target} in
  22081. ia64-*-*) have_unwind_getipinfo=no ;;
  22082. *) have_unwind_getipinfo=yes ;;
  22083. esac
  22084. else
  22085. # Darwin before version 9 does not have _Unwind_GetIPInfo.
  22086. case ${target} in
  22087. *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
  22088. *) have_unwind_getipinfo=yes ;;
  22089. esac
  22090. fi
  22091. if test x$have_unwind_getipinfo = xyes; then
  22092. $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
  22093. fi
  22094. cat >confcache <<\_ACEOF
  22095. # This file is a shell script that caches the results of configure
  22096. # tests run on this system so they can be shared between configure
  22097. # scripts and configure runs, see configure's option --config-cache.
  22098. # It is not useful on other systems. If it contains results you don't
  22099. # want to keep, you may remove or edit it.
  22100. #
  22101. # config.status only pays attention to the cache file if you give it
  22102. # the --recheck option to rerun configure.
  22103. #
  22104. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  22105. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  22106. # following values.
  22107. _ACEOF
  22108. # The following way of writing the cache mishandles newlines in values,
  22109. # but we know of no workaround that is simple, portable, and efficient.
  22110. # So, we kill variables containing newlines.
  22111. # Ultrix sh set writes to stderr and can't be redirected directly,
  22112. # and sets the high bit in the cache file unless we assign to the vars.
  22113. (
  22114. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  22115. eval ac_val=\$$ac_var
  22116. case $ac_val in #(
  22117. *${as_nl}*)
  22118. case $ac_var in #(
  22119. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  22120. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  22121. esac
  22122. case $ac_var in #(
  22123. _ | IFS | as_nl) ;; #(
  22124. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  22125. *) { eval $ac_var=; unset $ac_var;} ;;
  22126. esac ;;
  22127. esac
  22128. done
  22129. (set) 2>&1 |
  22130. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  22131. *${as_nl}ac_space=\ *)
  22132. # `set' does not quote correctly, so add quotes: double-quote
  22133. # substitution turns \\\\ into \\, and sed turns \\ into \.
  22134. sed -n \
  22135. "s/'/'\\\\''/g;
  22136. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  22137. ;; #(
  22138. *)
  22139. # `set' quotes correctly as required by POSIX, so do not add quotes.
  22140. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  22141. ;;
  22142. esac |
  22143. sort
  22144. ) |
  22145. sed '
  22146. /^ac_cv_env_/b end
  22147. t clear
  22148. :clear
  22149. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  22150. t end
  22151. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  22152. :end' >>confcache
  22153. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  22154. if test -w "$cache_file"; then
  22155. test "x$cache_file" != "x/dev/null" &&
  22156. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  22157. $as_echo "$as_me: updating cache $cache_file" >&6;}
  22158. cat confcache >$cache_file
  22159. else
  22160. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  22161. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  22162. fi
  22163. fi
  22164. rm -f confcache
  22165. if test ${multilib} = yes; then
  22166. multilib_arg="--enable-multilib"
  22167. else
  22168. multilib_arg=
  22169. fi
  22170. # Write our Makefile and spec file.
  22171. ac_config_files="$ac_config_files Makefile libgfortran.spec"
  22172. cat >confcache <<\_ACEOF
  22173. # This file is a shell script that caches the results of configure
  22174. # tests run on this system so they can be shared between configure
  22175. # scripts and configure runs, see configure's option --config-cache.
  22176. # It is not useful on other systems. If it contains results you don't
  22177. # want to keep, you may remove or edit it.
  22178. #
  22179. # config.status only pays attention to the cache file if you give it
  22180. # the --recheck option to rerun configure.
  22181. #
  22182. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  22183. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  22184. # following values.
  22185. _ACEOF
  22186. # The following way of writing the cache mishandles newlines in values,
  22187. # but we know of no workaround that is simple, portable, and efficient.
  22188. # So, we kill variables containing newlines.
  22189. # Ultrix sh set writes to stderr and can't be redirected directly,
  22190. # and sets the high bit in the cache file unless we assign to the vars.
  22191. (
  22192. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  22193. eval ac_val=\$$ac_var
  22194. case $ac_val in #(
  22195. *${as_nl}*)
  22196. case $ac_var in #(
  22197. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  22198. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  22199. esac
  22200. case $ac_var in #(
  22201. _ | IFS | as_nl) ;; #(
  22202. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  22203. *) { eval $ac_var=; unset $ac_var;} ;;
  22204. esac ;;
  22205. esac
  22206. done
  22207. (set) 2>&1 |
  22208. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  22209. *${as_nl}ac_space=\ *)
  22210. # `set' does not quote correctly, so add quotes: double-quote
  22211. # substitution turns \\\\ into \\, and sed turns \\ into \.
  22212. sed -n \
  22213. "s/'/'\\\\''/g;
  22214. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  22215. ;; #(
  22216. *)
  22217. # `set' quotes correctly as required by POSIX, so do not add quotes.
  22218. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  22219. ;;
  22220. esac |
  22221. sort
  22222. ) |
  22223. sed '
  22224. /^ac_cv_env_/b end
  22225. t clear
  22226. :clear
  22227. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  22228. t end
  22229. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  22230. :end' >>confcache
  22231. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  22232. if test -w "$cache_file"; then
  22233. test "x$cache_file" != "x/dev/null" &&
  22234. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  22235. $as_echo "$as_me: updating cache $cache_file" >&6;}
  22236. cat confcache >$cache_file
  22237. else
  22238. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  22239. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  22240. fi
  22241. fi
  22242. rm -f confcache
  22243. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  22244. # Let make expand exec_prefix.
  22245. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  22246. DEFS=-DHAVE_CONFIG_H
  22247. ac_libobjs=
  22248. ac_ltlibobjs=
  22249. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  22250. # 1. Remove the extension, and $U if already installed.
  22251. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  22252. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  22253. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  22254. # will be set to the directory where LIBOBJS objects are built.
  22255. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  22256. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  22257. done
  22258. LIBOBJS=$ac_libobjs
  22259. LTLIBOBJS=$ac_ltlibobjs
  22260. if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
  22261. as_fn_error "conditional \"onestep\" was never defined.
  22262. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22263. fi
  22264. if test -n "$EXEEXT"; then
  22265. am__EXEEXT_TRUE=
  22266. am__EXEEXT_FALSE='#'
  22267. else
  22268. am__EXEEXT_TRUE='#'
  22269. am__EXEEXT_FALSE=
  22270. fi
  22271. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  22272. as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  22273. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22274. fi
  22275. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  22276. as_fn_error "conditional \"AMDEP\" was never defined.
  22277. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22278. fi
  22279. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  22280. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  22281. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22282. fi
  22283. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  22284. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  22285. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22286. fi
  22287. if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
  22288. as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
  22289. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22290. fi
  22291. if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
  22292. as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
  22293. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22294. fi
  22295. if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
  22296. as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
  22297. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22298. fi
  22299. if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
  22300. as_fn_error "conditional \"LIBGFOR_MINIMAL\" was never defined.
  22301. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22302. fi
  22303. if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
  22304. as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
  22305. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22306. fi
  22307. if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
  22308. as_fn_error "conditional \"IEEE_SUPPORT\" was never defined.
  22309. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22310. fi
  22311. : ${CONFIG_STATUS=./config.status}
  22312. ac_write_fail=0
  22313. ac_clean_files_save=$ac_clean_files
  22314. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  22315. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  22316. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  22317. as_write_fail=0
  22318. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  22319. #! $SHELL
  22320. # Generated by $as_me.
  22321. # Run this file to recreate the current configuration.
  22322. # Compiler output produced by configure, useful for debugging
  22323. # configure, is in config.log if it exists.
  22324. debug=false
  22325. ac_cs_recheck=false
  22326. ac_cs_silent=false
  22327. SHELL=\${CONFIG_SHELL-$SHELL}
  22328. export SHELL
  22329. _ASEOF
  22330. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  22331. ## -------------------- ##
  22332. ## M4sh Initialization. ##
  22333. ## -------------------- ##
  22334. # Be more Bourne compatible
  22335. DUALCASE=1; export DUALCASE # for MKS sh
  22336. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  22337. emulate sh
  22338. NULLCMD=:
  22339. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22340. # is contrary to our usage. Disable this feature.
  22341. alias -g '${1+"$@"}'='"$@"'
  22342. setopt NO_GLOB_SUBST
  22343. else
  22344. case `(set -o) 2>/dev/null` in #(
  22345. *posix*) :
  22346. set -o posix ;; #(
  22347. *) :
  22348. ;;
  22349. esac
  22350. fi
  22351. as_nl='
  22352. '
  22353. export as_nl
  22354. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  22355. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  22356. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  22357. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  22358. # Prefer a ksh shell builtin over an external printf program on Solaris,
  22359. # but without wasting forks for bash or zsh.
  22360. if test -z "$BASH_VERSION$ZSH_VERSION" \
  22361. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  22362. as_echo='print -r --'
  22363. as_echo_n='print -rn --'
  22364. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  22365. as_echo='printf %s\n'
  22366. as_echo_n='printf %s'
  22367. else
  22368. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  22369. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  22370. as_echo_n='/usr/ucb/echo -n'
  22371. else
  22372. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  22373. as_echo_n_body='eval
  22374. arg=$1;
  22375. case $arg in #(
  22376. *"$as_nl"*)
  22377. expr "X$arg" : "X\\(.*\\)$as_nl";
  22378. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  22379. esac;
  22380. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  22381. '
  22382. export as_echo_n_body
  22383. as_echo_n='sh -c $as_echo_n_body as_echo'
  22384. fi
  22385. export as_echo_body
  22386. as_echo='sh -c $as_echo_body as_echo'
  22387. fi
  22388. # The user is always right.
  22389. if test "${PATH_SEPARATOR+set}" != set; then
  22390. PATH_SEPARATOR=:
  22391. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  22392. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  22393. PATH_SEPARATOR=';'
  22394. }
  22395. fi
  22396. # IFS
  22397. # We need space, tab and new line, in precisely that order. Quoting is
  22398. # there to prevent editors from complaining about space-tab.
  22399. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  22400. # splitting by setting IFS to empty value.)
  22401. IFS=" "" $as_nl"
  22402. # Find who we are. Look in the path if we contain no directory separator.
  22403. case $0 in #((
  22404. *[\\/]* ) as_myself=$0 ;;
  22405. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22406. for as_dir in $PATH
  22407. do
  22408. IFS=$as_save_IFS
  22409. test -z "$as_dir" && as_dir=.
  22410. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  22411. done
  22412. IFS=$as_save_IFS
  22413. ;;
  22414. esac
  22415. # We did not find ourselves, most probably we were run as `sh COMMAND'
  22416. # in which case we are not to be found in the path.
  22417. if test "x$as_myself" = x; then
  22418. as_myself=$0
  22419. fi
  22420. if test ! -f "$as_myself"; then
  22421. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  22422. exit 1
  22423. fi
  22424. # Unset variables that we do not need and which cause bugs (e.g. in
  22425. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  22426. # suppresses any "Segmentation fault" message there. '((' could
  22427. # trigger a bug in pdksh 5.2.14.
  22428. for as_var in BASH_ENV ENV MAIL MAILPATH
  22429. do eval test x\${$as_var+set} = xset \
  22430. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  22431. done
  22432. PS1='$ '
  22433. PS2='> '
  22434. PS4='+ '
  22435. # NLS nuisances.
  22436. LC_ALL=C
  22437. export LC_ALL
  22438. LANGUAGE=C
  22439. export LANGUAGE
  22440. # CDPATH.
  22441. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  22442. # as_fn_error ERROR [LINENO LOG_FD]
  22443. # ---------------------------------
  22444. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  22445. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  22446. # script with status $?, using 1 if that was 0.
  22447. as_fn_error ()
  22448. {
  22449. as_status=$?; test $as_status -eq 0 && as_status=1
  22450. if test "$3"; then
  22451. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  22452. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  22453. fi
  22454. $as_echo "$as_me: error: $1" >&2
  22455. as_fn_exit $as_status
  22456. } # as_fn_error
  22457. # as_fn_set_status STATUS
  22458. # -----------------------
  22459. # Set $? to STATUS, without forking.
  22460. as_fn_set_status ()
  22461. {
  22462. return $1
  22463. } # as_fn_set_status
  22464. # as_fn_exit STATUS
  22465. # -----------------
  22466. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  22467. as_fn_exit ()
  22468. {
  22469. set +e
  22470. as_fn_set_status $1
  22471. exit $1
  22472. } # as_fn_exit
  22473. # as_fn_unset VAR
  22474. # ---------------
  22475. # Portably unset VAR.
  22476. as_fn_unset ()
  22477. {
  22478. { eval $1=; unset $1;}
  22479. }
  22480. as_unset=as_fn_unset
  22481. # as_fn_append VAR VALUE
  22482. # ----------------------
  22483. # Append the text in VALUE to the end of the definition contained in VAR. Take
  22484. # advantage of any shell optimizations that allow amortized linear growth over
  22485. # repeated appends, instead of the typical quadratic growth present in naive
  22486. # implementations.
  22487. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  22488. eval 'as_fn_append ()
  22489. {
  22490. eval $1+=\$2
  22491. }'
  22492. else
  22493. as_fn_append ()
  22494. {
  22495. eval $1=\$$1\$2
  22496. }
  22497. fi # as_fn_append
  22498. # as_fn_arith ARG...
  22499. # ------------------
  22500. # Perform arithmetic evaluation on the ARGs, and store the result in the
  22501. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  22502. # must be portable across $(()) and expr.
  22503. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  22504. eval 'as_fn_arith ()
  22505. {
  22506. as_val=$(( $* ))
  22507. }'
  22508. else
  22509. as_fn_arith ()
  22510. {
  22511. as_val=`expr "$@" || test $? -eq 1`
  22512. }
  22513. fi # as_fn_arith
  22514. if expr a : '\(a\)' >/dev/null 2>&1 &&
  22515. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  22516. as_expr=expr
  22517. else
  22518. as_expr=false
  22519. fi
  22520. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  22521. as_basename=basename
  22522. else
  22523. as_basename=false
  22524. fi
  22525. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  22526. as_dirname=dirname
  22527. else
  22528. as_dirname=false
  22529. fi
  22530. as_me=`$as_basename -- "$0" ||
  22531. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  22532. X"$0" : 'X\(//\)$' \| \
  22533. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  22534. $as_echo X/"$0" |
  22535. sed '/^.*\/\([^/][^/]*\)\/*$/{
  22536. s//\1/
  22537. q
  22538. }
  22539. /^X\/\(\/\/\)$/{
  22540. s//\1/
  22541. q
  22542. }
  22543. /^X\/\(\/\).*/{
  22544. s//\1/
  22545. q
  22546. }
  22547. s/.*/./; q'`
  22548. # Avoid depending upon Character Ranges.
  22549. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  22550. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  22551. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  22552. as_cr_digits='0123456789'
  22553. as_cr_alnum=$as_cr_Letters$as_cr_digits
  22554. ECHO_C= ECHO_N= ECHO_T=
  22555. case `echo -n x` in #(((((
  22556. -n*)
  22557. case `echo 'xy\c'` in
  22558. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  22559. xy) ECHO_C='\c';;
  22560. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  22561. ECHO_T=' ';;
  22562. esac;;
  22563. *)
  22564. ECHO_N='-n';;
  22565. esac
  22566. rm -f conf$$ conf$$.exe conf$$.file
  22567. if test -d conf$$.dir; then
  22568. rm -f conf$$.dir/conf$$.file
  22569. else
  22570. rm -f conf$$.dir
  22571. mkdir conf$$.dir 2>/dev/null
  22572. fi
  22573. if (echo >conf$$.file) 2>/dev/null; then
  22574. if ln -s conf$$.file conf$$ 2>/dev/null; then
  22575. as_ln_s='ln -s'
  22576. # ... but there are two gotchas:
  22577. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  22578. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  22579. # In both cases, we have to default to `cp -p'.
  22580. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  22581. as_ln_s='cp -p'
  22582. elif ln conf$$.file conf$$ 2>/dev/null; then
  22583. as_ln_s=ln
  22584. else
  22585. as_ln_s='cp -p'
  22586. fi
  22587. else
  22588. as_ln_s='cp -p'
  22589. fi
  22590. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  22591. rmdir conf$$.dir 2>/dev/null
  22592. # as_fn_mkdir_p
  22593. # -------------
  22594. # Create "$as_dir" as a directory, including parents if necessary.
  22595. as_fn_mkdir_p ()
  22596. {
  22597. case $as_dir in #(
  22598. -*) as_dir=./$as_dir;;
  22599. esac
  22600. test -d "$as_dir" || eval $as_mkdir_p || {
  22601. as_dirs=
  22602. while :; do
  22603. case $as_dir in #(
  22604. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  22605. *) as_qdir=$as_dir;;
  22606. esac
  22607. as_dirs="'$as_qdir' $as_dirs"
  22608. as_dir=`$as_dirname -- "$as_dir" ||
  22609. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  22610. X"$as_dir" : 'X\(//\)[^/]' \| \
  22611. X"$as_dir" : 'X\(//\)$' \| \
  22612. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  22613. $as_echo X"$as_dir" |
  22614. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  22615. s//\1/
  22616. q
  22617. }
  22618. /^X\(\/\/\)[^/].*/{
  22619. s//\1/
  22620. q
  22621. }
  22622. /^X\(\/\/\)$/{
  22623. s//\1/
  22624. q
  22625. }
  22626. /^X\(\/\).*/{
  22627. s//\1/
  22628. q
  22629. }
  22630. s/.*/./; q'`
  22631. test -d "$as_dir" && break
  22632. done
  22633. test -z "$as_dirs" || eval "mkdir $as_dirs"
  22634. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  22635. } # as_fn_mkdir_p
  22636. if mkdir -p . 2>/dev/null; then
  22637. as_mkdir_p='mkdir -p "$as_dir"'
  22638. else
  22639. test -d ./-p && rmdir ./-p
  22640. as_mkdir_p=false
  22641. fi
  22642. if test -x / >/dev/null 2>&1; then
  22643. as_test_x='test -x'
  22644. else
  22645. if ls -dL / >/dev/null 2>&1; then
  22646. as_ls_L_option=L
  22647. else
  22648. as_ls_L_option=
  22649. fi
  22650. as_test_x='
  22651. eval sh -c '\''
  22652. if test -d "$1"; then
  22653. test -d "$1/.";
  22654. else
  22655. case $1 in #(
  22656. -*)set "./$1";;
  22657. esac;
  22658. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  22659. ???[sx]*):;;*)false;;esac;fi
  22660. '\'' sh
  22661. '
  22662. fi
  22663. as_executable_p=$as_test_x
  22664. # Sed expression to map a string onto a valid CPP name.
  22665. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  22666. # Sed expression to map a string onto a valid variable name.
  22667. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  22668. exec 6>&1
  22669. ## ----------------------------------- ##
  22670. ## Main body of $CONFIG_STATUS script. ##
  22671. ## ----------------------------------- ##
  22672. _ASEOF
  22673. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  22674. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22675. # Save the log message, to keep $0 and so on meaningful, and to
  22676. # report actual input values of CONFIG_FILES etc. instead of their
  22677. # values after options handling.
  22678. ac_log="
  22679. This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
  22680. generated by GNU Autoconf 2.64. Invocation command line was
  22681. CONFIG_FILES = $CONFIG_FILES
  22682. CONFIG_HEADERS = $CONFIG_HEADERS
  22683. CONFIG_LINKS = $CONFIG_LINKS
  22684. CONFIG_COMMANDS = $CONFIG_COMMANDS
  22685. $ $0 $@
  22686. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  22687. "
  22688. _ACEOF
  22689. case $ac_config_files in *"
  22690. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  22691. esac
  22692. case $ac_config_headers in *"
  22693. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  22694. esac
  22695. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22696. # Files that config.status was made for.
  22697. config_files="$ac_config_files"
  22698. config_headers="$ac_config_headers"
  22699. config_commands="$ac_config_commands"
  22700. _ACEOF
  22701. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22702. ac_cs_usage="\
  22703. \`$as_me' instantiates files and other configuration actions
  22704. from templates according to the current configuration. Unless the files
  22705. and actions are specified as TAGs, all are instantiated by default.
  22706. Usage: $0 [OPTION]... [TAG]...
  22707. -h, --help print this help, then exit
  22708. -V, --version print version number and configuration settings, then exit
  22709. -q, --quiet, --silent
  22710. do not print progress messages
  22711. -d, --debug don't remove temporary files
  22712. --recheck update $as_me by reconfiguring in the same conditions
  22713. --file=FILE[:TEMPLATE]
  22714. instantiate the configuration file FILE
  22715. --header=FILE[:TEMPLATE]
  22716. instantiate the configuration header FILE
  22717. Configuration files:
  22718. $config_files
  22719. Configuration headers:
  22720. $config_headers
  22721. Configuration commands:
  22722. $config_commands
  22723. Report bugs to the package provider.
  22724. GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
  22725. General help using GNU software: <http://www.gnu.org/gethelp/>."
  22726. _ACEOF
  22727. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22728. ac_cs_version="\\
  22729. GNU Fortran Runtime Library config.status 0.3
  22730. configured by $0, generated by GNU Autoconf 2.64,
  22731. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  22732. Copyright (C) 2009 Free Software Foundation, Inc.
  22733. This config.status script is free software; the Free Software Foundation
  22734. gives unlimited permission to copy, distribute and modify it."
  22735. ac_pwd='$ac_pwd'
  22736. srcdir='$srcdir'
  22737. INSTALL='$INSTALL'
  22738. MKDIR_P='$MKDIR_P'
  22739. AWK='$AWK'
  22740. test -n "\$AWK" || AWK=awk
  22741. _ACEOF
  22742. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22743. # The default lists apply if the user does not specify any file.
  22744. ac_need_defaults=:
  22745. while test $# != 0
  22746. do
  22747. case $1 in
  22748. --*=*)
  22749. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  22750. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  22751. ac_shift=:
  22752. ;;
  22753. *)
  22754. ac_option=$1
  22755. ac_optarg=$2
  22756. ac_shift=shift
  22757. ;;
  22758. esac
  22759. case $ac_option in
  22760. # Handling of the options.
  22761. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  22762. ac_cs_recheck=: ;;
  22763. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  22764. $as_echo "$ac_cs_version"; exit ;;
  22765. --debug | --debu | --deb | --de | --d | -d )
  22766. debug=: ;;
  22767. --file | --fil | --fi | --f )
  22768. $ac_shift
  22769. case $ac_optarg in
  22770. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22771. esac
  22772. as_fn_append CONFIG_FILES " '$ac_optarg'"
  22773. ac_need_defaults=false;;
  22774. --header | --heade | --head | --hea )
  22775. $ac_shift
  22776. case $ac_optarg in
  22777. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  22778. esac
  22779. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  22780. ac_need_defaults=false;;
  22781. --he | --h)
  22782. # Conflict between --help and --header
  22783. as_fn_error "ambiguous option: \`$1'
  22784. Try \`$0 --help' for more information.";;
  22785. --help | --hel | -h )
  22786. $as_echo "$ac_cs_usage"; exit ;;
  22787. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  22788. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  22789. ac_cs_silent=: ;;
  22790. # This is an error.
  22791. -*) as_fn_error "unrecognized option: \`$1'
  22792. Try \`$0 --help' for more information." ;;
  22793. *) as_fn_append ac_config_targets " $1"
  22794. ac_need_defaults=false ;;
  22795. esac
  22796. shift
  22797. done
  22798. ac_configure_extra_args=
  22799. if $ac_cs_silent; then
  22800. exec 6>/dev/null
  22801. ac_configure_extra_args="$ac_configure_extra_args --silent"
  22802. fi
  22803. _ACEOF
  22804. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22805. if \$ac_cs_recheck; then
  22806. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  22807. shift
  22808. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  22809. CONFIG_SHELL='$SHELL'
  22810. export CONFIG_SHELL
  22811. exec "\$@"
  22812. fi
  22813. _ACEOF
  22814. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  22815. exec 5>>config.log
  22816. {
  22817. echo
  22818. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  22819. ## Running $as_me. ##
  22820. _ASBOX
  22821. $as_echo "$ac_log"
  22822. } >&5
  22823. _ACEOF
  22824. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  22825. #
  22826. # INIT-COMMANDS
  22827. #
  22828. srcdir="$srcdir"
  22829. host="$host"
  22830. target="$target"
  22831. with_multisubdir="$with_multisubdir"
  22832. with_multisrctop="$with_multisrctop"
  22833. with_target_subdir="$with_target_subdir"
  22834. ac_configure_args="${multilib_arg} ${ac_configure_args}"
  22835. multi_basedir="$multi_basedir"
  22836. CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  22837. CC="$CC"
  22838. CXX="$CXX"
  22839. GFORTRAN="$GFORTRAN"
  22840. GCJ="$GCJ"
  22841. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  22842. # The HP-UX ksh and POSIX shell print the target directory to stdout
  22843. # if CDPATH is set.
  22844. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  22845. sed_quote_subst='$sed_quote_subst'
  22846. double_quote_subst='$double_quote_subst'
  22847. delay_variable_subst='$delay_variable_subst'
  22848. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  22849. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  22850. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  22851. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  22852. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  22853. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  22854. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  22855. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  22856. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  22857. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  22858. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  22859. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  22860. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  22861. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  22862. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  22863. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  22864. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  22865. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  22866. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  22867. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  22868. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  22869. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  22870. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  22871. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  22872. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  22873. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  22874. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  22875. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  22876. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  22877. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  22878. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  22879. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  22880. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  22881. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  22882. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  22883. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  22884. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  22885. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  22886. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  22887. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  22888. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  22889. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  22890. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  22891. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  22892. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  22893. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  22894. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  22895. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  22896. 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"`'
  22897. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  22898. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  22899. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  22900. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  22901. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  22902. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  22903. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  22904. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  22905. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  22906. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  22907. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  22908. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  22909. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  22910. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  22911. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  22912. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  22913. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  22914. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  22915. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  22916. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  22917. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  22918. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  22919. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  22920. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  22921. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  22922. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  22923. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  22924. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  22925. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  22926. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  22927. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  22928. hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  22929. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  22930. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  22931. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  22932. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  22933. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  22934. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  22935. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  22936. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  22937. fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  22938. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  22939. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  22940. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  22941. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  22942. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  22943. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  22944. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  22945. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  22946. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  22947. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  22948. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  22949. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  22950. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  22951. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  22952. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  22953. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  22954. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  22955. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  22956. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  22957. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  22958. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  22959. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  22960. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  22961. sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  22962. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  22963. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  22964. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  22965. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  22966. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  22967. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  22968. compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
  22969. predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
  22970. postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
  22971. predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
  22972. postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
  22973. compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
  22974. LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
  22975. reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
  22976. reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22977. old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22978. compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
  22979. GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
  22980. lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
  22981. lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
  22982. lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
  22983. lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
  22984. lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
  22985. archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
  22986. enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
  22987. export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  22988. whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  22989. compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
  22990. old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22991. old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22992. archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22993. archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22994. module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22995. module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
  22996. with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
  22997. allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
  22998. no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
  22999. hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
  23000. hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
  23001. hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
  23002. hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
  23003. hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
  23004. hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
  23005. hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
  23006. hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
  23007. inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
  23008. link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
  23009. fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
  23010. always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
  23011. export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
  23012. exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
  23013. include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
  23014. prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
  23015. file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
  23016. hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
  23017. compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
  23018. predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
  23019. postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
  23020. predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
  23021. postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
  23022. compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
  23023. LTCC='$LTCC'
  23024. LTCFLAGS='$LTCFLAGS'
  23025. compiler='$compiler_DEFAULT'
  23026. # A function that is used when there is no print builtin or printf.
  23027. func_fallback_echo ()
  23028. {
  23029. eval 'cat <<_LTECHO_EOF
  23030. \$1
  23031. _LTECHO_EOF'
  23032. }
  23033. # Quote evaled strings.
  23034. for var in SHELL \
  23035. ECHO \
  23036. SED \
  23037. GREP \
  23038. EGREP \
  23039. FGREP \
  23040. LD \
  23041. NM \
  23042. LN_S \
  23043. lt_SP2NL \
  23044. lt_NL2SP \
  23045. reload_flag \
  23046. OBJDUMP \
  23047. deplibs_check_method \
  23048. file_magic_cmd \
  23049. AR \
  23050. AR_FLAGS \
  23051. STRIP \
  23052. RANLIB \
  23053. CC \
  23054. CFLAGS \
  23055. compiler \
  23056. lt_cv_sys_global_symbol_pipe \
  23057. lt_cv_sys_global_symbol_to_cdecl \
  23058. lt_cv_sys_global_symbol_to_c_name_address \
  23059. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  23060. lt_prog_compiler_no_builtin_flag \
  23061. lt_prog_compiler_wl \
  23062. lt_prog_compiler_pic \
  23063. lt_prog_compiler_static \
  23064. lt_cv_prog_compiler_c_o \
  23065. need_locks \
  23066. DSYMUTIL \
  23067. NMEDIT \
  23068. LIPO \
  23069. OTOOL \
  23070. OTOOL64 \
  23071. shrext_cmds \
  23072. export_dynamic_flag_spec \
  23073. whole_archive_flag_spec \
  23074. compiler_needs_object \
  23075. with_gnu_ld \
  23076. allow_undefined_flag \
  23077. no_undefined_flag \
  23078. hardcode_libdir_flag_spec \
  23079. hardcode_libdir_flag_spec_ld \
  23080. hardcode_libdir_separator \
  23081. fix_srcfile_path \
  23082. exclude_expsyms \
  23083. include_expsyms \
  23084. file_list_spec \
  23085. variables_saved_for_relink \
  23086. libname_spec \
  23087. library_names_spec \
  23088. soname_spec \
  23089. install_override_mode \
  23090. finish_eval \
  23091. old_striplib \
  23092. striplib \
  23093. compiler_lib_search_dirs \
  23094. predep_objects \
  23095. postdep_objects \
  23096. predeps \
  23097. postdeps \
  23098. compiler_lib_search_path \
  23099. LD_FC \
  23100. reload_flag_FC \
  23101. compiler_FC \
  23102. lt_prog_compiler_no_builtin_flag_FC \
  23103. lt_prog_compiler_wl_FC \
  23104. lt_prog_compiler_pic_FC \
  23105. lt_prog_compiler_static_FC \
  23106. lt_cv_prog_compiler_c_o_FC \
  23107. export_dynamic_flag_spec_FC \
  23108. whole_archive_flag_spec_FC \
  23109. compiler_needs_object_FC \
  23110. with_gnu_ld_FC \
  23111. allow_undefined_flag_FC \
  23112. no_undefined_flag_FC \
  23113. hardcode_libdir_flag_spec_FC \
  23114. hardcode_libdir_flag_spec_ld_FC \
  23115. hardcode_libdir_separator_FC \
  23116. fix_srcfile_path_FC \
  23117. exclude_expsyms_FC \
  23118. include_expsyms_FC \
  23119. file_list_spec_FC \
  23120. compiler_lib_search_dirs_FC \
  23121. predep_objects_FC \
  23122. postdep_objects_FC \
  23123. predeps_FC \
  23124. postdeps_FC \
  23125. compiler_lib_search_path_FC; do
  23126. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  23127. *[\\\\\\\`\\"\\\$]*)
  23128. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  23129. ;;
  23130. *)
  23131. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  23132. ;;
  23133. esac
  23134. done
  23135. # Double-quote double-evaled strings.
  23136. for var in reload_cmds \
  23137. old_postinstall_cmds \
  23138. old_postuninstall_cmds \
  23139. old_archive_cmds \
  23140. extract_expsyms_cmds \
  23141. old_archive_from_new_cmds \
  23142. old_archive_from_expsyms_cmds \
  23143. archive_cmds \
  23144. archive_expsym_cmds \
  23145. module_cmds \
  23146. module_expsym_cmds \
  23147. export_symbols_cmds \
  23148. prelink_cmds \
  23149. postinstall_cmds \
  23150. postuninstall_cmds \
  23151. finish_cmds \
  23152. sys_lib_search_path_spec \
  23153. sys_lib_dlsearch_path_spec \
  23154. reload_cmds_FC \
  23155. old_archive_cmds_FC \
  23156. old_archive_from_new_cmds_FC \
  23157. old_archive_from_expsyms_cmds_FC \
  23158. archive_cmds_FC \
  23159. archive_expsym_cmds_FC \
  23160. module_cmds_FC \
  23161. module_expsym_cmds_FC \
  23162. export_symbols_cmds_FC \
  23163. prelink_cmds_FC; do
  23164. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  23165. *[\\\\\\\`\\"\\\$]*)
  23166. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  23167. ;;
  23168. *)
  23169. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  23170. ;;
  23171. esac
  23172. done
  23173. ac_aux_dir='$ac_aux_dir'
  23174. xsi_shell='$xsi_shell'
  23175. lt_shell_append='$lt_shell_append'
  23176. # See if we are running on zsh, and set the options which allow our
  23177. # commands through without removal of \ escapes INIT.
  23178. if test -n "\${ZSH_VERSION+set}" ; then
  23179. setopt NO_GLOB_SUBST
  23180. fi
  23181. PACKAGE='$PACKAGE'
  23182. VERSION='$VERSION'
  23183. TIMESTAMP='$TIMESTAMP'
  23184. RM='$RM'
  23185. ofile='$ofile'
  23186. GCC="$GCC"
  23187. CC="$CC"
  23188. acx_cv_header_stdint="$acx_cv_header_stdint"
  23189. acx_cv_type_int8_t="$acx_cv_type_int8_t"
  23190. acx_cv_type_int16_t="$acx_cv_type_int16_t"
  23191. acx_cv_type_int32_t="$acx_cv_type_int32_t"
  23192. acx_cv_type_int64_t="$acx_cv_type_int64_t"
  23193. acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
  23194. ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
  23195. ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
  23196. ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
  23197. ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
  23198. ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
  23199. ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
  23200. ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
  23201. ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
  23202. _ACEOF
  23203. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23204. # Handling of arguments.
  23205. for ac_config_target in $ac_config_targets
  23206. do
  23207. case $ac_config_target in
  23208. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  23209. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  23210. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  23211. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  23212. "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
  23213. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  23214. "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
  23215. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  23216. esac
  23217. done
  23218. # If the user did not use the arguments to specify the items to instantiate,
  23219. # then the envvar interface is used. Set only those that are not.
  23220. # We use the long form for the default assignment because of an extremely
  23221. # bizarre bug on SunOS 4.1.3.
  23222. if $ac_need_defaults; then
  23223. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  23224. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  23225. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  23226. fi
  23227. # Have a temporary directory for convenience. Make it in the build tree
  23228. # simply because there is no reason against having it here, and in addition,
  23229. # creating and moving files from /tmp can sometimes cause problems.
  23230. # Hook for its removal unless debugging.
  23231. # Note that there is a small window in which the directory will not be cleaned:
  23232. # after its creation but before its name has been assigned to `$tmp'.
  23233. $debug ||
  23234. {
  23235. tmp=
  23236. trap 'exit_status=$?
  23237. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  23238. ' 0
  23239. trap 'as_fn_exit 1' 1 2 13 15
  23240. }
  23241. # Create a (secure) tmp directory for tmp files.
  23242. {
  23243. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  23244. test -n "$tmp" && test -d "$tmp"
  23245. } ||
  23246. {
  23247. tmp=./conf$$-$RANDOM
  23248. (umask 077 && mkdir "$tmp")
  23249. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  23250. # Set up the scripts for CONFIG_FILES section.
  23251. # No need to generate them if there are no CONFIG_FILES.
  23252. # This happens for instance with `./config.status config.h'.
  23253. if test -n "$CONFIG_FILES"; then
  23254. ac_cr=`echo X | tr X '\015'`
  23255. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  23256. # But we know of no other shell where ac_cr would be empty at this
  23257. # point, so we can use a bashism as a fallback.
  23258. if test "x$ac_cr" = x; then
  23259. eval ac_cr=\$\'\\r\'
  23260. fi
  23261. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  23262. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  23263. ac_cs_awk_cr='\r'
  23264. else
  23265. ac_cs_awk_cr=$ac_cr
  23266. fi
  23267. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  23268. _ACEOF
  23269. {
  23270. echo "cat >conf$$subs.awk <<_ACEOF" &&
  23271. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  23272. echo "_ACEOF"
  23273. } >conf$$subs.sh ||
  23274. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  23275. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  23276. ac_delim='%!_!# '
  23277. for ac_last_try in false false false false false :; do
  23278. . ./conf$$subs.sh ||
  23279. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  23280. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  23281. if test $ac_delim_n = $ac_delim_num; then
  23282. break
  23283. elif $ac_last_try; then
  23284. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  23285. else
  23286. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  23287. fi
  23288. done
  23289. rm -f conf$$subs.sh
  23290. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23291. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  23292. _ACEOF
  23293. sed -n '
  23294. h
  23295. s/^/S["/; s/!.*/"]=/
  23296. p
  23297. g
  23298. s/^[^!]*!//
  23299. :repl
  23300. t repl
  23301. s/'"$ac_delim"'$//
  23302. t delim
  23303. :nl
  23304. h
  23305. s/\(.\{148\}\).*/\1/
  23306. t more1
  23307. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  23308. p
  23309. n
  23310. b repl
  23311. :more1
  23312. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  23313. p
  23314. g
  23315. s/.\{148\}//
  23316. t nl
  23317. :delim
  23318. h
  23319. s/\(.\{148\}\).*/\1/
  23320. t more2
  23321. s/["\\]/\\&/g; s/^/"/; s/$/"/
  23322. p
  23323. b
  23324. :more2
  23325. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  23326. p
  23327. g
  23328. s/.\{148\}//
  23329. t delim
  23330. ' <conf$$subs.awk | sed '
  23331. /^[^""]/{
  23332. N
  23333. s/\n//
  23334. }
  23335. ' >>$CONFIG_STATUS || ac_write_fail=1
  23336. rm -f conf$$subs.awk
  23337. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23338. _ACAWK
  23339. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  23340. for (key in S) S_is_set[key] = 1
  23341. FS = ""
  23342. }
  23343. {
  23344. line = $ 0
  23345. nfields = split(line, field, "@")
  23346. substed = 0
  23347. len = length(field[1])
  23348. for (i = 2; i < nfields; i++) {
  23349. key = field[i]
  23350. keylen = length(key)
  23351. if (S_is_set[key]) {
  23352. value = S[key]
  23353. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  23354. len += length(value) + length(field[++i])
  23355. substed = 1
  23356. } else
  23357. len += 1 + keylen
  23358. }
  23359. print line
  23360. }
  23361. _ACAWK
  23362. _ACEOF
  23363. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23364. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  23365. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  23366. else
  23367. cat
  23368. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  23369. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  23370. _ACEOF
  23371. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  23372. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  23373. # trailing colons and then remove the whole line if VPATH becomes empty
  23374. # (actually we leave an empty line to preserve line numbers).
  23375. if test "x$srcdir" = x.; then
  23376. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  23377. s/:*\$(srcdir):*/:/
  23378. s/:*\${srcdir}:*/:/
  23379. s/:*@srcdir@:*/:/
  23380. s/^\([^=]*=[ ]*\):*/\1/
  23381. s/:*$//
  23382. s/^[^=]*=[ ]*$//
  23383. }'
  23384. fi
  23385. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23386. fi # test -n "$CONFIG_FILES"
  23387. # Set up the scripts for CONFIG_HEADERS section.
  23388. # No need to generate them if there are no CONFIG_HEADERS.
  23389. # This happens for instance with `./config.status Makefile'.
  23390. if test -n "$CONFIG_HEADERS"; then
  23391. cat >"$tmp/defines.awk" <<\_ACAWK ||
  23392. BEGIN {
  23393. _ACEOF
  23394. # Transform confdefs.h into an awk script `defines.awk', embedded as
  23395. # here-document in config.status, that substitutes the proper values into
  23396. # config.h.in to produce config.h.
  23397. # Create a delimiter string that does not exist in confdefs.h, to ease
  23398. # handling of long lines.
  23399. ac_delim='%!_!# '
  23400. for ac_last_try in false false :; do
  23401. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  23402. if test -z "$ac_t"; then
  23403. break
  23404. elif $ac_last_try; then
  23405. as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  23406. else
  23407. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  23408. fi
  23409. done
  23410. # For the awk script, D is an array of macro values keyed by name,
  23411. # likewise P contains macro parameters if any. Preserve backslash
  23412. # newline sequences.
  23413. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  23414. sed -n '
  23415. s/.\{148\}/&'"$ac_delim"'/g
  23416. t rset
  23417. :rset
  23418. s/^[ ]*#[ ]*define[ ][ ]*/ /
  23419. t def
  23420. d
  23421. :def
  23422. s/\\$//
  23423. t bsnl
  23424. s/["\\]/\\&/g
  23425. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  23426. D["\1"]=" \3"/p
  23427. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  23428. d
  23429. :bsnl
  23430. s/["\\]/\\&/g
  23431. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  23432. D["\1"]=" \3\\\\\\n"\\/p
  23433. t cont
  23434. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  23435. t cont
  23436. d
  23437. :cont
  23438. n
  23439. s/.\{148\}/&'"$ac_delim"'/g
  23440. t clear
  23441. :clear
  23442. s/\\$//
  23443. t bsnlc
  23444. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  23445. d
  23446. :bsnlc
  23447. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  23448. b cont
  23449. ' <confdefs.h | sed '
  23450. s/'"$ac_delim"'/"\\\
  23451. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  23452. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23453. for (key in D) D_is_set[key] = 1
  23454. FS = ""
  23455. }
  23456. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  23457. line = \$ 0
  23458. split(line, arg, " ")
  23459. if (arg[1] == "#") {
  23460. defundef = arg[2]
  23461. mac1 = arg[3]
  23462. } else {
  23463. defundef = substr(arg[1], 2)
  23464. mac1 = arg[2]
  23465. }
  23466. split(mac1, mac2, "(") #)
  23467. macro = mac2[1]
  23468. prefix = substr(line, 1, index(line, defundef) - 1)
  23469. if (D_is_set[macro]) {
  23470. # Preserve the white space surrounding the "#".
  23471. print prefix "define", macro P[macro] D[macro]
  23472. next
  23473. } else {
  23474. # Replace #undef with comments. This is necessary, for example,
  23475. # in the case of _POSIX_SOURCE, which is predefined and required
  23476. # on some systems where configure will not decide to define it.
  23477. if (defundef == "undef") {
  23478. print "/*", prefix defundef, macro, "*/"
  23479. next
  23480. }
  23481. }
  23482. }
  23483. { print }
  23484. _ACAWK
  23485. _ACEOF
  23486. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23487. as_fn_error "could not setup config headers machinery" "$LINENO" 5
  23488. fi # test -n "$CONFIG_HEADERS"
  23489. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  23490. shift
  23491. for ac_tag
  23492. do
  23493. case $ac_tag in
  23494. :[FHLC]) ac_mode=$ac_tag; continue;;
  23495. esac
  23496. case $ac_mode$ac_tag in
  23497. :[FHL]*:*);;
  23498. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  23499. :[FH]-) ac_tag=-:-;;
  23500. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  23501. esac
  23502. ac_save_IFS=$IFS
  23503. IFS=:
  23504. set x $ac_tag
  23505. IFS=$ac_save_IFS
  23506. shift
  23507. ac_file=$1
  23508. shift
  23509. case $ac_mode in
  23510. :L) ac_source=$1;;
  23511. :[FH])
  23512. ac_file_inputs=
  23513. for ac_f
  23514. do
  23515. case $ac_f in
  23516. -) ac_f="$tmp/stdin";;
  23517. *) # Look for the file first in the build tree, then in the source tree
  23518. # (if the path is not absolute). The absolute path cannot be DOS-style,
  23519. # because $ac_f cannot contain `:'.
  23520. test -f "$ac_f" ||
  23521. case $ac_f in
  23522. [\\/$]*) false;;
  23523. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  23524. esac ||
  23525. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  23526. esac
  23527. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  23528. as_fn_append ac_file_inputs " '$ac_f'"
  23529. done
  23530. # Let's still pretend it is `configure' which instantiates (i.e., don't
  23531. # use $as_me), people would be surprised to read:
  23532. # /* config.h. Generated by config.status. */
  23533. configure_input='Generated from '`
  23534. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  23535. `' by configure.'
  23536. if test x"$ac_file" != x-; then
  23537. configure_input="$ac_file. $configure_input"
  23538. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  23539. $as_echo "$as_me: creating $ac_file" >&6;}
  23540. fi
  23541. # Neutralize special characters interpreted by sed in replacement strings.
  23542. case $configure_input in #(
  23543. *\&* | *\|* | *\\* )
  23544. ac_sed_conf_input=`$as_echo "$configure_input" |
  23545. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  23546. *) ac_sed_conf_input=$configure_input;;
  23547. esac
  23548. case $ac_tag in
  23549. *:-:* | *:-) cat >"$tmp/stdin" \
  23550. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  23551. esac
  23552. ;;
  23553. esac
  23554. ac_dir=`$as_dirname -- "$ac_file" ||
  23555. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23556. X"$ac_file" : 'X\(//\)[^/]' \| \
  23557. X"$ac_file" : 'X\(//\)$' \| \
  23558. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  23559. $as_echo X"$ac_file" |
  23560. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23561. s//\1/
  23562. q
  23563. }
  23564. /^X\(\/\/\)[^/].*/{
  23565. s//\1/
  23566. q
  23567. }
  23568. /^X\(\/\/\)$/{
  23569. s//\1/
  23570. q
  23571. }
  23572. /^X\(\/\).*/{
  23573. s//\1/
  23574. q
  23575. }
  23576. s/.*/./; q'`
  23577. as_dir="$ac_dir"; as_fn_mkdir_p
  23578. ac_builddir=.
  23579. case "$ac_dir" in
  23580. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23581. *)
  23582. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  23583. # A ".." for each directory in $ac_dir_suffix.
  23584. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  23585. case $ac_top_builddir_sub in
  23586. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  23587. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  23588. esac ;;
  23589. esac
  23590. ac_abs_top_builddir=$ac_pwd
  23591. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  23592. # for backward compatibility:
  23593. ac_top_builddir=$ac_top_build_prefix
  23594. case $srcdir in
  23595. .) # We are building in place.
  23596. ac_srcdir=.
  23597. ac_top_srcdir=$ac_top_builddir_sub
  23598. ac_abs_top_srcdir=$ac_pwd ;;
  23599. [\\/]* | ?:[\\/]* ) # Absolute name.
  23600. ac_srcdir=$srcdir$ac_dir_suffix;
  23601. ac_top_srcdir=$srcdir
  23602. ac_abs_top_srcdir=$srcdir ;;
  23603. *) # Relative name.
  23604. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  23605. ac_top_srcdir=$ac_top_build_prefix$srcdir
  23606. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  23607. esac
  23608. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  23609. case $ac_mode in
  23610. :F)
  23611. #
  23612. # CONFIG_FILE
  23613. #
  23614. case $INSTALL in
  23615. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  23616. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  23617. esac
  23618. ac_MKDIR_P=$MKDIR_P
  23619. case $MKDIR_P in
  23620. [\\/$]* | ?:[\\/]* ) ;;
  23621. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  23622. esac
  23623. _ACEOF
  23624. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23625. # If the template does not know about datarootdir, expand it.
  23626. # FIXME: This hack should be removed a few years after 2.60.
  23627. ac_datarootdir_hack=; ac_datarootdir_seen=
  23628. ac_sed_dataroot='
  23629. /datarootdir/ {
  23630. p
  23631. q
  23632. }
  23633. /@datadir@/p
  23634. /@docdir@/p
  23635. /@infodir@/p
  23636. /@localedir@/p
  23637. /@mandir@/p'
  23638. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  23639. *datarootdir*) ac_datarootdir_seen=yes;;
  23640. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  23641. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  23642. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  23643. _ACEOF
  23644. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23645. ac_datarootdir_hack='
  23646. s&@datadir@&$datadir&g
  23647. s&@docdir@&$docdir&g
  23648. s&@infodir@&$infodir&g
  23649. s&@localedir@&$localedir&g
  23650. s&@mandir@&$mandir&g
  23651. s&\\\${datarootdir}&$datarootdir&g' ;;
  23652. esac
  23653. _ACEOF
  23654. # Neutralize VPATH when `$srcdir' = `.'.
  23655. # Shell code in configure.ac might set extrasub.
  23656. # FIXME: do we really want to maintain this feature?
  23657. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23658. ac_sed_extra="$ac_vpsub
  23659. $extrasub
  23660. _ACEOF
  23661. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23662. :t
  23663. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  23664. s|@configure_input@|$ac_sed_conf_input|;t t
  23665. s&@top_builddir@&$ac_top_builddir_sub&;t t
  23666. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  23667. s&@srcdir@&$ac_srcdir&;t t
  23668. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  23669. s&@top_srcdir@&$ac_top_srcdir&;t t
  23670. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  23671. s&@builddir@&$ac_builddir&;t t
  23672. s&@abs_builddir@&$ac_abs_builddir&;t t
  23673. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  23674. s&@INSTALL@&$ac_INSTALL&;t t
  23675. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  23676. $ac_datarootdir_hack
  23677. "
  23678. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  23679. || as_fn_error "could not create $ac_file" "$LINENO" 5
  23680. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  23681. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  23682. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  23683. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23684. which seems to be undefined. Please make sure it is defined." >&5
  23685. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  23686. which seems to be undefined. Please make sure it is defined." >&2;}
  23687. rm -f "$tmp/stdin"
  23688. case $ac_file in
  23689. -) cat "$tmp/out" && rm -f "$tmp/out";;
  23690. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  23691. esac \
  23692. || as_fn_error "could not create $ac_file" "$LINENO" 5
  23693. ;;
  23694. :H)
  23695. #
  23696. # CONFIG_HEADER
  23697. #
  23698. if test x"$ac_file" != x-; then
  23699. {
  23700. $as_echo "/* $configure_input */" \
  23701. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  23702. } >"$tmp/config.h" \
  23703. || as_fn_error "could not create $ac_file" "$LINENO" 5
  23704. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  23705. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  23706. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  23707. else
  23708. rm -f "$ac_file"
  23709. mv "$tmp/config.h" "$ac_file" \
  23710. || as_fn_error "could not create $ac_file" "$LINENO" 5
  23711. fi
  23712. else
  23713. $as_echo "/* $configure_input */" \
  23714. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  23715. || as_fn_error "could not create -" "$LINENO" 5
  23716. fi
  23717. # Compute "$ac_file"'s index in $config_headers.
  23718. _am_arg="$ac_file"
  23719. _am_stamp_count=1
  23720. for _am_header in $config_headers :; do
  23721. case $_am_header in
  23722. $_am_arg | $_am_arg:* )
  23723. break ;;
  23724. * )
  23725. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  23726. esac
  23727. done
  23728. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  23729. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23730. X"$_am_arg" : 'X\(//\)[^/]' \| \
  23731. X"$_am_arg" : 'X\(//\)$' \| \
  23732. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  23733. $as_echo X"$_am_arg" |
  23734. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23735. s//\1/
  23736. q
  23737. }
  23738. /^X\(\/\/\)[^/].*/{
  23739. s//\1/
  23740. q
  23741. }
  23742. /^X\(\/\/\)$/{
  23743. s//\1/
  23744. q
  23745. }
  23746. /^X\(\/\).*/{
  23747. s//\1/
  23748. q
  23749. }
  23750. s/.*/./; q'`/stamp-h$_am_stamp_count
  23751. ;;
  23752. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  23753. $as_echo "$as_me: executing $ac_file commands" >&6;}
  23754. ;;
  23755. esac
  23756. case $ac_file$ac_mode in
  23757. "default-1":C)
  23758. # Only add multilib support code if we just rebuilt the top-level
  23759. # Makefile.
  23760. case " $CONFIG_FILES " in
  23761. *" Makefile "*)
  23762. ac_file=Makefile . ${multi_basedir}/config-ml.in
  23763. ;;
  23764. esac ;;
  23765. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  23766. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  23767. # are listed without --file. Let's play safe and only enable the eval
  23768. # if we detect the quoting.
  23769. case $CONFIG_FILES in
  23770. *\'*) eval set x "$CONFIG_FILES" ;;
  23771. *) set x $CONFIG_FILES ;;
  23772. esac
  23773. shift
  23774. for mf
  23775. do
  23776. # Strip MF so we end up with the name of the file.
  23777. mf=`echo "$mf" | sed -e 's/:.*$//'`
  23778. # Check whether this is an Automake generated Makefile or not.
  23779. # We used to match only the files named `Makefile.in', but
  23780. # some people rename them; so instead we look at the file content.
  23781. # Grep'ing the first line is not enough: some people post-process
  23782. # each Makefile.in and add a new line on top of each file to say so.
  23783. # Grep'ing the whole file is not good either: AIX grep has a line
  23784. # limit of 2048, but all sed's we know have understand at least 4000.
  23785. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  23786. dirpart=`$as_dirname -- "$mf" ||
  23787. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23788. X"$mf" : 'X\(//\)[^/]' \| \
  23789. X"$mf" : 'X\(//\)$' \| \
  23790. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  23791. $as_echo X"$mf" |
  23792. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23793. s//\1/
  23794. q
  23795. }
  23796. /^X\(\/\/\)[^/].*/{
  23797. s//\1/
  23798. q
  23799. }
  23800. /^X\(\/\/\)$/{
  23801. s//\1/
  23802. q
  23803. }
  23804. /^X\(\/\).*/{
  23805. s//\1/
  23806. q
  23807. }
  23808. s/.*/./; q'`
  23809. else
  23810. continue
  23811. fi
  23812. # Extract the definition of DEPDIR, am__include, and am__quote
  23813. # from the Makefile without running `make'.
  23814. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  23815. test -z "$DEPDIR" && continue
  23816. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  23817. test -z "am__include" && continue
  23818. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  23819. # When using ansi2knr, U may be empty or an underscore; expand it
  23820. U=`sed -n 's/^U = //p' < "$mf"`
  23821. # Find all dependency output files, they are included files with
  23822. # $(DEPDIR) in their names. We invoke sed twice because it is the
  23823. # simplest approach to changing $(DEPDIR) to its actual value in the
  23824. # expansion.
  23825. for file in `sed -n "
  23826. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  23827. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  23828. # Make sure the directory exists.
  23829. test -f "$dirpart/$file" && continue
  23830. fdir=`$as_dirname -- "$file" ||
  23831. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23832. X"$file" : 'X\(//\)[^/]' \| \
  23833. X"$file" : 'X\(//\)$' \| \
  23834. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  23835. $as_echo X"$file" |
  23836. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23837. s//\1/
  23838. q
  23839. }
  23840. /^X\(\/\/\)[^/].*/{
  23841. s//\1/
  23842. q
  23843. }
  23844. /^X\(\/\/\)$/{
  23845. s//\1/
  23846. q
  23847. }
  23848. /^X\(\/\).*/{
  23849. s//\1/
  23850. q
  23851. }
  23852. s/.*/./; q'`
  23853. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  23854. # echo "creating $dirpart/$file"
  23855. echo '# dummy' > "$dirpart/$file"
  23856. done
  23857. done
  23858. }
  23859. ;;
  23860. "libtool":C)
  23861. # See if we are running on zsh, and set the options which allow our
  23862. # commands through without removal of \ escapes.
  23863. if test -n "${ZSH_VERSION+set}" ; then
  23864. setopt NO_GLOB_SUBST
  23865. fi
  23866. cfgfile="${ofile}T"
  23867. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  23868. $RM "$cfgfile"
  23869. cat <<_LT_EOF >> "$cfgfile"
  23870. #! $SHELL
  23871. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  23872. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  23873. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  23874. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  23875. #
  23876. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  23877. # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  23878. # Written by Gordon Matzigkeit, 1996
  23879. #
  23880. # This file is part of GNU Libtool.
  23881. #
  23882. # GNU Libtool is free software; you can redistribute it and/or
  23883. # modify it under the terms of the GNU General Public License as
  23884. # published by the Free Software Foundation; either version 2 of
  23885. # the License, or (at your option) any later version.
  23886. #
  23887. # As a special exception to the GNU General Public License,
  23888. # if you distribute this file as part of a program or library that
  23889. # is built using GNU Libtool, you may include this file under the
  23890. # same distribution terms that you use for the rest of that program.
  23891. #
  23892. # GNU Libtool is distributed in the hope that it will be useful,
  23893. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  23894. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23895. # GNU General Public License for more details.
  23896. #
  23897. # You should have received a copy of the GNU General Public License
  23898. # along with GNU Libtool; see the file COPYING. If not, a copy
  23899. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  23900. # obtained by writing to the Free Software Foundation, Inc.,
  23901. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  23902. # The names of the tagged configurations supported by this script.
  23903. available_tags="FC "
  23904. # ### BEGIN LIBTOOL CONFIG
  23905. # Which release of libtool.m4 was used?
  23906. macro_version=$macro_version
  23907. macro_revision=$macro_revision
  23908. # Whether or not to build shared libraries.
  23909. build_libtool_libs=$enable_shared
  23910. # Whether or not to build static libraries.
  23911. build_old_libs=$enable_static
  23912. # What type of objects to build.
  23913. pic_mode=$pic_mode
  23914. # Whether or not to optimize for fast installation.
  23915. fast_install=$enable_fast_install
  23916. # Shell to use when invoking shell scripts.
  23917. SHELL=$lt_SHELL
  23918. # An echo program that protects backslashes.
  23919. ECHO=$lt_ECHO
  23920. # The host system.
  23921. host_alias=$host_alias
  23922. host=$host
  23923. host_os=$host_os
  23924. # The build system.
  23925. build_alias=$build_alias
  23926. build=$build
  23927. build_os=$build_os
  23928. # A sed program that does not truncate output.
  23929. SED=$lt_SED
  23930. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  23931. Xsed="\$SED -e 1s/^X//"
  23932. # A grep program that handles long lines.
  23933. GREP=$lt_GREP
  23934. # An ERE matcher.
  23935. EGREP=$lt_EGREP
  23936. # A literal string matcher.
  23937. FGREP=$lt_FGREP
  23938. # A BSD- or MS-compatible name lister.
  23939. NM=$lt_NM
  23940. # Whether we need soft or hard links.
  23941. LN_S=$lt_LN_S
  23942. # What is the maximum length of a command?
  23943. max_cmd_len=$max_cmd_len
  23944. # Object file suffix (normally "o").
  23945. objext=$ac_objext
  23946. # Executable file suffix (normally "").
  23947. exeext=$exeext
  23948. # whether the shell understands "unset".
  23949. lt_unset=$lt_unset
  23950. # turn spaces into newlines.
  23951. SP2NL=$lt_lt_SP2NL
  23952. # turn newlines into spaces.
  23953. NL2SP=$lt_lt_NL2SP
  23954. # An object symbol dumper.
  23955. OBJDUMP=$lt_OBJDUMP
  23956. # Method to check whether dependent libraries are shared objects.
  23957. deplibs_check_method=$lt_deplibs_check_method
  23958. # Command to use when deplibs_check_method == "file_magic".
  23959. file_magic_cmd=$lt_file_magic_cmd
  23960. # The archiver.
  23961. AR=$lt_AR
  23962. AR_FLAGS=$lt_AR_FLAGS
  23963. # A symbol stripping program.
  23964. STRIP=$lt_STRIP
  23965. # Commands used to install an old-style archive.
  23966. RANLIB=$lt_RANLIB
  23967. old_postinstall_cmds=$lt_old_postinstall_cmds
  23968. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  23969. # Whether to use a lock for old archive extraction.
  23970. lock_old_archive_extraction=$lock_old_archive_extraction
  23971. # A C compiler.
  23972. LTCC=$lt_CC
  23973. # LTCC compiler flags.
  23974. LTCFLAGS=$lt_CFLAGS
  23975. # Take the output of nm and produce a listing of raw symbols and C names.
  23976. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  23977. # Transform the output of nm in a proper C declaration.
  23978. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  23979. # Transform the output of nm in a C name address pair.
  23980. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  23981. # Transform the output of nm in a C name address pair when lib prefix is needed.
  23982. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  23983. # The name of the directory that contains temporary libtool files.
  23984. objdir=$objdir
  23985. # Used to examine libraries when file_magic_cmd begins with "file".
  23986. MAGIC_CMD=$MAGIC_CMD
  23987. # Must we lock files when doing compilation?
  23988. need_locks=$lt_need_locks
  23989. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  23990. DSYMUTIL=$lt_DSYMUTIL
  23991. # Tool to change global to local symbols on Mac OS X.
  23992. NMEDIT=$lt_NMEDIT
  23993. # Tool to manipulate fat objects and archives on Mac OS X.
  23994. LIPO=$lt_LIPO
  23995. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  23996. OTOOL=$lt_OTOOL
  23997. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  23998. OTOOL64=$lt_OTOOL64
  23999. # Old archive suffix (normally "a").
  24000. libext=$libext
  24001. # Shared library suffix (normally ".so").
  24002. shrext_cmds=$lt_shrext_cmds
  24003. # The commands to extract the exported symbol list from a shared archive.
  24004. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  24005. # Variables whose values should be saved in libtool wrapper scripts and
  24006. # restored at link time.
  24007. variables_saved_for_relink=$lt_variables_saved_for_relink
  24008. # Do we need the "lib" prefix for modules?
  24009. need_lib_prefix=$need_lib_prefix
  24010. # Do we need a version for libraries?
  24011. need_version=$need_version
  24012. # Library versioning type.
  24013. version_type=$version_type
  24014. # Shared library runtime path variable.
  24015. runpath_var=$runpath_var
  24016. # Shared library path variable.
  24017. shlibpath_var=$shlibpath_var
  24018. # Is shlibpath searched before the hard-coded library search path?
  24019. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  24020. # Format of library name prefix.
  24021. libname_spec=$lt_libname_spec
  24022. # List of archive names. First name is the real one, the rest are links.
  24023. # The last name is the one that the linker finds with -lNAME
  24024. library_names_spec=$lt_library_names_spec
  24025. # The coded name of the library, if different from the real name.
  24026. soname_spec=$lt_soname_spec
  24027. # Permission mode override for installation of shared libraries.
  24028. install_override_mode=$lt_install_override_mode
  24029. # Command to use after installation of a shared archive.
  24030. postinstall_cmds=$lt_postinstall_cmds
  24031. # Command to use after uninstallation of a shared archive.
  24032. postuninstall_cmds=$lt_postuninstall_cmds
  24033. # Commands used to finish a libtool library installation in a directory.
  24034. finish_cmds=$lt_finish_cmds
  24035. # As "finish_cmds", except a single script fragment to be evaled but
  24036. # not shown.
  24037. finish_eval=$lt_finish_eval
  24038. # Whether we should hardcode library paths into libraries.
  24039. hardcode_into_libs=$hardcode_into_libs
  24040. # Compile-time system search path for libraries.
  24041. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  24042. # Run-time system search path for libraries.
  24043. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  24044. # Whether dlopen is supported.
  24045. dlopen_support=$enable_dlopen
  24046. # Whether dlopen of programs is supported.
  24047. dlopen_self=$enable_dlopen_self
  24048. # Whether dlopen of statically linked programs is supported.
  24049. dlopen_self_static=$enable_dlopen_self_static
  24050. # Commands to strip libraries.
  24051. old_striplib=$lt_old_striplib
  24052. striplib=$lt_striplib
  24053. # The linker used to build libraries.
  24054. LD=$lt_LD
  24055. # How to create reloadable object files.
  24056. reload_flag=$lt_reload_flag
  24057. reload_cmds=$lt_reload_cmds
  24058. # Commands used to build an old-style archive.
  24059. old_archive_cmds=$lt_old_archive_cmds
  24060. # A language specific compiler.
  24061. CC=$lt_compiler
  24062. # Is the compiler the GNU compiler?
  24063. with_gcc=$GCC
  24064. # Compiler flag to turn off builtin functions.
  24065. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  24066. # How to pass a linker flag through the compiler.
  24067. wl=$lt_lt_prog_compiler_wl
  24068. # Additional compiler flags for building library objects.
  24069. pic_flag=$lt_lt_prog_compiler_pic
  24070. # Compiler flag to prevent dynamic linking.
  24071. link_static_flag=$lt_lt_prog_compiler_static
  24072. # Does compiler simultaneously support -c and -o options?
  24073. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  24074. # Whether or not to add -lc for building shared libraries.
  24075. build_libtool_need_lc=$archive_cmds_need_lc
  24076. # Whether or not to disallow shared libs when runtime libs are static.
  24077. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  24078. # Compiler flag to allow reflexive dlopens.
  24079. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  24080. # Compiler flag to generate shared objects directly from archives.
  24081. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  24082. # Whether the compiler copes with passing no objects directly.
  24083. compiler_needs_object=$lt_compiler_needs_object
  24084. # Create an old-style archive from a shared archive.
  24085. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  24086. # Create a temporary old-style archive to link instead of a shared archive.
  24087. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  24088. # Commands used to build a shared archive.
  24089. archive_cmds=$lt_archive_cmds
  24090. archive_expsym_cmds=$lt_archive_expsym_cmds
  24091. # Commands used to build a loadable module if different from building
  24092. # a shared archive.
  24093. module_cmds=$lt_module_cmds
  24094. module_expsym_cmds=$lt_module_expsym_cmds
  24095. # Whether we are building with GNU ld or not.
  24096. with_gnu_ld=$lt_with_gnu_ld
  24097. # Flag that allows shared libraries with undefined symbols to be built.
  24098. allow_undefined_flag=$lt_allow_undefined_flag
  24099. # Flag that enforces no undefined symbols.
  24100. no_undefined_flag=$lt_no_undefined_flag
  24101. # Flag to hardcode \$libdir into a binary during linking.
  24102. # This must work even if \$libdir does not exist
  24103. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  24104. # If ld is used when linking, flag to hardcode \$libdir into a binary
  24105. # during linking. This must work even if \$libdir does not exist.
  24106. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  24107. # Whether we need a single "-rpath" flag with a separated argument.
  24108. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  24109. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  24110. # DIR into the resulting binary.
  24111. hardcode_direct=$hardcode_direct
  24112. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  24113. # DIR into the resulting binary and the resulting library dependency is
  24114. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  24115. # library is relocated.
  24116. hardcode_direct_absolute=$hardcode_direct_absolute
  24117. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  24118. # into the resulting binary.
  24119. hardcode_minus_L=$hardcode_minus_L
  24120. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  24121. # into the resulting binary.
  24122. hardcode_shlibpath_var=$hardcode_shlibpath_var
  24123. # Set to "yes" if building a shared library automatically hardcodes DIR
  24124. # into the library and all subsequent libraries and executables linked
  24125. # against it.
  24126. hardcode_automatic=$hardcode_automatic
  24127. # Set to yes if linker adds runtime paths of dependent libraries
  24128. # to runtime path list.
  24129. inherit_rpath=$inherit_rpath
  24130. # Whether libtool must link a program against all its dependency libraries.
  24131. link_all_deplibs=$link_all_deplibs
  24132. # Fix the shell variable \$srcfile for the compiler.
  24133. fix_srcfile_path=$lt_fix_srcfile_path
  24134. # Set to "yes" if exported symbols are required.
  24135. always_export_symbols=$always_export_symbols
  24136. # The commands to list exported symbols.
  24137. export_symbols_cmds=$lt_export_symbols_cmds
  24138. # Symbols that should not be listed in the preloaded symbols.
  24139. exclude_expsyms=$lt_exclude_expsyms
  24140. # Symbols that must always be exported.
  24141. include_expsyms=$lt_include_expsyms
  24142. # Commands necessary for linking programs (against libraries) with templates.
  24143. prelink_cmds=$lt_prelink_cmds
  24144. # Specify filename containing input files.
  24145. file_list_spec=$lt_file_list_spec
  24146. # How to hardcode a shared library path into an executable.
  24147. hardcode_action=$hardcode_action
  24148. # The directories searched by this compiler when creating a shared library.
  24149. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  24150. # Dependencies to place before and after the objects being linked to
  24151. # create a shared library.
  24152. predep_objects=$lt_predep_objects
  24153. postdep_objects=$lt_postdep_objects
  24154. predeps=$lt_predeps
  24155. postdeps=$lt_postdeps
  24156. # The library search path used internally by the compiler when linking
  24157. # a shared library.
  24158. compiler_lib_search_path=$lt_compiler_lib_search_path
  24159. # ### END LIBTOOL CONFIG
  24160. _LT_EOF
  24161. case $host_os in
  24162. aix3*)
  24163. cat <<\_LT_EOF >> "$cfgfile"
  24164. # AIX sometimes has problems with the GCC collect2 program. For some
  24165. # reason, if we set the COLLECT_NAMES environment variable, the problems
  24166. # vanish in a puff of smoke.
  24167. if test "X${COLLECT_NAMES+set}" != Xset; then
  24168. COLLECT_NAMES=
  24169. export COLLECT_NAMES
  24170. fi
  24171. _LT_EOF
  24172. ;;
  24173. esac
  24174. ltmain="$ac_aux_dir/ltmain.sh"
  24175. # We use sed instead of cat because bash on DJGPP gets confused if
  24176. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  24177. # text mode, it properly converts lines to CR/LF. This bash problem
  24178. # is reportedly fixed, but why not run on old versions too?
  24179. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  24180. || (rm -f "$cfgfile"; exit 1)
  24181. case $xsi_shell in
  24182. yes)
  24183. cat << \_LT_EOF >> "$cfgfile"
  24184. # func_dirname file append nondir_replacement
  24185. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  24186. # otherwise set result to NONDIR_REPLACEMENT.
  24187. func_dirname ()
  24188. {
  24189. case ${1} in
  24190. */*) func_dirname_result="${1%/*}${2}" ;;
  24191. * ) func_dirname_result="${3}" ;;
  24192. esac
  24193. }
  24194. # func_basename file
  24195. func_basename ()
  24196. {
  24197. func_basename_result="${1##*/}"
  24198. }
  24199. # func_dirname_and_basename file append nondir_replacement
  24200. # perform func_basename and func_dirname in a single function
  24201. # call:
  24202. # dirname: Compute the dirname of FILE. If nonempty,
  24203. # add APPEND to the result, otherwise set result
  24204. # to NONDIR_REPLACEMENT.
  24205. # value returned in "$func_dirname_result"
  24206. # basename: Compute filename of FILE.
  24207. # value retuned in "$func_basename_result"
  24208. # Implementation must be kept synchronized with func_dirname
  24209. # and func_basename. For efficiency, we do not delegate to
  24210. # those functions but instead duplicate the functionality here.
  24211. func_dirname_and_basename ()
  24212. {
  24213. case ${1} in
  24214. */*) func_dirname_result="${1%/*}${2}" ;;
  24215. * ) func_dirname_result="${3}" ;;
  24216. esac
  24217. func_basename_result="${1##*/}"
  24218. }
  24219. # func_stripname prefix suffix name
  24220. # strip PREFIX and SUFFIX off of NAME.
  24221. # PREFIX and SUFFIX must not contain globbing or regex special
  24222. # characters, hashes, percent signs, but SUFFIX may contain a leading
  24223. # dot (in which case that matches only a dot).
  24224. func_stripname ()
  24225. {
  24226. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  24227. # positional parameters, so assign one to ordinary parameter first.
  24228. func_stripname_result=${3}
  24229. func_stripname_result=${func_stripname_result#"${1}"}
  24230. func_stripname_result=${func_stripname_result%"${2}"}
  24231. }
  24232. # func_opt_split
  24233. func_opt_split ()
  24234. {
  24235. func_opt_split_opt=${1%%=*}
  24236. func_opt_split_arg=${1#*=}
  24237. }
  24238. # func_lo2o object
  24239. func_lo2o ()
  24240. {
  24241. case ${1} in
  24242. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  24243. *) func_lo2o_result=${1} ;;
  24244. esac
  24245. }
  24246. # func_xform libobj-or-source
  24247. func_xform ()
  24248. {
  24249. func_xform_result=${1%.*}.lo
  24250. }
  24251. # func_arith arithmetic-term...
  24252. func_arith ()
  24253. {
  24254. func_arith_result=$(( $* ))
  24255. }
  24256. # func_len string
  24257. # STRING may not start with a hyphen.
  24258. func_len ()
  24259. {
  24260. func_len_result=${#1}
  24261. }
  24262. _LT_EOF
  24263. ;;
  24264. *) # Bourne compatible functions.
  24265. cat << \_LT_EOF >> "$cfgfile"
  24266. # func_dirname file append nondir_replacement
  24267. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  24268. # otherwise set result to NONDIR_REPLACEMENT.
  24269. func_dirname ()
  24270. {
  24271. # Extract subdirectory from the argument.
  24272. func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  24273. if test "X$func_dirname_result" = "X${1}"; then
  24274. func_dirname_result="${3}"
  24275. else
  24276. func_dirname_result="$func_dirname_result${2}"
  24277. fi
  24278. }
  24279. # func_basename file
  24280. func_basename ()
  24281. {
  24282. func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  24283. }
  24284. # func_stripname prefix suffix name
  24285. # strip PREFIX and SUFFIX off of NAME.
  24286. # PREFIX and SUFFIX must not contain globbing or regex special
  24287. # characters, hashes, percent signs, but SUFFIX may contain a leading
  24288. # dot (in which case that matches only a dot).
  24289. # func_strip_suffix prefix name
  24290. func_stripname ()
  24291. {
  24292. case ${2} in
  24293. .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  24294. *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  24295. esac
  24296. }
  24297. # sed scripts:
  24298. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  24299. my_sed_long_arg='1s/^-[^=]*=//'
  24300. # func_opt_split
  24301. func_opt_split ()
  24302. {
  24303. func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  24304. func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  24305. }
  24306. # func_lo2o object
  24307. func_lo2o ()
  24308. {
  24309. func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  24310. }
  24311. # func_xform libobj-or-source
  24312. func_xform ()
  24313. {
  24314. func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  24315. }
  24316. # func_arith arithmetic-term...
  24317. func_arith ()
  24318. {
  24319. func_arith_result=`expr "$@"`
  24320. }
  24321. # func_len string
  24322. # STRING may not start with a hyphen.
  24323. func_len ()
  24324. {
  24325. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  24326. }
  24327. _LT_EOF
  24328. esac
  24329. case $lt_shell_append in
  24330. yes)
  24331. cat << \_LT_EOF >> "$cfgfile"
  24332. # func_append var value
  24333. # Append VALUE to the end of shell variable VAR.
  24334. func_append ()
  24335. {
  24336. eval "$1+=\$2"
  24337. }
  24338. _LT_EOF
  24339. ;;
  24340. *)
  24341. cat << \_LT_EOF >> "$cfgfile"
  24342. # func_append var value
  24343. # Append VALUE to the end of shell variable VAR.
  24344. func_append ()
  24345. {
  24346. eval "$1=\$$1\$2"
  24347. }
  24348. _LT_EOF
  24349. ;;
  24350. esac
  24351. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  24352. || (rm -f "$cfgfile"; exit 1)
  24353. mv -f "$cfgfile" "$ofile" ||
  24354. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  24355. chmod +x "$ofile"
  24356. cat <<_LT_EOF >> "$ofile"
  24357. # ### BEGIN LIBTOOL TAG CONFIG: FC
  24358. # The linker used to build libraries.
  24359. LD=$lt_LD_FC
  24360. # How to create reloadable object files.
  24361. reload_flag=$lt_reload_flag_FC
  24362. reload_cmds=$lt_reload_cmds_FC
  24363. # Commands used to build an old-style archive.
  24364. old_archive_cmds=$lt_old_archive_cmds_FC
  24365. # A language specific compiler.
  24366. CC=$lt_compiler_FC
  24367. # Is the compiler the GNU compiler?
  24368. with_gcc=$GCC_FC
  24369. # Compiler flag to turn off builtin functions.
  24370. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
  24371. # How to pass a linker flag through the compiler.
  24372. wl=$lt_lt_prog_compiler_wl_FC
  24373. # Additional compiler flags for building library objects.
  24374. pic_flag=$lt_lt_prog_compiler_pic_FC
  24375. # Compiler flag to prevent dynamic linking.
  24376. link_static_flag=$lt_lt_prog_compiler_static_FC
  24377. # Does compiler simultaneously support -c and -o options?
  24378. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
  24379. # Whether or not to add -lc for building shared libraries.
  24380. build_libtool_need_lc=$archive_cmds_need_lc_FC
  24381. # Whether or not to disallow shared libs when runtime libs are static.
  24382. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
  24383. # Compiler flag to allow reflexive dlopens.
  24384. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
  24385. # Compiler flag to generate shared objects directly from archives.
  24386. whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
  24387. # Whether the compiler copes with passing no objects directly.
  24388. compiler_needs_object=$lt_compiler_needs_object_FC
  24389. # Create an old-style archive from a shared archive.
  24390. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
  24391. # Create a temporary old-style archive to link instead of a shared archive.
  24392. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
  24393. # Commands used to build a shared archive.
  24394. archive_cmds=$lt_archive_cmds_FC
  24395. archive_expsym_cmds=$lt_archive_expsym_cmds_FC
  24396. # Commands used to build a loadable module if different from building
  24397. # a shared archive.
  24398. module_cmds=$lt_module_cmds_FC
  24399. module_expsym_cmds=$lt_module_expsym_cmds_FC
  24400. # Whether we are building with GNU ld or not.
  24401. with_gnu_ld=$lt_with_gnu_ld_FC
  24402. # Flag that allows shared libraries with undefined symbols to be built.
  24403. allow_undefined_flag=$lt_allow_undefined_flag_FC
  24404. # Flag that enforces no undefined symbols.
  24405. no_undefined_flag=$lt_no_undefined_flag_FC
  24406. # Flag to hardcode \$libdir into a binary during linking.
  24407. # This must work even if \$libdir does not exist
  24408. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
  24409. # If ld is used when linking, flag to hardcode \$libdir into a binary
  24410. # during linking. This must work even if \$libdir does not exist.
  24411. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
  24412. # Whether we need a single "-rpath" flag with a separated argument.
  24413. hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
  24414. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  24415. # DIR into the resulting binary.
  24416. hardcode_direct=$hardcode_direct_FC
  24417. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  24418. # DIR into the resulting binary and the resulting library dependency is
  24419. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  24420. # library is relocated.
  24421. hardcode_direct_absolute=$hardcode_direct_absolute_FC
  24422. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  24423. # into the resulting binary.
  24424. hardcode_minus_L=$hardcode_minus_L_FC
  24425. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  24426. # into the resulting binary.
  24427. hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
  24428. # Set to "yes" if building a shared library automatically hardcodes DIR
  24429. # into the library and all subsequent libraries and executables linked
  24430. # against it.
  24431. hardcode_automatic=$hardcode_automatic_FC
  24432. # Set to yes if linker adds runtime paths of dependent libraries
  24433. # to runtime path list.
  24434. inherit_rpath=$inherit_rpath_FC
  24435. # Whether libtool must link a program against all its dependency libraries.
  24436. link_all_deplibs=$link_all_deplibs_FC
  24437. # Fix the shell variable \$srcfile for the compiler.
  24438. fix_srcfile_path=$lt_fix_srcfile_path_FC
  24439. # Set to "yes" if exported symbols are required.
  24440. always_export_symbols=$always_export_symbols_FC
  24441. # The commands to list exported symbols.
  24442. export_symbols_cmds=$lt_export_symbols_cmds_FC
  24443. # Symbols that should not be listed in the preloaded symbols.
  24444. exclude_expsyms=$lt_exclude_expsyms_FC
  24445. # Symbols that must always be exported.
  24446. include_expsyms=$lt_include_expsyms_FC
  24447. # Commands necessary for linking programs (against libraries) with templates.
  24448. prelink_cmds=$lt_prelink_cmds_FC
  24449. # Specify filename containing input files.
  24450. file_list_spec=$lt_file_list_spec_FC
  24451. # How to hardcode a shared library path into an executable.
  24452. hardcode_action=$hardcode_action_FC
  24453. # The directories searched by this compiler when creating a shared library.
  24454. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
  24455. # Dependencies to place before and after the objects being linked to
  24456. # create a shared library.
  24457. predep_objects=$lt_predep_objects_FC
  24458. postdep_objects=$lt_postdep_objects_FC
  24459. predeps=$lt_predeps_FC
  24460. postdeps=$lt_postdeps_FC
  24461. # The library search path used internally by the compiler when linking
  24462. # a shared library.
  24463. compiler_lib_search_path=$lt_compiler_lib_search_path_FC
  24464. # ### END LIBTOOL TAG CONFIG: FC
  24465. _LT_EOF
  24466. ;;
  24467. "gstdint.h":C)
  24468. if test "$GCC" = yes; then
  24469. echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
  24470. else
  24471. echo "/* generated for $CC */" > tmp-stdint.h
  24472. fi
  24473. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24474. #ifndef GCC_GENERATED_STDINT_H
  24475. #define GCC_GENERATED_STDINT_H 1
  24476. #include <sys/types.h>
  24477. EOF
  24478. if test "$acx_cv_header_stdint" != stdint.h; then
  24479. echo "#include <stddef.h>" >> tmp-stdint.h
  24480. fi
  24481. if test "$acx_cv_header_stdint" != stddef.h; then
  24482. echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
  24483. fi
  24484. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24485. /* glibc uses these symbols as guards to prevent redefinitions. */
  24486. #ifdef __int8_t_defined
  24487. #define _INT8_T
  24488. #define _INT16_T
  24489. #define _INT32_T
  24490. #endif
  24491. #ifdef __uint32_t_defined
  24492. #define _UINT32_T
  24493. #endif
  24494. EOF
  24495. # ----------------- done header, emit basic int types -------------
  24496. if test "$acx_cv_header_stdint" = stddef.h; then
  24497. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24498. #ifndef _UINT8_T
  24499. #define _UINT8_T
  24500. #ifndef __uint8_t_defined
  24501. #define __uint8_t_defined
  24502. #ifndef uint8_t
  24503. typedef unsigned $acx_cv_type_int8_t uint8_t;
  24504. #endif
  24505. #endif
  24506. #endif
  24507. #ifndef _UINT16_T
  24508. #define _UINT16_T
  24509. #ifndef __uint16_t_defined
  24510. #define __uint16_t_defined
  24511. #ifndef uint16_t
  24512. typedef unsigned $acx_cv_type_int16_t uint16_t;
  24513. #endif
  24514. #endif
  24515. #endif
  24516. #ifndef _UINT32_T
  24517. #define _UINT32_T
  24518. #ifndef __uint32_t_defined
  24519. #define __uint32_t_defined
  24520. #ifndef uint32_t
  24521. typedef unsigned $acx_cv_type_int32_t uint32_t;
  24522. #endif
  24523. #endif
  24524. #endif
  24525. #ifndef _INT8_T
  24526. #define _INT8_T
  24527. #ifndef __int8_t_defined
  24528. #define __int8_t_defined
  24529. #ifndef int8_t
  24530. typedef $acx_cv_type_int8_t int8_t;
  24531. #endif
  24532. #endif
  24533. #endif
  24534. #ifndef _INT16_T
  24535. #define _INT16_T
  24536. #ifndef __int16_t_defined
  24537. #define __int16_t_defined
  24538. #ifndef int16_t
  24539. typedef $acx_cv_type_int16_t int16_t;
  24540. #endif
  24541. #endif
  24542. #endif
  24543. #ifndef _INT32_T
  24544. #define _INT32_T
  24545. #ifndef __int32_t_defined
  24546. #define __int32_t_defined
  24547. #ifndef int32_t
  24548. typedef $acx_cv_type_int32_t int32_t;
  24549. #endif
  24550. #endif
  24551. #endif
  24552. EOF
  24553. elif test "$ac_cv_type_u_int32_t" = yes; then
  24554. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24555. /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
  24556. #ifndef _INT8_T
  24557. #define _INT8_T
  24558. #endif
  24559. #ifndef _INT16_T
  24560. #define _INT16_T
  24561. #endif
  24562. #ifndef _INT32_T
  24563. #define _INT32_T
  24564. #endif
  24565. #ifndef _UINT8_T
  24566. #define _UINT8_T
  24567. #ifndef __uint8_t_defined
  24568. #define __uint8_t_defined
  24569. #ifndef uint8_t
  24570. typedef u_int8_t uint8_t;
  24571. #endif
  24572. #endif
  24573. #endif
  24574. #ifndef _UINT16_T
  24575. #define _UINT16_T
  24576. #ifndef __uint16_t_defined
  24577. #define __uint16_t_defined
  24578. #ifndef uint16_t
  24579. typedef u_int16_t uint16_t;
  24580. #endif
  24581. #endif
  24582. #endif
  24583. #ifndef _UINT32_T
  24584. #define _UINT32_T
  24585. #ifndef __uint32_t_defined
  24586. #define __uint32_t_defined
  24587. #ifndef uint32_t
  24588. typedef u_int32_t uint32_t;
  24589. #endif
  24590. #endif
  24591. #endif
  24592. EOF
  24593. else
  24594. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24595. /* Some systems have guard macros to prevent redefinitions, define them. */
  24596. #ifndef _INT8_T
  24597. #define _INT8_T
  24598. #endif
  24599. #ifndef _INT16_T
  24600. #define _INT16_T
  24601. #endif
  24602. #ifndef _INT32_T
  24603. #define _INT32_T
  24604. #endif
  24605. #ifndef _UINT8_T
  24606. #define _UINT8_T
  24607. #endif
  24608. #ifndef _UINT16_T
  24609. #define _UINT16_T
  24610. #endif
  24611. #ifndef _UINT32_T
  24612. #define _UINT32_T
  24613. #endif
  24614. EOF
  24615. fi
  24616. # ------------- done basic int types, emit int64_t types ------------
  24617. if test "$ac_cv_type_uint64_t" = yes; then
  24618. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24619. /* system headers have good uint64_t and int64_t */
  24620. #ifndef _INT64_T
  24621. #define _INT64_T
  24622. #endif
  24623. #ifndef _UINT64_T
  24624. #define _UINT64_T
  24625. #endif
  24626. EOF
  24627. elif test "$ac_cv_type_u_int64_t" = yes; then
  24628. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24629. /* system headers have an u_int64_t (and int64_t) */
  24630. #ifndef _INT64_T
  24631. #define _INT64_T
  24632. #endif
  24633. #ifndef _UINT64_T
  24634. #define _UINT64_T
  24635. #ifndef __uint64_t_defined
  24636. #define __uint64_t_defined
  24637. #ifndef uint64_t
  24638. typedef u_int64_t uint64_t;
  24639. #endif
  24640. #endif
  24641. #endif
  24642. EOF
  24643. elif test -n "$acx_cv_type_int64_t"; then
  24644. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24645. /* architecture has a 64-bit type, $acx_cv_type_int64_t */
  24646. #ifndef _INT64_T
  24647. #define _INT64_T
  24648. #ifndef int64_t
  24649. typedef $acx_cv_type_int64_t int64_t;
  24650. #endif
  24651. #endif
  24652. #ifndef _UINT64_T
  24653. #define _UINT64_T
  24654. #ifndef __uint64_t_defined
  24655. #define __uint64_t_defined
  24656. #ifndef uint64_t
  24657. typedef unsigned $acx_cv_type_int64_t uint64_t;
  24658. #endif
  24659. #endif
  24660. #endif
  24661. EOF
  24662. else
  24663. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24664. /* some common heuristics for int64_t, using compiler-specific tests */
  24665. #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
  24666. #ifndef _INT64_T
  24667. #define _INT64_T
  24668. #ifndef __int64_t_defined
  24669. #ifndef int64_t
  24670. typedef long long int64_t;
  24671. #endif
  24672. #endif
  24673. #endif
  24674. #ifndef _UINT64_T
  24675. #define _UINT64_T
  24676. #ifndef uint64_t
  24677. typedef unsigned long long uint64_t;
  24678. #endif
  24679. #endif
  24680. #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
  24681. /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
  24682. does not implement __extension__. But that compiler doesn't define
  24683. __GNUC_MINOR__. */
  24684. # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
  24685. # define __extension__
  24686. # endif
  24687. # ifndef _INT64_T
  24688. # define _INT64_T
  24689. # ifndef int64_t
  24690. __extension__ typedef long long int64_t;
  24691. # endif
  24692. # endif
  24693. # ifndef _UINT64_T
  24694. # define _UINT64_T
  24695. # ifndef uint64_t
  24696. __extension__ typedef unsigned long long uint64_t;
  24697. # endif
  24698. # endif
  24699. #elif !defined __STRICT_ANSI__
  24700. # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
  24701. # ifndef _INT64_T
  24702. # define _INT64_T
  24703. # ifndef int64_t
  24704. typedef __int64 int64_t;
  24705. # endif
  24706. # endif
  24707. # ifndef _UINT64_T
  24708. # define _UINT64_T
  24709. # ifndef uint64_t
  24710. typedef unsigned __int64 uint64_t;
  24711. # endif
  24712. # endif
  24713. # endif /* compiler */
  24714. #endif /* ANSI version */
  24715. EOF
  24716. fi
  24717. # ------------- done int64_t types, emit intptr types ------------
  24718. if test "$ac_cv_type_uintptr_t" != yes; then
  24719. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24720. /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
  24721. #ifndef __uintptr_t_defined
  24722. #ifndef uintptr_t
  24723. typedef u$acx_cv_type_intptr_t uintptr_t;
  24724. #endif
  24725. #endif
  24726. #ifndef __intptr_t_defined
  24727. #ifndef intptr_t
  24728. typedef $acx_cv_type_intptr_t intptr_t;
  24729. #endif
  24730. #endif
  24731. EOF
  24732. fi
  24733. # ------------- done intptr types, emit int_least types ------------
  24734. if test "$ac_cv_type_int_least32_t" != yes; then
  24735. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24736. /* Define int_least types */
  24737. typedef int8_t int_least8_t;
  24738. typedef int16_t int_least16_t;
  24739. typedef int32_t int_least32_t;
  24740. #ifdef _INT64_T
  24741. typedef int64_t int_least64_t;
  24742. #endif
  24743. typedef uint8_t uint_least8_t;
  24744. typedef uint16_t uint_least16_t;
  24745. typedef uint32_t uint_least32_t;
  24746. #ifdef _UINT64_T
  24747. typedef uint64_t uint_least64_t;
  24748. #endif
  24749. EOF
  24750. fi
  24751. # ------------- done intptr types, emit int_fast types ------------
  24752. if test "$ac_cv_type_int_fast32_t" != yes; then
  24753. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24754. /* Define int_fast types. short is often slow */
  24755. typedef int8_t int_fast8_t;
  24756. typedef int int_fast16_t;
  24757. typedef int32_t int_fast32_t;
  24758. #ifdef _INT64_T
  24759. typedef int64_t int_fast64_t;
  24760. #endif
  24761. typedef uint8_t uint_fast8_t;
  24762. typedef unsigned int uint_fast16_t;
  24763. typedef uint32_t uint_fast32_t;
  24764. #ifdef _UINT64_T
  24765. typedef uint64_t uint_fast64_t;
  24766. #endif
  24767. EOF
  24768. fi
  24769. if test "$ac_cv_type_uintmax_t" != yes; then
  24770. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24771. /* Define intmax based on what we found */
  24772. #ifndef intmax_t
  24773. #ifdef _INT64_T
  24774. typedef int64_t intmax_t;
  24775. #else
  24776. typedef long intmax_t;
  24777. #endif
  24778. #endif
  24779. #ifndef uintmax_t
  24780. #ifdef _UINT64_T
  24781. typedef uint64_t uintmax_t;
  24782. #else
  24783. typedef unsigned long uintmax_t;
  24784. #endif
  24785. #endif
  24786. EOF
  24787. fi
  24788. sed 's/^ *//' >> tmp-stdint.h <<EOF
  24789. #endif /* GCC_GENERATED_STDINT_H */
  24790. EOF
  24791. if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
  24792. rm -f tmp-stdint.h
  24793. else
  24794. mv -f tmp-stdint.h gstdint.h
  24795. fi
  24796. ;;
  24797. esac
  24798. done # for ac_tag
  24799. as_fn_exit 0
  24800. _ACEOF
  24801. ac_clean_files=$ac_clean_files_save
  24802. test $ac_write_fail = 0 ||
  24803. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  24804. # configure is writing to config.log, and then calls config.status.
  24805. # config.status does its own redirection, appending to config.log.
  24806. # Unfortunately, on DOS this fails, as config.log is still kept open
  24807. # by configure, so config.status won't be able to write to it; its
  24808. # output is simply discarded. So we exec the FD to /dev/null,
  24809. # effectively closing config.log, so it can be properly (re)opened and
  24810. # appended to by config.status. When coming back to configure, we
  24811. # need to make the FD available again.
  24812. if test "$no_create" != yes; then
  24813. ac_cs_success=:
  24814. ac_config_status_args=
  24815. test "$silent" = yes &&
  24816. ac_config_status_args="$ac_config_status_args --quiet"
  24817. exec 5>/dev/null
  24818. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  24819. exec 5>>config.log
  24820. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  24821. # would make configure fail if this is the last instruction.
  24822. $ac_cs_success || as_fn_exit $?
  24823. fi
  24824. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  24825. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  24826. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  24827. fi