You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 557KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for PostgreSQL 13devel.
  4. #
  5. # Report bugs to <pgsql-bugs@lists.postgresql.org>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. #
  14. # Copyright (c) 1996-2019, PostgreSQL Global Development Group
  15. ## -------------------- ##
  16. ## M4sh Initialization. ##
  17. ## -------------------- ##
  18. # Be more Bourne compatible
  19. DUALCASE=1; export DUALCASE # for MKS sh
  20. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  21. emulate sh
  22. NULLCMD=:
  23. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24. # is contrary to our usage. Disable this feature.
  25. alias -g '${1+"$@"}'='"$@"'
  26. setopt NO_GLOB_SUBST
  27. else
  28. case `(set -o) 2>/dev/null` in #(
  29. *posix*) :
  30. set -o posix ;; #(
  31. *) :
  32. ;;
  33. esac
  34. fi
  35. as_nl='
  36. '
  37. export as_nl
  38. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  39. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  42. # Prefer a ksh shell builtin over an external printf program on Solaris,
  43. # but without wasting forks for bash or zsh.
  44. if test -z "$BASH_VERSION$ZSH_VERSION" \
  45. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  46. as_echo='print -r --'
  47. as_echo_n='print -rn --'
  48. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  49. as_echo='printf %s\n'
  50. as_echo_n='printf %s'
  51. else
  52. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  53. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  54. as_echo_n='/usr/ucb/echo -n'
  55. else
  56. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  57. as_echo_n_body='eval
  58. arg=$1;
  59. case $arg in #(
  60. *"$as_nl"*)
  61. expr "X$arg" : "X\\(.*\\)$as_nl";
  62. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  63. esac;
  64. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  65. '
  66. export as_echo_n_body
  67. as_echo_n='sh -c $as_echo_n_body as_echo'
  68. fi
  69. export as_echo_body
  70. as_echo='sh -c $as_echo_body as_echo'
  71. fi
  72. # The user is always right.
  73. if test "${PATH_SEPARATOR+set}" != set; then
  74. PATH_SEPARATOR=:
  75. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  76. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  77. PATH_SEPARATOR=';'
  78. }
  79. fi
  80. # IFS
  81. # We need space, tab and new line, in precisely that order. Quoting is
  82. # there to prevent editors from complaining about space-tab.
  83. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  84. # splitting by setting IFS to empty value.)
  85. IFS=" "" $as_nl"
  86. # Find who we are. Look in the path if we contain no directory separator.
  87. as_myself=
  88. case $0 in #((
  89. *[\\/]* ) as_myself=$0 ;;
  90. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  91. for as_dir in $PATH
  92. do
  93. IFS=$as_save_IFS
  94. test -z "$as_dir" && as_dir=.
  95. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  96. done
  97. IFS=$as_save_IFS
  98. ;;
  99. esac
  100. # We did not find ourselves, most probably we were run as `sh COMMAND'
  101. # in which case we are not to be found in the path.
  102. if test "x$as_myself" = x; then
  103. as_myself=$0
  104. fi
  105. if test ! -f "$as_myself"; then
  106. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  107. exit 1
  108. fi
  109. # Unset variables that we do not need and which cause bugs (e.g. in
  110. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  111. # suppresses any "Segmentation fault" message there. '((' could
  112. # trigger a bug in pdksh 5.2.14.
  113. for as_var in BASH_ENV ENV MAIL MAILPATH
  114. do eval test x\${$as_var+set} = xset \
  115. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  116. done
  117. PS1='$ '
  118. PS2='> '
  119. PS4='+ '
  120. # NLS nuisances.
  121. LC_ALL=C
  122. export LC_ALL
  123. LANGUAGE=C
  124. export LANGUAGE
  125. # CDPATH.
  126. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  127. # Use a proper internal environment variable to ensure we don't fall
  128. # into an infinite loop, continuously re-executing ourselves.
  129. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  130. _as_can_reexec=no; export _as_can_reexec;
  131. # We cannot yet assume a decent shell, so we have to provide a
  132. # neutralization value for shells without unset; and this also
  133. # works around shells that cannot unset nonexistent variables.
  134. # Preserve -v and -x to the replacement shell.
  135. BASH_ENV=/dev/null
  136. ENV=/dev/null
  137. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  138. case $- in # ((((
  139. *v*x* | *x*v* ) as_opts=-vx ;;
  140. *v* ) as_opts=-v ;;
  141. *x* ) as_opts=-x ;;
  142. * ) as_opts= ;;
  143. esac
  144. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  145. # Admittedly, this is quite paranoid, since all the known shells bail
  146. # out after a failed `exec'.
  147. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  148. as_fn_exit 255
  149. fi
  150. # We don't want this to propagate to other subprocesses.
  151. { _as_can_reexec=; unset _as_can_reexec;}
  152. if test "x$CONFIG_SHELL" = x; then
  153. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  154. emulate sh
  155. NULLCMD=:
  156. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  157. # is contrary to our usage. Disable this feature.
  158. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  159. setopt NO_GLOB_SUBST
  160. else
  161. case \`(set -o) 2>/dev/null\` in #(
  162. *posix*) :
  163. set -o posix ;; #(
  164. *) :
  165. ;;
  166. esac
  167. fi
  168. "
  169. as_required="as_fn_return () { (exit \$1); }
  170. as_fn_success () { as_fn_return 0; }
  171. as_fn_failure () { as_fn_return 1; }
  172. as_fn_ret_success () { return 0; }
  173. as_fn_ret_failure () { return 1; }
  174. exitcode=0
  175. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  176. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  177. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  178. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  179. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  180. else
  181. exitcode=1; echo positional parameters were not saved.
  182. fi
  183. test x\$exitcode = x0 || exit 1
  184. test -x / || exit 1"
  185. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  186. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  187. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  188. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  189. test \$(( 1 + 1 )) = 2 || exit 1"
  190. if (eval "$as_required") 2>/dev/null; then :
  191. as_have_required=yes
  192. else
  193. as_have_required=no
  194. fi
  195. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  196. else
  197. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  198. as_found=false
  199. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  200. do
  201. IFS=$as_save_IFS
  202. test -z "$as_dir" && as_dir=.
  203. as_found=:
  204. case $as_dir in #(
  205. /*)
  206. for as_base in sh bash ksh sh5; do
  207. # Try only shells that exist, to save several forks.
  208. as_shell=$as_dir/$as_base
  209. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  210. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  211. CONFIG_SHELL=$as_shell as_have_required=yes
  212. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  213. break 2
  214. fi
  215. fi
  216. done;;
  217. esac
  218. as_found=false
  219. done
  220. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  221. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  222. CONFIG_SHELL=$SHELL as_have_required=yes
  223. fi; }
  224. IFS=$as_save_IFS
  225. if test "x$CONFIG_SHELL" != x; then :
  226. export CONFIG_SHELL
  227. # We cannot yet assume a decent shell, so we have to provide a
  228. # neutralization value for shells without unset; and this also
  229. # works around shells that cannot unset nonexistent variables.
  230. # Preserve -v and -x to the replacement shell.
  231. BASH_ENV=/dev/null
  232. ENV=/dev/null
  233. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  234. case $- in # ((((
  235. *v*x* | *x*v* ) as_opts=-vx ;;
  236. *v* ) as_opts=-v ;;
  237. *x* ) as_opts=-x ;;
  238. * ) as_opts= ;;
  239. esac
  240. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  241. # Admittedly, this is quite paranoid, since all the known shells bail
  242. # out after a failed `exec'.
  243. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  244. exit 255
  245. fi
  246. if test x$as_have_required = xno; then :
  247. $as_echo "$0: This script requires a shell more modern than all"
  248. $as_echo "$0: the shells that I found on your system."
  249. if test x${ZSH_VERSION+set} = xset ; then
  250. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  251. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  252. else
  253. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  254. $0: pgsql-bugs@lists.postgresql.org about your system,
  255. $0: including any error possibly output before this
  256. $0: message. Then install a modern shell, or manually run
  257. $0: the script under such a shell if you do have one."
  258. fi
  259. exit 1
  260. fi
  261. fi
  262. fi
  263. SHELL=${CONFIG_SHELL-/bin/sh}
  264. export SHELL
  265. # Unset more variables known to interfere with behavior of common tools.
  266. CLICOLOR_FORCE= GREP_OPTIONS=
  267. unset CLICOLOR_FORCE GREP_OPTIONS
  268. ## --------------------- ##
  269. ## M4sh Shell Functions. ##
  270. ## --------------------- ##
  271. # as_fn_unset VAR
  272. # ---------------
  273. # Portably unset VAR.
  274. as_fn_unset ()
  275. {
  276. { eval $1=; unset $1;}
  277. }
  278. as_unset=as_fn_unset
  279. # as_fn_set_status STATUS
  280. # -----------------------
  281. # Set $? to STATUS, without forking.
  282. as_fn_set_status ()
  283. {
  284. return $1
  285. } # as_fn_set_status
  286. # as_fn_exit STATUS
  287. # -----------------
  288. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  289. as_fn_exit ()
  290. {
  291. set +e
  292. as_fn_set_status $1
  293. exit $1
  294. } # as_fn_exit
  295. # as_fn_mkdir_p
  296. # -------------
  297. # Create "$as_dir" as a directory, including parents if necessary.
  298. as_fn_mkdir_p ()
  299. {
  300. case $as_dir in #(
  301. -*) as_dir=./$as_dir;;
  302. esac
  303. test -d "$as_dir" || eval $as_mkdir_p || {
  304. as_dirs=
  305. while :; do
  306. case $as_dir in #(
  307. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  308. *) as_qdir=$as_dir;;
  309. esac
  310. as_dirs="'$as_qdir' $as_dirs"
  311. as_dir=`$as_dirname -- "$as_dir" ||
  312. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  313. X"$as_dir" : 'X\(//\)[^/]' \| \
  314. X"$as_dir" : 'X\(//\)$' \| \
  315. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  316. $as_echo X"$as_dir" |
  317. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  318. s//\1/
  319. q
  320. }
  321. /^X\(\/\/\)[^/].*/{
  322. s//\1/
  323. q
  324. }
  325. /^X\(\/\/\)$/{
  326. s//\1/
  327. q
  328. }
  329. /^X\(\/\).*/{
  330. s//\1/
  331. q
  332. }
  333. s/.*/./; q'`
  334. test -d "$as_dir" && break
  335. done
  336. test -z "$as_dirs" || eval "mkdir $as_dirs"
  337. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  338. } # as_fn_mkdir_p
  339. # as_fn_executable_p FILE
  340. # -----------------------
  341. # Test if FILE is an executable regular file.
  342. as_fn_executable_p ()
  343. {
  344. test -f "$1" && test -x "$1"
  345. } # as_fn_executable_p
  346. # as_fn_append VAR VALUE
  347. # ----------------------
  348. # Append the text in VALUE to the end of the definition contained in VAR. Take
  349. # advantage of any shell optimizations that allow amortized linear growth over
  350. # repeated appends, instead of the typical quadratic growth present in naive
  351. # implementations.
  352. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  353. eval 'as_fn_append ()
  354. {
  355. eval $1+=\$2
  356. }'
  357. else
  358. as_fn_append ()
  359. {
  360. eval $1=\$$1\$2
  361. }
  362. fi # as_fn_append
  363. # as_fn_arith ARG...
  364. # ------------------
  365. # Perform arithmetic evaluation on the ARGs, and store the result in the
  366. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  367. # must be portable across $(()) and expr.
  368. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  369. eval 'as_fn_arith ()
  370. {
  371. as_val=$(( $* ))
  372. }'
  373. else
  374. as_fn_arith ()
  375. {
  376. as_val=`expr "$@" || test $? -eq 1`
  377. }
  378. fi # as_fn_arith
  379. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  380. # ----------------------------------------
  381. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  382. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  383. # script with STATUS, using 1 if that was 0.
  384. as_fn_error ()
  385. {
  386. as_status=$1; test $as_status -eq 0 && as_status=1
  387. if test "$4"; then
  388. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  389. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  390. fi
  391. $as_echo "$as_me: error: $2" >&2
  392. as_fn_exit $as_status
  393. } # as_fn_error
  394. if expr a : '\(a\)' >/dev/null 2>&1 &&
  395. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  396. as_expr=expr
  397. else
  398. as_expr=false
  399. fi
  400. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  401. as_basename=basename
  402. else
  403. as_basename=false
  404. fi
  405. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  406. as_dirname=dirname
  407. else
  408. as_dirname=false
  409. fi
  410. as_me=`$as_basename -- "$0" ||
  411. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  412. X"$0" : 'X\(//\)$' \| \
  413. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  414. $as_echo X/"$0" |
  415. sed '/^.*\/\([^/][^/]*\)\/*$/{
  416. s//\1/
  417. q
  418. }
  419. /^X\/\(\/\/\)$/{
  420. s//\1/
  421. q
  422. }
  423. /^X\/\(\/\).*/{
  424. s//\1/
  425. q
  426. }
  427. s/.*/./; q'`
  428. # Avoid depending upon Character Ranges.
  429. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  430. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  431. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  432. as_cr_digits='0123456789'
  433. as_cr_alnum=$as_cr_Letters$as_cr_digits
  434. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  435. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  436. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  437. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  438. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  439. sed -n '
  440. p
  441. /[$]LINENO/=
  442. ' <$as_myself |
  443. sed '
  444. s/[$]LINENO.*/&-/
  445. t lineno
  446. b
  447. :lineno
  448. N
  449. :loop
  450. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  451. t loop
  452. s/-\n.*//
  453. ' >$as_me.lineno &&
  454. chmod +x "$as_me.lineno" ||
  455. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  456. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  457. # already done that, so ensure we don't try to do so again and fall
  458. # in an infinite loop. This has already happened in practice.
  459. _as_can_reexec=no; export _as_can_reexec
  460. # Don't try to exec as it changes $[0], causing all sort of problems
  461. # (the dirname of $[0] is not the place where we might find the
  462. # original and so on. Autoconf is especially sensitive to this).
  463. . "./$as_me.lineno"
  464. # Exit status is that of the last command.
  465. exit
  466. }
  467. ECHO_C= ECHO_N= ECHO_T=
  468. case `echo -n x` in #(((((
  469. -n*)
  470. case `echo 'xy\c'` in
  471. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  472. xy) ECHO_C='\c';;
  473. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  474. ECHO_T=' ';;
  475. esac;;
  476. *)
  477. ECHO_N='-n';;
  478. esac
  479. rm -f conf$$ conf$$.exe conf$$.file
  480. if test -d conf$$.dir; then
  481. rm -f conf$$.dir/conf$$.file
  482. else
  483. rm -f conf$$.dir
  484. mkdir conf$$.dir 2>/dev/null
  485. fi
  486. if (echo >conf$$.file) 2>/dev/null; then
  487. if ln -s conf$$.file conf$$ 2>/dev/null; then
  488. as_ln_s='ln -s'
  489. # ... but there are two gotchas:
  490. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  491. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  492. # In both cases, we have to default to `cp -pR'.
  493. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  494. as_ln_s='cp -pR'
  495. elif ln conf$$.file conf$$ 2>/dev/null; then
  496. as_ln_s=ln
  497. else
  498. as_ln_s='cp -pR'
  499. fi
  500. else
  501. as_ln_s='cp -pR'
  502. fi
  503. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  504. rmdir conf$$.dir 2>/dev/null
  505. if mkdir -p . 2>/dev/null; then
  506. as_mkdir_p='mkdir -p "$as_dir"'
  507. else
  508. test -d ./-p && rmdir ./-p
  509. as_mkdir_p=false
  510. fi
  511. as_test_x='test -x'
  512. as_executable_p=as_fn_executable_p
  513. # Sed expression to map a string onto a valid CPP name.
  514. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  515. # Sed expression to map a string onto a valid variable name.
  516. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  517. test -n "$DJDIR" || exec 7<&0 </dev/null
  518. exec 6>&1
  519. # Name of the host.
  520. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  521. # so uname gets run too.
  522. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  523. #
  524. # Initializations.
  525. #
  526. ac_default_prefix=/usr/local
  527. ac_clean_files=
  528. ac_config_libobj_dir=.
  529. LIBOBJS=
  530. cross_compiling=no
  531. subdirs=
  532. MFLAGS=
  533. MAKEFLAGS=
  534. # Identity of this package.
  535. PACKAGE_NAME='PostgreSQL'
  536. PACKAGE_TARNAME='postgresql'
  537. PACKAGE_VERSION='13devel'
  538. PACKAGE_STRING='PostgreSQL 13devel'
  539. PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
  540. PACKAGE_URL=''
  541. ac_unique_file="src/backend/access/common/heaptuple.c"
  542. ac_default_prefix=/usr/local/pgsql
  543. # Factoring default headers for most tests.
  544. ac_includes_default="\
  545. #include <stdio.h>
  546. #ifdef HAVE_SYS_TYPES_H
  547. # include <sys/types.h>
  548. #endif
  549. #ifdef HAVE_SYS_STAT_H
  550. # include <sys/stat.h>
  551. #endif
  552. #ifdef STDC_HEADERS
  553. # include <stdlib.h>
  554. # include <stddef.h>
  555. #else
  556. # ifdef HAVE_STDLIB_H
  557. # include <stdlib.h>
  558. # endif
  559. #endif
  560. #ifdef HAVE_STRING_H
  561. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  562. # include <memory.h>
  563. # endif
  564. # include <string.h>
  565. #endif
  566. #ifdef HAVE_STRINGS_H
  567. # include <strings.h>
  568. #endif
  569. #ifdef HAVE_INTTYPES_H
  570. # include <inttypes.h>
  571. #endif
  572. #ifdef HAVE_STDINT_H
  573. # include <stdint.h>
  574. #endif
  575. #ifdef HAVE_UNISTD_H
  576. # include <unistd.h>
  577. #endif"
  578. ac_subst_vars='LTLIBOBJS
  579. vpath_build
  580. PG_SYSROOT
  581. PG_VERSION_NUM
  582. PROVE
  583. FOP
  584. XSLTPROC
  585. DBTOEPUB
  586. have_docbook
  587. XMLLINT
  588. TCL_SHLIB_LD_LIBS
  589. TCL_SHARED_BUILD
  590. TCL_LIB_SPEC
  591. TCL_LIBS
  592. TCL_INCLUDE_SPEC
  593. TCL_CONFIG_SH
  594. TCLSH
  595. XGETTEXT
  596. MSGMERGE
  597. MSGFMT_FLAGS
  598. MSGFMT
  599. PG_CRC32C_OBJS
  600. CFLAGS_ARMV8_CRC32C
  601. CFLAGS_SSE42
  602. have_win32_dbghelp
  603. LIBOBJS
  604. UUID_LIBS
  605. LDAP_LIBS_BE
  606. LDAP_LIBS_FE
  607. PTHREAD_CFLAGS
  608. PTHREAD_LIBS
  609. PTHREAD_CC
  610. ax_pthread_config
  611. EGREP
  612. GREP
  613. SED
  614. ZIC
  615. python_additional_libs
  616. python_libspec
  617. python_libdir
  618. python_includespec
  619. python_version
  620. python_majorversion
  621. PYTHON
  622. perl_embed_ldflags
  623. perl_embed_ccflags
  624. perl_includespec
  625. perl_useshrplib
  626. perl_privlibexp
  627. perl_archlibexp
  628. PERL
  629. FLEXFLAGS
  630. FLEX
  631. BISONFLAGS
  632. BISON
  633. MKDIR_P
  634. LN_S
  635. TAR
  636. install_bin
  637. INSTALL_DATA
  638. INSTALL_SCRIPT
  639. INSTALL_PROGRAM
  640. WINDRES
  641. DLLWRAP
  642. DLLTOOL
  643. AR
  644. STRIP_SHARED_LIB
  645. STRIP_STATIC_LIB
  646. STRIP
  647. RANLIB
  648. with_gnu_ld
  649. LD
  650. LDFLAGS_SL
  651. LDFLAGS_EX
  652. with_zlib
  653. with_system_tzdata
  654. with_libxslt
  655. with_libxml
  656. XML2_CONFIG
  657. UUID_EXTRA_OBJS
  658. with_uuid
  659. with_systemd
  660. with_selinux
  661. with_openssl
  662. with_ldap
  663. with_krb_srvnam
  664. krb_srvtab
  665. with_gssapi
  666. with_python
  667. with_perl
  668. with_tcl
  669. ICU_LIBS
  670. ICU_CFLAGS
  671. PKG_CONFIG_LIBDIR
  672. PKG_CONFIG_PATH
  673. PKG_CONFIG
  674. with_icu
  675. enable_thread_safety
  676. INCLUDES
  677. autodepend
  678. TAS
  679. GCC
  680. CPP
  681. BITCODE_CXXFLAGS
  682. BITCODE_CFLAGS
  683. CFLAGS_VECTOR
  684. PERMIT_DECLARATION_AFTER_STATEMENT
  685. LLVM_BINPATH
  686. LLVM_CXXFLAGS
  687. LLVM_CFLAGS
  688. LLVM_CPPFLAGS
  689. LLVM_LIBS
  690. CLANG
  691. LLVM_CONFIG
  692. AWK
  693. with_llvm
  694. SUN_STUDIO_CC
  695. ac_ct_CXX
  696. CXXFLAGS
  697. CXX
  698. OBJEXT
  699. EXEEXT
  700. ac_ct_CC
  701. CPPFLAGS
  702. LDFLAGS
  703. CFLAGS
  704. CC
  705. enable_tap_tests
  706. enable_dtrace
  707. DTRACEFLAGS
  708. DTRACE
  709. enable_coverage
  710. GENHTML
  711. LCOV
  712. GCOV
  713. enable_debug
  714. enable_rpath
  715. default_port
  716. WANTED_LANGUAGES
  717. enable_nls
  718. PORTNAME
  719. host_os
  720. host_vendor
  721. host_cpu
  722. host
  723. build_os
  724. build_vendor
  725. build_cpu
  726. build
  727. PG_MAJORVERSION
  728. configure_args
  729. target_alias
  730. host_alias
  731. build_alias
  732. LIBS
  733. ECHO_T
  734. ECHO_N
  735. ECHO_C
  736. DEFS
  737. mandir
  738. localedir
  739. libdir
  740. psdir
  741. pdfdir
  742. dvidir
  743. htmldir
  744. infodir
  745. docdir
  746. oldincludedir
  747. includedir
  748. localstatedir
  749. sharedstatedir
  750. sysconfdir
  751. datadir
  752. datarootdir
  753. libexecdir
  754. sbindir
  755. bindir
  756. program_transform_name
  757. prefix
  758. exec_prefix
  759. PACKAGE_URL
  760. PACKAGE_BUGREPORT
  761. PACKAGE_STRING
  762. PACKAGE_VERSION
  763. PACKAGE_TARNAME
  764. PACKAGE_NAME
  765. PATH_SEPARATOR
  766. SHELL'
  767. ac_subst_files=''
  768. ac_user_opts='
  769. enable_option_checking
  770. with_extra_version
  771. with_template
  772. with_includes
  773. with_libraries
  774. with_libs
  775. enable_integer_datetimes
  776. enable_nls
  777. with_pgport
  778. enable_rpath
  779. enable_spinlocks
  780. enable_atomics
  781. enable_debug
  782. enable_profiling
  783. enable_coverage
  784. enable_dtrace
  785. enable_tap_tests
  786. with_blocksize
  787. with_segsize
  788. with_wal_blocksize
  789. with_CC
  790. with_llvm
  791. enable_depend
  792. enable_cassert
  793. enable_thread_safety
  794. with_icu
  795. with_tcl
  796. with_tclconfig
  797. with_perl
  798. with_python
  799. with_gssapi
  800. with_krb_srvnam
  801. with_pam
  802. with_bsd_auth
  803. with_ldap
  804. with_bonjour
  805. with_openssl
  806. with_selinux
  807. with_systemd
  808. with_readline
  809. with_libedit_preferred
  810. with_uuid
  811. with_ossp_uuid
  812. with_libxml
  813. with_libxslt
  814. with_system_tzdata
  815. with_zlib
  816. with_gnu_ld
  817. enable_largefile
  818. enable_float4_byval
  819. enable_float8_byval
  820. '
  821. ac_precious_vars='build_alias
  822. host_alias
  823. target_alias
  824. CC
  825. CFLAGS
  826. LDFLAGS
  827. LIBS
  828. CPPFLAGS
  829. CXX
  830. CXXFLAGS
  831. CCC
  832. LLVM_CONFIG
  833. CLANG
  834. CPP
  835. PKG_CONFIG
  836. PKG_CONFIG_PATH
  837. PKG_CONFIG_LIBDIR
  838. ICU_CFLAGS
  839. ICU_LIBS
  840. XML2_CONFIG
  841. LDFLAGS_EX
  842. LDFLAGS_SL
  843. PERL
  844. PYTHON
  845. MSGFMT
  846. TCLSH'
  847. # Initialize some variables set by options.
  848. ac_init_help=
  849. ac_init_version=false
  850. ac_unrecognized_opts=
  851. ac_unrecognized_sep=
  852. # The variables have the same names as the options, with
  853. # dashes changed to underlines.
  854. cache_file=/dev/null
  855. exec_prefix=NONE
  856. no_create=
  857. no_recursion=
  858. prefix=NONE
  859. program_prefix=NONE
  860. program_suffix=NONE
  861. program_transform_name=s,x,x,
  862. silent=
  863. site=
  864. srcdir=
  865. verbose=
  866. x_includes=NONE
  867. x_libraries=NONE
  868. # Installation directory options.
  869. # These are left unexpanded so users can "make install exec_prefix=/foo"
  870. # and all the variables that are supposed to be based on exec_prefix
  871. # by default will actually change.
  872. # Use braces instead of parens because sh, perl, etc. also accept them.
  873. # (The list follows the same order as the GNU Coding Standards.)
  874. bindir='${exec_prefix}/bin'
  875. sbindir='${exec_prefix}/sbin'
  876. libexecdir='${exec_prefix}/libexec'
  877. datarootdir='${prefix}/share'
  878. datadir='${datarootdir}'
  879. sysconfdir='${prefix}/etc'
  880. sharedstatedir='${prefix}/com'
  881. localstatedir='${prefix}/var'
  882. includedir='${prefix}/include'
  883. oldincludedir='/usr/include'
  884. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  885. infodir='${datarootdir}/info'
  886. htmldir='${docdir}'
  887. dvidir='${docdir}'
  888. pdfdir='${docdir}'
  889. psdir='${docdir}'
  890. libdir='${exec_prefix}/lib'
  891. localedir='${datarootdir}/locale'
  892. mandir='${datarootdir}/man'
  893. ac_prev=
  894. ac_dashdash=
  895. for ac_option
  896. do
  897. # If the previous option needs an argument, assign it.
  898. if test -n "$ac_prev"; then
  899. eval $ac_prev=\$ac_option
  900. ac_prev=
  901. continue
  902. fi
  903. case $ac_option in
  904. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  905. *=) ac_optarg= ;;
  906. *) ac_optarg=yes ;;
  907. esac
  908. # Accept the important Cygnus configure options, so we can diagnose typos.
  909. case $ac_dashdash$ac_option in
  910. --)
  911. ac_dashdash=yes ;;
  912. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  913. ac_prev=bindir ;;
  914. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  915. bindir=$ac_optarg ;;
  916. -build | --build | --buil | --bui | --bu)
  917. ac_prev=build_alias ;;
  918. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  919. build_alias=$ac_optarg ;;
  920. -cache-file | --cache-file | --cache-fil | --cache-fi \
  921. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  922. ac_prev=cache_file ;;
  923. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  924. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  925. cache_file=$ac_optarg ;;
  926. --config-cache | -C)
  927. cache_file=config.cache ;;
  928. -datadir | --datadir | --datadi | --datad)
  929. ac_prev=datadir ;;
  930. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  931. datadir=$ac_optarg ;;
  932. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  933. | --dataroo | --dataro | --datar)
  934. ac_prev=datarootdir ;;
  935. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  936. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  937. datarootdir=$ac_optarg ;;
  938. -disable-* | --disable-*)
  939. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  940. # Reject names that are not valid shell variable names.
  941. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  942. as_fn_error $? "invalid feature name: $ac_useropt"
  943. ac_useropt_orig=$ac_useropt
  944. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  945. case $ac_user_opts in
  946. *"
  947. "enable_$ac_useropt"
  948. "*) ;;
  949. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  950. ac_unrecognized_sep=', ';;
  951. esac
  952. eval enable_$ac_useropt=no ;;
  953. -docdir | --docdir | --docdi | --doc | --do)
  954. ac_prev=docdir ;;
  955. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  956. docdir=$ac_optarg ;;
  957. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  958. ac_prev=dvidir ;;
  959. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  960. dvidir=$ac_optarg ;;
  961. -enable-* | --enable-*)
  962. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  963. # Reject names that are not valid shell variable names.
  964. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  965. as_fn_error $? "invalid feature name: $ac_useropt"
  966. ac_useropt_orig=$ac_useropt
  967. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  968. case $ac_user_opts in
  969. *"
  970. "enable_$ac_useropt"
  971. "*) ;;
  972. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  973. ac_unrecognized_sep=', ';;
  974. esac
  975. eval enable_$ac_useropt=\$ac_optarg ;;
  976. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  977. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  978. | --exec | --exe | --ex)
  979. ac_prev=exec_prefix ;;
  980. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  981. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  982. | --exec=* | --exe=* | --ex=*)
  983. exec_prefix=$ac_optarg ;;
  984. -gas | --gas | --ga | --g)
  985. # Obsolete; use --with-gas.
  986. with_gas=yes ;;
  987. -help | --help | --hel | --he | -h)
  988. ac_init_help=long ;;
  989. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  990. ac_init_help=recursive ;;
  991. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  992. ac_init_help=short ;;
  993. -host | --host | --hos | --ho)
  994. ac_prev=host_alias ;;
  995. -host=* | --host=* | --hos=* | --ho=*)
  996. host_alias=$ac_optarg ;;
  997. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  998. ac_prev=htmldir ;;
  999. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1000. | --ht=*)
  1001. htmldir=$ac_optarg ;;
  1002. -includedir | --includedir | --includedi | --included | --include \
  1003. | --includ | --inclu | --incl | --inc)
  1004. ac_prev=includedir ;;
  1005. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1006. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1007. includedir=$ac_optarg ;;
  1008. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1009. ac_prev=infodir ;;
  1010. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1011. infodir=$ac_optarg ;;
  1012. -libdir | --libdir | --libdi | --libd)
  1013. ac_prev=libdir ;;
  1014. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1015. libdir=$ac_optarg ;;
  1016. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1017. | --libexe | --libex | --libe)
  1018. ac_prev=libexecdir ;;
  1019. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1020. | --libexe=* | --libex=* | --libe=*)
  1021. libexecdir=$ac_optarg ;;
  1022. -localedir | --localedir | --localedi | --localed | --locale)
  1023. ac_prev=localedir ;;
  1024. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1025. localedir=$ac_optarg ;;
  1026. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1027. | --localstate | --localstat | --localsta | --localst | --locals)
  1028. ac_prev=localstatedir ;;
  1029. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1030. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1031. localstatedir=$ac_optarg ;;
  1032. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1033. ac_prev=mandir ;;
  1034. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1035. mandir=$ac_optarg ;;
  1036. -nfp | --nfp | --nf)
  1037. # Obsolete; use --without-fp.
  1038. with_fp=no ;;
  1039. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1040. | --no-cr | --no-c | -n)
  1041. no_create=yes ;;
  1042. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1043. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1044. no_recursion=yes ;;
  1045. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1046. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1047. | --oldin | --oldi | --old | --ol | --o)
  1048. ac_prev=oldincludedir ;;
  1049. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1050. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1051. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1052. oldincludedir=$ac_optarg ;;
  1053. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1054. ac_prev=prefix ;;
  1055. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1056. prefix=$ac_optarg ;;
  1057. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1058. | --program-pre | --program-pr | --program-p)
  1059. ac_prev=program_prefix ;;
  1060. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1061. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1062. program_prefix=$ac_optarg ;;
  1063. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1064. | --program-suf | --program-su | --program-s)
  1065. ac_prev=program_suffix ;;
  1066. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1067. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1068. program_suffix=$ac_optarg ;;
  1069. -program-transform-name | --program-transform-name \
  1070. | --program-transform-nam | --program-transform-na \
  1071. | --program-transform-n | --program-transform- \
  1072. | --program-transform | --program-transfor \
  1073. | --program-transfo | --program-transf \
  1074. | --program-trans | --program-tran \
  1075. | --progr-tra | --program-tr | --program-t)
  1076. ac_prev=program_transform_name ;;
  1077. -program-transform-name=* | --program-transform-name=* \
  1078. | --program-transform-nam=* | --program-transform-na=* \
  1079. | --program-transform-n=* | --program-transform-=* \
  1080. | --program-transform=* | --program-transfor=* \
  1081. | --program-transfo=* | --program-transf=* \
  1082. | --program-trans=* | --program-tran=* \
  1083. | --progr-tra=* | --program-tr=* | --program-t=*)
  1084. program_transform_name=$ac_optarg ;;
  1085. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1086. ac_prev=pdfdir ;;
  1087. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1088. pdfdir=$ac_optarg ;;
  1089. -psdir | --psdir | --psdi | --psd | --ps)
  1090. ac_prev=psdir ;;
  1091. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1092. psdir=$ac_optarg ;;
  1093. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1094. | -silent | --silent | --silen | --sile | --sil)
  1095. silent=yes ;;
  1096. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1097. ac_prev=sbindir ;;
  1098. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1099. | --sbi=* | --sb=*)
  1100. sbindir=$ac_optarg ;;
  1101. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1102. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1103. | --sharedst | --shareds | --shared | --share | --shar \
  1104. | --sha | --sh)
  1105. ac_prev=sharedstatedir ;;
  1106. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1107. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1108. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1109. | --sha=* | --sh=*)
  1110. sharedstatedir=$ac_optarg ;;
  1111. -site | --site | --sit)
  1112. ac_prev=site ;;
  1113. -site=* | --site=* | --sit=*)
  1114. site=$ac_optarg ;;
  1115. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1116. ac_prev=srcdir ;;
  1117. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1118. srcdir=$ac_optarg ;;
  1119. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1120. | --syscon | --sysco | --sysc | --sys | --sy)
  1121. ac_prev=sysconfdir ;;
  1122. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1123. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1124. sysconfdir=$ac_optarg ;;
  1125. -target | --target | --targe | --targ | --tar | --ta | --t)
  1126. ac_prev=target_alias ;;
  1127. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1128. target_alias=$ac_optarg ;;
  1129. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1130. verbose=yes ;;
  1131. -version | --version | --versio | --versi | --vers | -V)
  1132. ac_init_version=: ;;
  1133. -with-* | --with-*)
  1134. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1135. # Reject names that are not valid shell variable names.
  1136. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1137. as_fn_error $? "invalid package name: $ac_useropt"
  1138. ac_useropt_orig=$ac_useropt
  1139. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1140. case $ac_user_opts in
  1141. *"
  1142. "with_$ac_useropt"
  1143. "*) ;;
  1144. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1145. ac_unrecognized_sep=', ';;
  1146. esac
  1147. eval with_$ac_useropt=\$ac_optarg ;;
  1148. -without-* | --without-*)
  1149. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1150. # Reject names that are not valid shell variable names.
  1151. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1152. as_fn_error $? "invalid package name: $ac_useropt"
  1153. ac_useropt_orig=$ac_useropt
  1154. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1155. case $ac_user_opts in
  1156. *"
  1157. "with_$ac_useropt"
  1158. "*) ;;
  1159. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1160. ac_unrecognized_sep=', ';;
  1161. esac
  1162. eval with_$ac_useropt=no ;;
  1163. --x)
  1164. # Obsolete; use --with-x.
  1165. with_x=yes ;;
  1166. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1167. | --x-incl | --x-inc | --x-in | --x-i)
  1168. ac_prev=x_includes ;;
  1169. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1170. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1171. x_includes=$ac_optarg ;;
  1172. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1173. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1174. ac_prev=x_libraries ;;
  1175. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1176. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1177. x_libraries=$ac_optarg ;;
  1178. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1179. Try \`$0 --help' for more information"
  1180. ;;
  1181. *=*)
  1182. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1183. # Reject names that are not valid shell variable names.
  1184. case $ac_envvar in #(
  1185. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1186. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1187. esac
  1188. eval $ac_envvar=\$ac_optarg
  1189. export $ac_envvar ;;
  1190. *)
  1191. # FIXME: should be removed in autoconf 3.0.
  1192. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1193. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1194. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1195. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1196. ;;
  1197. esac
  1198. done
  1199. if test -n "$ac_prev"; then
  1200. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1201. as_fn_error $? "missing argument to $ac_option"
  1202. fi
  1203. if test -n "$ac_unrecognized_opts"; then
  1204. case $enable_option_checking in
  1205. no) ;;
  1206. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1207. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1208. esac
  1209. fi
  1210. # Check all directory arguments for consistency.
  1211. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1212. datadir sysconfdir sharedstatedir localstatedir includedir \
  1213. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1214. libdir localedir mandir
  1215. do
  1216. eval ac_val=\$$ac_var
  1217. # Remove trailing slashes.
  1218. case $ac_val in
  1219. */ )
  1220. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1221. eval $ac_var=\$ac_val;;
  1222. esac
  1223. # Be sure to have absolute directory names.
  1224. case $ac_val in
  1225. [\\/$]* | ?:[\\/]* ) continue;;
  1226. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1227. esac
  1228. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1229. done
  1230. # There might be people who depend on the old broken behavior: `$host'
  1231. # used to hold the argument of --host etc.
  1232. # FIXME: To remove some day.
  1233. build=$build_alias
  1234. host=$host_alias
  1235. target=$target_alias
  1236. # FIXME: To remove some day.
  1237. if test "x$host_alias" != x; then
  1238. if test "x$build_alias" = x; then
  1239. cross_compiling=maybe
  1240. elif test "x$build_alias" != "x$host_alias"; then
  1241. cross_compiling=yes
  1242. fi
  1243. fi
  1244. ac_tool_prefix=
  1245. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1246. test "$silent" = yes && exec 6>/dev/null
  1247. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1248. ac_ls_di=`ls -di .` &&
  1249. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1250. as_fn_error $? "working directory cannot be determined"
  1251. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1252. as_fn_error $? "pwd does not report name of working directory"
  1253. # Find the source files, if location was not specified.
  1254. if test -z "$srcdir"; then
  1255. ac_srcdir_defaulted=yes
  1256. # Try the directory containing this script, then the parent directory.
  1257. ac_confdir=`$as_dirname -- "$as_myself" ||
  1258. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1259. X"$as_myself" : 'X\(//\)[^/]' \| \
  1260. X"$as_myself" : 'X\(//\)$' \| \
  1261. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1262. $as_echo X"$as_myself" |
  1263. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1264. s//\1/
  1265. q
  1266. }
  1267. /^X\(\/\/\)[^/].*/{
  1268. s//\1/
  1269. q
  1270. }
  1271. /^X\(\/\/\)$/{
  1272. s//\1/
  1273. q
  1274. }
  1275. /^X\(\/\).*/{
  1276. s//\1/
  1277. q
  1278. }
  1279. s/.*/./; q'`
  1280. srcdir=$ac_confdir
  1281. if test ! -r "$srcdir/$ac_unique_file"; then
  1282. srcdir=..
  1283. fi
  1284. else
  1285. ac_srcdir_defaulted=no
  1286. fi
  1287. if test ! -r "$srcdir/$ac_unique_file"; then
  1288. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1289. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1290. fi
  1291. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1292. ac_abs_confdir=`(
  1293. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1294. pwd)`
  1295. # When building in place, set srcdir=.
  1296. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1297. srcdir=.
  1298. fi
  1299. # Remove unnecessary trailing slashes from srcdir.
  1300. # Double slashes in file names in object file debugging info
  1301. # mess up M-x gdb in Emacs.
  1302. case $srcdir in
  1303. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1304. esac
  1305. for ac_var in $ac_precious_vars; do
  1306. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1307. eval ac_env_${ac_var}_value=\$${ac_var}
  1308. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1309. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1310. done
  1311. #
  1312. # Report the --help message.
  1313. #
  1314. if test "$ac_init_help" = "long"; then
  1315. # Omit some internal or obsolete options to make the list less imposing.
  1316. # This message is too long to be a string in the A/UX 3.1 sh.
  1317. cat <<_ACEOF
  1318. \`configure' configures PostgreSQL 13devel to adapt to many kinds of systems.
  1319. Usage: $0 [OPTION]... [VAR=VALUE]...
  1320. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1321. VAR=VALUE. See below for descriptions of some of the useful variables.
  1322. Defaults for the options are specified in brackets.
  1323. Configuration:
  1324. -h, --help display this help and exit
  1325. --help=short display options specific to this package
  1326. --help=recursive display the short help of all the included packages
  1327. -V, --version display version information and exit
  1328. -q, --quiet, --silent do not print \`checking ...' messages
  1329. --cache-file=FILE cache test results in FILE [disabled]
  1330. -C, --config-cache alias for \`--cache-file=config.cache'
  1331. -n, --no-create do not create output files
  1332. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1333. Installation directories:
  1334. --prefix=PREFIX install architecture-independent files in PREFIX
  1335. [$ac_default_prefix]
  1336. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1337. [PREFIX]
  1338. By default, \`make install' will install all the files in
  1339. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1340. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1341. for instance \`--prefix=\$HOME'.
  1342. For better control, use the options below.
  1343. Fine tuning of the installation directories:
  1344. --bindir=DIR user executables [EPREFIX/bin]
  1345. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1346. --libexecdir=DIR program executables [EPREFIX/libexec]
  1347. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1348. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1349. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1350. --libdir=DIR object code libraries [EPREFIX/lib]
  1351. --includedir=DIR C header files [PREFIX/include]
  1352. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1353. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1354. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1355. --infodir=DIR info documentation [DATAROOTDIR/info]
  1356. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1357. --mandir=DIR man documentation [DATAROOTDIR/man]
  1358. --docdir=DIR documentation root [DATAROOTDIR/doc/postgresql]
  1359. --htmldir=DIR html documentation [DOCDIR]
  1360. --dvidir=DIR dvi documentation [DOCDIR]
  1361. --pdfdir=DIR pdf documentation [DOCDIR]
  1362. --psdir=DIR ps documentation [DOCDIR]
  1363. _ACEOF
  1364. cat <<\_ACEOF
  1365. System types:
  1366. --build=BUILD configure for building on BUILD [guessed]
  1367. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1368. _ACEOF
  1369. fi
  1370. if test -n "$ac_init_help"; then
  1371. case $ac_init_help in
  1372. short | recursive ) echo "Configuration of PostgreSQL 13devel:";;
  1373. esac
  1374. cat <<\_ACEOF
  1375. Optional Features:
  1376. --disable-option-checking ignore unrecognized --enable/--with options
  1377. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1378. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1379. --disable-integer-datetimes
  1380. obsolete option, no longer supported
  1381. --enable-nls[=LANGUAGES]
  1382. enable Native Language Support
  1383. --disable-rpath do not embed shared library search path in
  1384. executables
  1385. --disable-spinlocks do not use spinlocks
  1386. --disable-atomics do not use atomic operations
  1387. --enable-debug build with debugging symbols (-g)
  1388. --enable-profiling build with profiling enabled
  1389. --enable-coverage build with coverage testing instrumentation
  1390. --enable-dtrace build with DTrace support
  1391. --enable-tap-tests enable TAP tests (requires Perl and IPC::Run)
  1392. --enable-depend turn on automatic dependency tracking
  1393. --enable-cassert enable assertion checks (for debugging)
  1394. --disable-thread-safety disable thread-safety in client libraries
  1395. --disable-largefile omit support for large files
  1396. --disable-float4-byval disable float4 passed by value
  1397. --disable-float8-byval disable float8 passed by value
  1398. Optional Packages:
  1399. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1400. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1401. --with-extra-version=STRING
  1402. append STRING to version
  1403. --with-template=NAME override operating system template
  1404. --with-includes=DIRS look for additional header files in DIRS
  1405. --with-libraries=DIRS look for additional libraries in DIRS
  1406. --with-libs=DIRS alternative spelling of --with-libraries
  1407. --with-pgport=PORTNUM set default port number [5432]
  1408. --with-blocksize=BLOCKSIZE
  1409. set table block size in kB [8]
  1410. --with-segsize=SEGSIZE set table segment size in GB [1]
  1411. --with-wal-blocksize=BLOCKSIZE
  1412. set WAL block size in kB [8]
  1413. --with-CC=CMD set compiler (deprecated)
  1414. --with-llvm build with LLVM based JIT support
  1415. --with-icu build with ICU support
  1416. --with-tcl build Tcl modules (PL/Tcl)
  1417. --with-tclconfig=DIR tclConfig.sh is in DIR
  1418. --with-perl build Perl modules (PL/Perl)
  1419. --with-python build Python modules (PL/Python)
  1420. --with-gssapi build with GSSAPI support
  1421. --with-krb-srvnam=NAME default service principal name in Kerberos (GSSAPI)
  1422. [postgres]
  1423. --with-pam build with PAM support
  1424. --with-bsd-auth build with BSD Authentication support
  1425. --with-ldap build with LDAP support
  1426. --with-bonjour build with Bonjour support
  1427. --with-openssl build with OpenSSL support
  1428. --with-selinux build with SELinux support
  1429. --with-systemd build with systemd support
  1430. --without-readline do not use GNU Readline nor BSD Libedit for editing
  1431. --with-libedit-preferred
  1432. prefer BSD Libedit over GNU Readline
  1433. --with-uuid=LIB build contrib/uuid-ossp using LIB (bsd,e2fs,ossp)
  1434. --with-ossp-uuid obsolete spelling of --with-uuid=ossp
  1435. --with-libxml build with XML support
  1436. --with-libxslt use XSLT support when building contrib/xml2
  1437. --with-system-tzdata=DIR
  1438. use system time zone data in DIR
  1439. --without-zlib do not use Zlib
  1440. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1441. Some influential environment variables:
  1442. CC C compiler command
  1443. CFLAGS C compiler flags
  1444. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1445. nonstandard directory <lib dir>
  1446. LIBS libraries to pass to the linker, e.g. -l<library>
  1447. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1448. you have headers in a nonstandard directory <include dir>
  1449. CXX C++ compiler command
  1450. CXXFLAGS C++ compiler flags
  1451. LLVM_CONFIG path to llvm-config command
  1452. CLANG path to clang compiler to generate bitcode
  1453. CPP C preprocessor
  1454. PKG_CONFIG path to pkg-config utility
  1455. PKG_CONFIG_PATH
  1456. directories to add to pkg-config's search path
  1457. PKG_CONFIG_LIBDIR
  1458. path overriding pkg-config's built-in search path
  1459. ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
  1460. ICU_LIBS linker flags for ICU, overriding pkg-config
  1461. XML2_CONFIG path to xml2-config utility
  1462. LDFLAGS_EX extra linker flags for linking executables only
  1463. LDFLAGS_SL extra linker flags for linking shared libraries only
  1464. PERL Perl program
  1465. PYTHON Python program
  1466. MSGFMT msgfmt program for NLS
  1467. TCLSH Tcl interpreter program (tclsh)
  1468. Use these variables to override the choices made by `configure' or to help
  1469. it to find libraries and programs with nonstandard names/locations.
  1470. Report bugs to <pgsql-bugs@lists.postgresql.org>.
  1471. _ACEOF
  1472. ac_status=$?
  1473. fi
  1474. if test "$ac_init_help" = "recursive"; then
  1475. # If there are subdirs, report their specific --help.
  1476. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1477. test -d "$ac_dir" ||
  1478. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1479. continue
  1480. ac_builddir=.
  1481. case "$ac_dir" in
  1482. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1483. *)
  1484. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1485. # A ".." for each directory in $ac_dir_suffix.
  1486. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1487. case $ac_top_builddir_sub in
  1488. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1489. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1490. esac ;;
  1491. esac
  1492. ac_abs_top_builddir=$ac_pwd
  1493. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1494. # for backward compatibility:
  1495. ac_top_builddir=$ac_top_build_prefix
  1496. case $srcdir in
  1497. .) # We are building in place.
  1498. ac_srcdir=.
  1499. ac_top_srcdir=$ac_top_builddir_sub
  1500. ac_abs_top_srcdir=$ac_pwd ;;
  1501. [\\/]* | ?:[\\/]* ) # Absolute name.
  1502. ac_srcdir=$srcdir$ac_dir_suffix;
  1503. ac_top_srcdir=$srcdir
  1504. ac_abs_top_srcdir=$srcdir ;;
  1505. *) # Relative name.
  1506. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1507. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1508. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1509. esac
  1510. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1511. cd "$ac_dir" || { ac_status=$?; continue; }
  1512. # Check for guested configure.
  1513. if test -f "$ac_srcdir/configure.gnu"; then
  1514. echo &&
  1515. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1516. elif test -f "$ac_srcdir/configure"; then
  1517. echo &&
  1518. $SHELL "$ac_srcdir/configure" --help=recursive
  1519. else
  1520. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1521. fi || ac_status=$?
  1522. cd "$ac_pwd" || { ac_status=$?; break; }
  1523. done
  1524. fi
  1525. test -n "$ac_init_help" && exit $ac_status
  1526. if $ac_init_version; then
  1527. cat <<\_ACEOF
  1528. PostgreSQL configure 13devel
  1529. generated by GNU Autoconf 2.69
  1530. Copyright (C) 2012 Free Software Foundation, Inc.
  1531. This configure script is free software; the Free Software Foundation
  1532. gives unlimited permission to copy, distribute and modify it.
  1533. Copyright (c) 1996-2019, PostgreSQL Global Development Group
  1534. _ACEOF
  1535. exit
  1536. fi
  1537. ## ------------------------ ##
  1538. ## Autoconf initialization. ##
  1539. ## ------------------------ ##
  1540. # ac_fn_c_try_compile LINENO
  1541. # --------------------------
  1542. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1543. ac_fn_c_try_compile ()
  1544. {
  1545. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1546. rm -f conftest.$ac_objext
  1547. if { { ac_try="$ac_compile"
  1548. case "(($ac_try" in
  1549. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1550. *) ac_try_echo=$ac_try;;
  1551. esac
  1552. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1553. $as_echo "$ac_try_echo"; } >&5
  1554. (eval "$ac_compile") 2>conftest.err
  1555. ac_status=$?
  1556. if test -s conftest.err; then
  1557. grep -v '^ *+' conftest.err >conftest.er1
  1558. cat conftest.er1 >&5
  1559. mv -f conftest.er1 conftest.err
  1560. fi
  1561. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1562. test $ac_status = 0; } && {
  1563. test -z "$ac_c_werror_flag" ||
  1564. test ! -s conftest.err
  1565. } && test -s conftest.$ac_objext; then :
  1566. ac_retval=0
  1567. else
  1568. $as_echo "$as_me: failed program was:" >&5
  1569. sed 's/^/| /' conftest.$ac_ext >&5
  1570. ac_retval=1
  1571. fi
  1572. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1573. as_fn_set_status $ac_retval
  1574. } # ac_fn_c_try_compile
  1575. # ac_fn_cxx_try_compile LINENO
  1576. # ----------------------------
  1577. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1578. ac_fn_cxx_try_compile ()
  1579. {
  1580. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1581. rm -f conftest.$ac_objext
  1582. if { { ac_try="$ac_compile"
  1583. case "(($ac_try" in
  1584. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1585. *) ac_try_echo=$ac_try;;
  1586. esac
  1587. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1588. $as_echo "$ac_try_echo"; } >&5
  1589. (eval "$ac_compile") 2>conftest.err
  1590. ac_status=$?
  1591. if test -s conftest.err; then
  1592. grep -v '^ *+' conftest.err >conftest.er1
  1593. cat conftest.er1 >&5
  1594. mv -f conftest.er1 conftest.err
  1595. fi
  1596. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1597. test $ac_status = 0; } && {
  1598. test -z "$ac_cxx_werror_flag" ||
  1599. test ! -s conftest.err
  1600. } && test -s conftest.$ac_objext; then :
  1601. ac_retval=0
  1602. else
  1603. $as_echo "$as_me: failed program was:" >&5
  1604. sed 's/^/| /' conftest.$ac_ext >&5
  1605. ac_retval=1
  1606. fi
  1607. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1608. as_fn_set_status $ac_retval
  1609. } # ac_fn_cxx_try_compile
  1610. # ac_fn_c_try_link LINENO
  1611. # -----------------------
  1612. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1613. ac_fn_c_try_link ()
  1614. {
  1615. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1616. rm -f conftest.$ac_objext conftest$ac_exeext
  1617. if { { ac_try="$ac_link"
  1618. case "(($ac_try" in
  1619. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1620. *) ac_try_echo=$ac_try;;
  1621. esac
  1622. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1623. $as_echo "$ac_try_echo"; } >&5
  1624. (eval "$ac_link") 2>conftest.err
  1625. ac_status=$?
  1626. if test -s conftest.err; then
  1627. grep -v '^ *+' conftest.err >conftest.er1
  1628. cat conftest.er1 >&5
  1629. mv -f conftest.er1 conftest.err
  1630. fi
  1631. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1632. test $ac_status = 0; } && {
  1633. test -z "$ac_c_werror_flag" ||
  1634. test ! -s conftest.err
  1635. } && test -s conftest$ac_exeext && {
  1636. test "$cross_compiling" = yes ||
  1637. test -x conftest$ac_exeext
  1638. }; then :
  1639. ac_retval=0
  1640. else
  1641. $as_echo "$as_me: failed program was:" >&5
  1642. sed 's/^/| /' conftest.$ac_ext >&5
  1643. ac_retval=1
  1644. fi
  1645. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1646. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1647. # interfere with the next link command; also delete a directory that is
  1648. # left behind by Apple's compiler. We do this before executing the actions.
  1649. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1650. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1651. as_fn_set_status $ac_retval
  1652. } # ac_fn_c_try_link
  1653. # ac_fn_c_try_cpp LINENO
  1654. # ----------------------
  1655. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1656. ac_fn_c_try_cpp ()
  1657. {
  1658. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1659. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1660. case "(($ac_try" in
  1661. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1662. *) ac_try_echo=$ac_try;;
  1663. esac
  1664. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1665. $as_echo "$ac_try_echo"; } >&5
  1666. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1667. ac_status=$?
  1668. if test -s conftest.err; then
  1669. grep -v '^ *+' conftest.err >conftest.er1
  1670. cat conftest.er1 >&5
  1671. mv -f conftest.er1 conftest.err
  1672. fi
  1673. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1674. test $ac_status = 0; } > conftest.i && {
  1675. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1676. test ! -s conftest.err
  1677. }; then :
  1678. ac_retval=0
  1679. else
  1680. $as_echo "$as_me: failed program was:" >&5
  1681. sed 's/^/| /' conftest.$ac_ext >&5
  1682. ac_retval=1
  1683. fi
  1684. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1685. as_fn_set_status $ac_retval
  1686. } # ac_fn_c_try_cpp
  1687. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1688. # -------------------------------------------------------
  1689. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1690. # the include files in INCLUDES and setting the cache variable VAR
  1691. # accordingly.
  1692. ac_fn_c_check_header_mongrel ()
  1693. {
  1694. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1695. if eval \${$3+:} false; then :
  1696. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1697. $as_echo_n "checking for $2... " >&6; }
  1698. if eval \${$3+:} false; then :
  1699. $as_echo_n "(cached) " >&6
  1700. fi
  1701. eval ac_res=\$$3
  1702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1703. $as_echo "$ac_res" >&6; }
  1704. else
  1705. # Is the header compilable?
  1706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1707. $as_echo_n "checking $2 usability... " >&6; }
  1708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1709. /* end confdefs.h. */
  1710. $4
  1711. #include <$2>
  1712. _ACEOF
  1713. if ac_fn_c_try_compile "$LINENO"; then :
  1714. ac_header_compiler=yes
  1715. else
  1716. ac_header_compiler=no
  1717. fi
  1718. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1720. $as_echo "$ac_header_compiler" >&6; }
  1721. # Is the header present?
  1722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1723. $as_echo_n "checking $2 presence... " >&6; }
  1724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1725. /* end confdefs.h. */
  1726. #include <$2>
  1727. _ACEOF
  1728. if ac_fn_c_try_cpp "$LINENO"; then :
  1729. ac_header_preproc=yes
  1730. else
  1731. ac_header_preproc=no
  1732. fi
  1733. rm -f conftest.err conftest.i conftest.$ac_ext
  1734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1735. $as_echo "$ac_header_preproc" >&6; }
  1736. # So? What about this header?
  1737. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1738. yes:no: )
  1739. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1740. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1741. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1742. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1743. ;;
  1744. no:yes:* )
  1745. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1746. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1747. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1748. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1749. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1750. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1751. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1752. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1753. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1754. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1755. ( $as_echo "## ---------------------------------------------- ##
  1756. ## Report this to pgsql-bugs@lists.postgresql.org ##
  1757. ## ---------------------------------------------- ##"
  1758. ) | sed "s/^/$as_me: WARNING: /" >&2
  1759. ;;
  1760. esac
  1761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1762. $as_echo_n "checking for $2... " >&6; }
  1763. if eval \${$3+:} false; then :
  1764. $as_echo_n "(cached) " >&6
  1765. else
  1766. eval "$3=\$ac_header_compiler"
  1767. fi
  1768. eval ac_res=\$$3
  1769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1770. $as_echo "$ac_res" >&6; }
  1771. fi
  1772. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1773. } # ac_fn_c_check_header_mongrel
  1774. # ac_fn_c_try_run LINENO
  1775. # ----------------------
  1776. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1777. # that executables *can* be run.
  1778. ac_fn_c_try_run ()
  1779. {
  1780. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1781. if { { ac_try="$ac_link"
  1782. case "(($ac_try" in
  1783. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1784. *) ac_try_echo=$ac_try;;
  1785. esac
  1786. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1787. $as_echo "$ac_try_echo"; } >&5
  1788. (eval "$ac_link") 2>&5
  1789. ac_status=$?
  1790. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1791. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1792. { { case "(($ac_try" in
  1793. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1794. *) ac_try_echo=$ac_try;;
  1795. esac
  1796. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1797. $as_echo "$ac_try_echo"; } >&5
  1798. (eval "$ac_try") 2>&5
  1799. ac_status=$?
  1800. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1801. test $ac_status = 0; }; }; then :
  1802. ac_retval=0
  1803. else
  1804. $as_echo "$as_me: program exited with status $ac_status" >&5
  1805. $as_echo "$as_me: failed program was:" >&5
  1806. sed 's/^/| /' conftest.$ac_ext >&5
  1807. ac_retval=$ac_status
  1808. fi
  1809. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1810. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1811. as_fn_set_status $ac_retval
  1812. } # ac_fn_c_try_run
  1813. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1814. # -------------------------------------------------------
  1815. # Tests whether HEADER exists and can be compiled using the include files in
  1816. # INCLUDES, setting the cache variable VAR accordingly.
  1817. ac_fn_c_check_header_compile ()
  1818. {
  1819. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1821. $as_echo_n "checking for $2... " >&6; }
  1822. if eval \${$3+:} false; then :
  1823. $as_echo_n "(cached) " >&6
  1824. else
  1825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1826. /* end confdefs.h. */
  1827. $4
  1828. #include <$2>
  1829. _ACEOF
  1830. if ac_fn_c_try_compile "$LINENO"; then :
  1831. eval "$3=yes"
  1832. else
  1833. eval "$3=no"
  1834. fi
  1835. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1836. fi
  1837. eval ac_res=\$$3
  1838. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1839. $as_echo "$ac_res" >&6; }
  1840. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1841. } # ac_fn_c_check_header_compile
  1842. # ac_fn_c_check_func LINENO FUNC VAR
  1843. # ----------------------------------
  1844. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1845. ac_fn_c_check_func ()
  1846. {
  1847. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1848. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1849. $as_echo_n "checking for $2... " >&6; }
  1850. if eval \${$3+:} false; then :
  1851. $as_echo_n "(cached) " >&6
  1852. else
  1853. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1854. /* end confdefs.h. */
  1855. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1856. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1857. #define $2 innocuous_$2
  1858. /* System header to define __stub macros and hopefully few prototypes,
  1859. which can conflict with char $2 (); below.
  1860. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1861. <limits.h> exists even on freestanding compilers. */
  1862. #ifdef __STDC__
  1863. # include <limits.h>
  1864. #else
  1865. # include <assert.h>
  1866. #endif
  1867. #undef $2
  1868. /* Override any GCC internal prototype to avoid an error.
  1869. Use char because int might match the return type of a GCC
  1870. builtin and then its argument prototype would still apply. */
  1871. #ifdef __cplusplus
  1872. extern "C"
  1873. #endif
  1874. char $2 ();
  1875. /* The GNU C library defines this for functions which it implements
  1876. to always fail with ENOSYS. Some functions are actually named
  1877. something starting with __ and the normal name is an alias. */
  1878. #if defined __stub_$2 || defined __stub___$2
  1879. choke me
  1880. #endif
  1881. int
  1882. main ()
  1883. {
  1884. return $2 ();
  1885. ;
  1886. return 0;
  1887. }
  1888. _ACEOF
  1889. if ac_fn_c_try_link "$LINENO"; then :
  1890. eval "$3=yes"
  1891. else
  1892. eval "$3=no"
  1893. fi
  1894. rm -f core conftest.err conftest.$ac_objext \
  1895. conftest$ac_exeext conftest.$ac_ext
  1896. fi
  1897. eval ac_res=\$$3
  1898. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1899. $as_echo "$ac_res" >&6; }
  1900. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1901. } # ac_fn_c_check_func
  1902. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1903. # -------------------------------------------
  1904. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1905. # variable VAR accordingly.
  1906. ac_fn_c_check_type ()
  1907. {
  1908. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1910. $as_echo_n "checking for $2... " >&6; }
  1911. if eval \${$3+:} false; then :
  1912. $as_echo_n "(cached) " >&6
  1913. else
  1914. eval "$3=no"
  1915. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1916. /* end confdefs.h. */
  1917. $4
  1918. int
  1919. main ()
  1920. {
  1921. if (sizeof ($2))
  1922. return 0;
  1923. ;
  1924. return 0;
  1925. }
  1926. _ACEOF
  1927. if ac_fn_c_try_compile "$LINENO"; then :
  1928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1929. /* end confdefs.h. */
  1930. $4
  1931. int
  1932. main ()
  1933. {
  1934. if (sizeof (($2)))
  1935. return 0;
  1936. ;
  1937. return 0;
  1938. }
  1939. _ACEOF
  1940. if ac_fn_c_try_compile "$LINENO"; then :
  1941. else
  1942. eval "$3=yes"
  1943. fi
  1944. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1945. fi
  1946. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1947. fi
  1948. eval ac_res=\$$3
  1949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1950. $as_echo "$ac_res" >&6; }
  1951. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1952. } # ac_fn_c_check_type
  1953. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1954. # ----------------------------------------------------
  1955. # Tries to find if the field MEMBER exists in type AGGR, after including
  1956. # INCLUDES, setting cache variable VAR accordingly.
  1957. ac_fn_c_check_member ()
  1958. {
  1959. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1960. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1961. $as_echo_n "checking for $2.$3... " >&6; }
  1962. if eval \${$4+:} false; then :
  1963. $as_echo_n "(cached) " >&6
  1964. else
  1965. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1966. /* end confdefs.h. */
  1967. $5
  1968. int
  1969. main ()
  1970. {
  1971. static $2 ac_aggr;
  1972. if (ac_aggr.$3)
  1973. return 0;
  1974. ;
  1975. return 0;
  1976. }
  1977. _ACEOF
  1978. if ac_fn_c_try_compile "$LINENO"; then :
  1979. eval "$4=yes"
  1980. else
  1981. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1982. /* end confdefs.h. */
  1983. $5
  1984. int
  1985. main ()
  1986. {
  1987. static $2 ac_aggr;
  1988. if (sizeof ac_aggr.$3)
  1989. return 0;
  1990. ;
  1991. return 0;
  1992. }
  1993. _ACEOF
  1994. if ac_fn_c_try_compile "$LINENO"; then :
  1995. eval "$4=yes"
  1996. else
  1997. eval "$4=no"
  1998. fi
  1999. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2000. fi
  2001. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2002. fi
  2003. eval ac_res=\$$4
  2004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2005. $as_echo "$ac_res" >&6; }
  2006. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2007. } # ac_fn_c_check_member
  2008. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  2009. # --------------------------------------------
  2010. # Tries to find the compile-time value of EXPR in a program that includes
  2011. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  2012. # computed
  2013. ac_fn_c_compute_int ()
  2014. {
  2015. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2016. if test "$cross_compiling" = yes; then
  2017. # Depending upon the size, compute the lo and hi bounds.
  2018. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2019. /* end confdefs.h. */
  2020. $4
  2021. int
  2022. main ()
  2023. {
  2024. static int test_array [1 - 2 * !(($2) >= 0)];
  2025. test_array [0] = 0;
  2026. return test_array [0];
  2027. ;
  2028. return 0;
  2029. }
  2030. _ACEOF
  2031. if ac_fn_c_try_compile "$LINENO"; then :
  2032. ac_lo=0 ac_mid=0
  2033. while :; do
  2034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2035. /* end confdefs.h. */
  2036. $4
  2037. int
  2038. main ()
  2039. {
  2040. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2041. test_array [0] = 0;
  2042. return test_array [0];
  2043. ;
  2044. return 0;
  2045. }
  2046. _ACEOF
  2047. if ac_fn_c_try_compile "$LINENO"; then :
  2048. ac_hi=$ac_mid; break
  2049. else
  2050. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2051. if test $ac_lo -le $ac_mid; then
  2052. ac_lo= ac_hi=
  2053. break
  2054. fi
  2055. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2056. fi
  2057. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2058. done
  2059. else
  2060. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2061. /* end confdefs.h. */
  2062. $4
  2063. int
  2064. main ()
  2065. {
  2066. static int test_array [1 - 2 * !(($2) < 0)];
  2067. test_array [0] = 0;
  2068. return test_array [0];
  2069. ;
  2070. return 0;
  2071. }
  2072. _ACEOF
  2073. if ac_fn_c_try_compile "$LINENO"; then :
  2074. ac_hi=-1 ac_mid=-1
  2075. while :; do
  2076. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2077. /* end confdefs.h. */
  2078. $4
  2079. int
  2080. main ()
  2081. {
  2082. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2083. test_array [0] = 0;
  2084. return test_array [0];
  2085. ;
  2086. return 0;
  2087. }
  2088. _ACEOF
  2089. if ac_fn_c_try_compile "$LINENO"; then :
  2090. ac_lo=$ac_mid; break
  2091. else
  2092. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2093. if test $ac_mid -le $ac_hi; then
  2094. ac_lo= ac_hi=
  2095. break
  2096. fi
  2097. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2098. fi
  2099. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2100. done
  2101. else
  2102. ac_lo= ac_hi=
  2103. fi
  2104. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2105. fi
  2106. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2107. # Binary search between lo and hi bounds.
  2108. while test "x$ac_lo" != "x$ac_hi"; do
  2109. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2110. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2111. /* end confdefs.h. */
  2112. $4
  2113. int
  2114. main ()
  2115. {
  2116. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2117. test_array [0] = 0;
  2118. return test_array [0];
  2119. ;
  2120. return 0;
  2121. }
  2122. _ACEOF
  2123. if ac_fn_c_try_compile "$LINENO"; then :
  2124. ac_hi=$ac_mid
  2125. else
  2126. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2127. fi
  2128. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2129. done
  2130. case $ac_lo in #((
  2131. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2132. '') ac_retval=1 ;;
  2133. esac
  2134. else
  2135. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2136. /* end confdefs.h. */
  2137. $4
  2138. static long int longval () { return $2; }
  2139. static unsigned long int ulongval () { return $2; }
  2140. #include <stdio.h>
  2141. #include <stdlib.h>
  2142. int
  2143. main ()
  2144. {
  2145. FILE *f = fopen ("conftest.val", "w");
  2146. if (! f)
  2147. return 1;
  2148. if (($2) < 0)
  2149. {
  2150. long int i = longval ();
  2151. if (i != ($2))
  2152. return 1;
  2153. fprintf (f, "%ld", i);
  2154. }
  2155. else
  2156. {
  2157. unsigned long int i = ulongval ();
  2158. if (i != ($2))
  2159. return 1;
  2160. fprintf (f, "%lu", i);
  2161. }
  2162. /* Do not output a trailing newline, as this causes \r\n confusion
  2163. on some platforms. */
  2164. return ferror (f) || fclose (f) != 0;
  2165. ;
  2166. return 0;
  2167. }
  2168. _ACEOF
  2169. if ac_fn_c_try_run "$LINENO"; then :
  2170. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2171. else
  2172. ac_retval=1
  2173. fi
  2174. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2175. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2176. rm -f conftest.val
  2177. fi
  2178. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2179. as_fn_set_status $ac_retval
  2180. } # ac_fn_c_compute_int
  2181. # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  2182. # ---------------------------------------------
  2183. # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  2184. # accordingly.
  2185. ac_fn_c_check_decl ()
  2186. {
  2187. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2188. # Initialize each $ac_[]_AC_LANG_ABBREV[]_decl_warn_flag once.
  2189. as_decl_name=`echo $2|sed 's/ *(.*//'`
  2190. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  2191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  2192. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  2193. if eval \${$3+:} false; then :
  2194. $as_echo_n "(cached) " >&6
  2195. else
  2196. ac_save_werror_flag=$ac_c_werror_flag
  2197. ac_c_werror_flag="$ac_c_decl_warn_flag$ac_c_werror_flag"
  2198. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2199. /* end confdefs.h. */
  2200. $4
  2201. int
  2202. main ()
  2203. {
  2204. #ifndef $as_decl_name
  2205. #ifdef __cplusplus
  2206. (void) $as_decl_use;
  2207. #else
  2208. (void) $as_decl_name;
  2209. #endif
  2210. #endif
  2211. ;
  2212. return 0;
  2213. }
  2214. _ACEOF
  2215. if ac_fn_c_try_compile "$LINENO"; then :
  2216. eval "$3=yes"
  2217. else
  2218. eval "$3=no"
  2219. fi
  2220. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2221. ac_c_werror_flag=$ac_save_werror_flag
  2222. fi
  2223. eval ac_res=\$$3
  2224. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2225. $as_echo "$ac_res" >&6; }
  2226. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2227. } # ac_fn_c_check_decl
  2228. cat >config.log <<_ACEOF
  2229. This file contains any messages produced by compilers while
  2230. running configure, to aid debugging if configure makes a mistake.
  2231. It was created by PostgreSQL $as_me 13devel, which was
  2232. generated by GNU Autoconf 2.69. Invocation command line was
  2233. $ $0 $@
  2234. _ACEOF
  2235. exec 5>>config.log
  2236. {
  2237. cat <<_ASUNAME
  2238. ## --------- ##
  2239. ## Platform. ##
  2240. ## --------- ##
  2241. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2242. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2243. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2244. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2245. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2246. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2247. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2248. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2249. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2250. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2251. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2252. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2253. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2254. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2255. _ASUNAME
  2256. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2257. for as_dir in $PATH
  2258. do
  2259. IFS=$as_save_IFS
  2260. test -z "$as_dir" && as_dir=.
  2261. $as_echo "PATH: $as_dir"
  2262. done
  2263. IFS=$as_save_IFS
  2264. } >&5
  2265. cat >&5 <<_ACEOF
  2266. ## ----------- ##
  2267. ## Core tests. ##
  2268. ## ----------- ##
  2269. _ACEOF
  2270. # Keep a trace of the command line.
  2271. # Strip out --no-create and --no-recursion so they do not pile up.
  2272. # Strip out --silent because we don't want to record it for future runs.
  2273. # Also quote any args containing shell meta-characters.
  2274. # Make two passes to allow for proper duplicate-argument suppression.
  2275. ac_configure_args=
  2276. ac_configure_args0=
  2277. ac_configure_args1=
  2278. ac_must_keep_next=false
  2279. for ac_pass in 1 2
  2280. do
  2281. for ac_arg
  2282. do
  2283. case $ac_arg in
  2284. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2285. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2286. | -silent | --silent | --silen | --sile | --sil)
  2287. continue ;;
  2288. *\'*)
  2289. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2290. esac
  2291. case $ac_pass in
  2292. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2293. 2)
  2294. as_fn_append ac_configure_args1 " '$ac_arg'"
  2295. if test $ac_must_keep_next = true; then
  2296. ac_must_keep_next=false # Got value, back to normal.
  2297. else
  2298. case $ac_arg in
  2299. *=* | --config-cache | -C | -disable-* | --disable-* \
  2300. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2301. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2302. | -with-* | --with-* | -without-* | --without-* | --x)
  2303. case "$ac_configure_args0 " in
  2304. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2305. esac
  2306. ;;
  2307. -* ) ac_must_keep_next=true ;;
  2308. esac
  2309. fi
  2310. as_fn_append ac_configure_args " '$ac_arg'"
  2311. ;;
  2312. esac
  2313. done
  2314. done
  2315. { ac_configure_args0=; unset ac_configure_args0;}
  2316. { ac_configure_args1=; unset ac_configure_args1;}
  2317. # When interrupted or exit'd, cleanup temporary files, and complete
  2318. # config.log. We remove comments because anyway the quotes in there
  2319. # would cause problems or look ugly.
  2320. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2321. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2322. trap 'exit_status=$?
  2323. # Save into config.log some information that might help in debugging.
  2324. {
  2325. echo
  2326. $as_echo "## ---------------- ##
  2327. ## Cache variables. ##
  2328. ## ---------------- ##"
  2329. echo
  2330. # The following way of writing the cache mishandles newlines in values,
  2331. (
  2332. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2333. eval ac_val=\$$ac_var
  2334. case $ac_val in #(
  2335. *${as_nl}*)
  2336. case $ac_var in #(
  2337. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2338. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2339. esac
  2340. case $ac_var in #(
  2341. _ | IFS | as_nl) ;; #(
  2342. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2343. *) { eval $ac_var=; unset $ac_var;} ;;
  2344. esac ;;
  2345. esac
  2346. done
  2347. (set) 2>&1 |
  2348. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2349. *${as_nl}ac_space=\ *)
  2350. sed -n \
  2351. "s/'\''/'\''\\\\'\'''\''/g;
  2352. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2353. ;; #(
  2354. *)
  2355. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2356. ;;
  2357. esac |
  2358. sort
  2359. )
  2360. echo
  2361. $as_echo "## ----------------- ##
  2362. ## Output variables. ##
  2363. ## ----------------- ##"
  2364. echo
  2365. for ac_var in $ac_subst_vars
  2366. do
  2367. eval ac_val=\$$ac_var
  2368. case $ac_val in
  2369. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2370. esac
  2371. $as_echo "$ac_var='\''$ac_val'\''"
  2372. done | sort
  2373. echo
  2374. if test -n "$ac_subst_files"; then
  2375. $as_echo "## ------------------- ##
  2376. ## File substitutions. ##
  2377. ## ------------------- ##"
  2378. echo
  2379. for ac_var in $ac_subst_files
  2380. do
  2381. eval ac_val=\$$ac_var
  2382. case $ac_val in
  2383. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2384. esac
  2385. $as_echo "$ac_var='\''$ac_val'\''"
  2386. done | sort
  2387. echo
  2388. fi
  2389. if test -s confdefs.h; then
  2390. $as_echo "## ----------- ##
  2391. ## confdefs.h. ##
  2392. ## ----------- ##"
  2393. echo
  2394. cat confdefs.h
  2395. echo
  2396. fi
  2397. test "$ac_signal" != 0 &&
  2398. $as_echo "$as_me: caught signal $ac_signal"
  2399. $as_echo "$as_me: exit $exit_status"
  2400. } >&5
  2401. rm -f core *.core core.conftest.* &&
  2402. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2403. exit $exit_status
  2404. ' 0
  2405. for ac_signal in 1 2 13 15; do
  2406. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2407. done
  2408. ac_signal=0
  2409. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2410. rm -f -r conftest* confdefs.h
  2411. $as_echo "/* confdefs.h */" > confdefs.h
  2412. # Predefined preprocessor variables.
  2413. cat >>confdefs.h <<_ACEOF
  2414. #define PACKAGE_NAME "$PACKAGE_NAME"
  2415. _ACEOF
  2416. cat >>confdefs.h <<_ACEOF
  2417. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2418. _ACEOF
  2419. cat >>confdefs.h <<_ACEOF
  2420. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2421. _ACEOF
  2422. cat >>confdefs.h <<_ACEOF
  2423. #define PACKAGE_STRING "$PACKAGE_STRING"
  2424. _ACEOF
  2425. cat >>confdefs.h <<_ACEOF
  2426. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2427. _ACEOF
  2428. cat >>confdefs.h <<_ACEOF
  2429. #define PACKAGE_URL "$PACKAGE_URL"
  2430. _ACEOF
  2431. # Let the site file select an alternate cache file if it wants to.
  2432. # Prefer an explicitly selected file to automatically selected ones.
  2433. ac_site_file1=NONE
  2434. ac_site_file2=NONE
  2435. if test -n "$CONFIG_SITE"; then
  2436. # We do not want a PATH search for config.site.
  2437. case $CONFIG_SITE in #((
  2438. -*) ac_site_file1=./$CONFIG_SITE;;
  2439. */*) ac_site_file1=$CONFIG_SITE;;
  2440. *) ac_site_file1=./$CONFIG_SITE;;
  2441. esac
  2442. elif test "x$prefix" != xNONE; then
  2443. ac_site_file1=$prefix/share/config.site
  2444. ac_site_file2=$prefix/etc/config.site
  2445. else
  2446. ac_site_file1=$ac_default_prefix/share/config.site
  2447. ac_site_file2=$ac_default_prefix/etc/config.site
  2448. fi
  2449. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2450. do
  2451. test "x$ac_site_file" = xNONE && continue
  2452. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2453. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2454. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2455. sed 's/^/| /' "$ac_site_file" >&5
  2456. . "$ac_site_file" \
  2457. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2458. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2459. as_fn_error $? "failed to load site script $ac_site_file
  2460. See \`config.log' for more details" "$LINENO" 5; }
  2461. fi
  2462. done
  2463. if test -r "$cache_file"; then
  2464. # Some versions of bash will fail to source /dev/null (special files
  2465. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2466. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2467. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2468. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2469. case $cache_file in
  2470. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2471. *) . "./$cache_file";;
  2472. esac
  2473. fi
  2474. else
  2475. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2476. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2477. >$cache_file
  2478. fi
  2479. # Check that the precious variables saved in the cache have kept the same
  2480. # value.
  2481. ac_cache_corrupted=false
  2482. for ac_var in $ac_precious_vars; do
  2483. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2484. eval ac_new_set=\$ac_env_${ac_var}_set
  2485. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2486. eval ac_new_val=\$ac_env_${ac_var}_value
  2487. case $ac_old_set,$ac_new_set in
  2488. set,)
  2489. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2490. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2491. ac_cache_corrupted=: ;;
  2492. ,set)
  2493. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2494. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2495. ac_cache_corrupted=: ;;
  2496. ,);;
  2497. *)
  2498. if test "x$ac_old_val" != "x$ac_new_val"; then
  2499. # differences in whitespace do not lead to failure.
  2500. ac_old_val_w=`echo x $ac_old_val`
  2501. ac_new_val_w=`echo x $ac_new_val`
  2502. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2503. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2504. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2505. ac_cache_corrupted=:
  2506. else
  2507. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2508. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2509. eval $ac_var=\$ac_old_val
  2510. fi
  2511. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2512. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2513. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2514. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2515. fi;;
  2516. esac
  2517. # Pass precious variables to config.status.
  2518. if test "$ac_new_set" = set; then
  2519. case $ac_new_val in
  2520. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2521. *) ac_arg=$ac_var=$ac_new_val ;;
  2522. esac
  2523. case " $ac_configure_args " in
  2524. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2525. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2526. esac
  2527. fi
  2528. done
  2529. if $ac_cache_corrupted; then
  2530. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2531. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2532. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2533. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2534. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2535. fi
  2536. ## -------------------- ##
  2537. ## Main body of script. ##
  2538. ## -------------------- ##
  2539. ac_ext=c
  2540. ac_cpp='$CPP $CPPFLAGS'
  2541. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2542. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2543. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2544. ac_aux_dir=
  2545. for ac_dir in config "$srcdir"/config; do
  2546. if test -f "$ac_dir/install-sh"; then
  2547. ac_aux_dir=$ac_dir
  2548. ac_install_sh="$ac_aux_dir/install-sh -c"
  2549. break
  2550. elif test -f "$ac_dir/install.sh"; then
  2551. ac_aux_dir=$ac_dir
  2552. ac_install_sh="$ac_aux_dir/install.sh -c"
  2553. break
  2554. elif test -f "$ac_dir/shtool"; then
  2555. ac_aux_dir=$ac_dir
  2556. ac_install_sh="$ac_aux_dir/shtool install -c"
  2557. break
  2558. fi
  2559. done
  2560. if test -z "$ac_aux_dir"; then
  2561. as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
  2562. fi
  2563. # These three variables are undocumented and unsupported,
  2564. # and are intended to be withdrawn in a future Autoconf release.
  2565. # They can cause serious problems if a builder's source tree is in a directory
  2566. # whose full name contains unusual characters.
  2567. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2568. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2569. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2570. configure_args=$ac_configure_args
  2571. PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`
  2572. cat >>confdefs.h <<_ACEOF
  2573. #define PG_MAJORVERSION "$PG_MAJORVERSION"
  2574. _ACEOF
  2575. # Check whether --with-extra-version was given.
  2576. if test "${with_extra_version+set}" = set; then :
  2577. withval=$with_extra_version;
  2578. case $withval in
  2579. yes)
  2580. as_fn_error $? "argument required for --with-extra-version option" "$LINENO" 5
  2581. ;;
  2582. no)
  2583. as_fn_error $? "argument required for --with-extra-version option" "$LINENO" 5
  2584. ;;
  2585. *)
  2586. PG_VERSION="$PACKAGE_VERSION$withval"
  2587. ;;
  2588. esac
  2589. else
  2590. PG_VERSION="$PACKAGE_VERSION"
  2591. fi
  2592. cat >>confdefs.h <<_ACEOF
  2593. #define PG_VERSION "$PG_VERSION"
  2594. _ACEOF
  2595. # Make sure we can run config.sub.
  2596. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2597. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2599. $as_echo_n "checking build system type... " >&6; }
  2600. if ${ac_cv_build+:} false; then :
  2601. $as_echo_n "(cached) " >&6
  2602. else
  2603. ac_build_alias=$build_alias
  2604. test "x$ac_build_alias" = x &&
  2605. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2606. test "x$ac_build_alias" = x &&
  2607. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2608. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2609. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2610. fi
  2611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2612. $as_echo "$ac_cv_build" >&6; }
  2613. case $ac_cv_build in
  2614. *-*-*) ;;
  2615. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2616. esac
  2617. build=$ac_cv_build
  2618. ac_save_IFS=$IFS; IFS='-'
  2619. set x $ac_cv_build
  2620. shift
  2621. build_cpu=$1
  2622. build_vendor=$2
  2623. shift; shift
  2624. # Remember, the first character of IFS is used to create $*,
  2625. # except with old shells:
  2626. build_os=$*
  2627. IFS=$ac_save_IFS
  2628. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2630. $as_echo_n "checking host system type... " >&6; }
  2631. if ${ac_cv_host+:} false; then :
  2632. $as_echo_n "(cached) " >&6
  2633. else
  2634. if test "x$host_alias" = x; then
  2635. ac_cv_host=$ac_cv_build
  2636. else
  2637. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2638. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2639. fi
  2640. fi
  2641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2642. $as_echo "$ac_cv_host" >&6; }
  2643. case $ac_cv_host in
  2644. *-*-*) ;;
  2645. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2646. esac
  2647. host=$ac_cv_host
  2648. ac_save_IFS=$IFS; IFS='-'
  2649. set x $ac_cv_host
  2650. shift
  2651. host_cpu=$1
  2652. host_vendor=$2
  2653. shift; shift
  2654. # Remember, the first character of IFS is used to create $*,
  2655. # except with old shells:
  2656. host_os=$*
  2657. IFS=$ac_save_IFS
  2658. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2659. template=
  2660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking which template to use" >&5
  2661. $as_echo_n "checking which template to use... " >&6; }
  2662. # Check whether --with-template was given.
  2663. if test "${with_template+set}" = set; then :
  2664. withval=$with_template;
  2665. case $withval in
  2666. yes)
  2667. as_fn_error $? "argument required for --with-template option" "$LINENO" 5
  2668. ;;
  2669. no)
  2670. as_fn_error $? "argument required for --with-template option" "$LINENO" 5
  2671. ;;
  2672. *)
  2673. case $withval in
  2674. list) echo; ls "$srcdir/src/template"; exit;;
  2675. *) if test -f "$srcdir/src/template/$with_template" ; then
  2676. template=$withval
  2677. else
  2678. as_fn_error $? "'$withval' is not a valid template name. Use 'list' for a list." "$LINENO" 5
  2679. fi;;
  2680. esac
  2681. ;;
  2682. esac
  2683. else
  2684. # --with-template not given
  2685. case $host_os in
  2686. aix*) template=aix ;;
  2687. cygwin*) template=cygwin ;;
  2688. darwin*) template=darwin ;;
  2689. dragonfly*) template=netbsd ;;
  2690. freebsd*) template=freebsd ;;
  2691. hpux*) template=hpux ;;
  2692. linux*|gnu*|k*bsd*-gnu)
  2693. template=linux ;;
  2694. mingw*) template=win32 ;;
  2695. netbsd*) template=netbsd ;;
  2696. openbsd*) template=openbsd ;;
  2697. solaris*) template=solaris ;;
  2698. esac
  2699. if test x"$template" = x"" ; then
  2700. as_fn_error $? "
  2701. *******************************************************************
  2702. PostgreSQL has apparently not been ported to your platform yet.
  2703. To try a manual configuration, look into the src/template directory
  2704. for a similar platform and use the '--with-template=' option.
  2705. Please also contact <pgsql-bugs@lists.postgresql.org> to see about
  2706. rectifying this. Include the above 'checking host system type...'
  2707. line.
  2708. *******************************************************************
  2709. " "$LINENO" 5
  2710. fi
  2711. fi
  2712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $template" >&5
  2713. $as_echo "$template" >&6; }
  2714. PORTNAME=$template
  2715. # Initialize default assumption that we do not need separate assembly code
  2716. # for TAS (test-and-set). This can be overridden by the template file
  2717. # when it's executed.
  2718. need_tas=no
  2719. tas_file=dummy.s
  2720. ##
  2721. ## Command line options
  2722. ##
  2723. #
  2724. # Add non-standard directories to the include path
  2725. #
  2726. # Check whether --with-includes was given.
  2727. if test "${with_includes+set}" = set; then :
  2728. withval=$with_includes;
  2729. case $withval in
  2730. yes)
  2731. as_fn_error $? "argument required for --with-includes option" "$LINENO" 5
  2732. ;;
  2733. no)
  2734. as_fn_error $? "argument required for --with-includes option" "$LINENO" 5
  2735. ;;
  2736. *)
  2737. ;;
  2738. esac
  2739. fi
  2740. #
  2741. # Add non-standard directories to the library search path
  2742. #
  2743. # Check whether --with-libraries was given.
  2744. if test "${with_libraries+set}" = set; then :
  2745. withval=$with_libraries;
  2746. case $withval in
  2747. yes)
  2748. as_fn_error $? "argument required for --with-libraries option" "$LINENO" 5
  2749. ;;
  2750. no)
  2751. as_fn_error $? "argument required for --with-libraries option" "$LINENO" 5
  2752. ;;
  2753. *)
  2754. LIBRARY_DIRS=$withval
  2755. ;;
  2756. esac
  2757. fi
  2758. # Check whether --with-libs was given.
  2759. if test "${with_libs+set}" = set; then :
  2760. withval=$with_libs;
  2761. case $withval in
  2762. yes)
  2763. as_fn_error $? "argument required for --with-libs option" "$LINENO" 5
  2764. ;;
  2765. no)
  2766. as_fn_error $? "argument required for --with-libs option" "$LINENO" 5
  2767. ;;
  2768. *)
  2769. LIBRARY_DIRS=$withval
  2770. ;;
  2771. esac
  2772. fi
  2773. #
  2774. # 64-bit integer date/time storage is now the only option, but to avoid
  2775. # unnecessary breakage of build scripts, continue to accept an explicit
  2776. # "--enable-integer-datetimes" switch.
  2777. #
  2778. # Check whether --enable-integer-datetimes was given.
  2779. if test "${enable_integer_datetimes+set}" = set; then :
  2780. enableval=$enable_integer_datetimes;
  2781. case $enableval in
  2782. yes)
  2783. :
  2784. ;;
  2785. no)
  2786. as_fn_error $? "--disable-integer-datetimes is no longer supported" "$LINENO" 5
  2787. ;;
  2788. *)
  2789. as_fn_error $? "no argument expected for --enable-integer-datetimes option" "$LINENO" 5
  2790. ;;
  2791. esac
  2792. else
  2793. enable_integer_datetimes=yes
  2794. fi
  2795. #
  2796. # NLS
  2797. #
  2798. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is wanted" >&5
  2799. $as_echo_n "checking whether NLS is wanted... " >&6; }
  2800. # Check whether --enable-nls was given.
  2801. if test "${enable_nls+set}" = set; then :
  2802. enableval=$enable_nls;
  2803. case $enableval in
  2804. yes)
  2805. :
  2806. ;;
  2807. no)
  2808. :
  2809. ;;
  2810. *)
  2811. enable_nls=yes
  2812. WANTED_LANGUAGES=$enableval
  2813. ;;
  2814. esac
  2815. else
  2816. enable_nls=no
  2817. fi
  2818. if test "$enable_nls" = yes; then
  2819. $as_echo "#define ENABLE_NLS 1" >>confdefs.h
  2820. fi
  2821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_nls" >&5
  2822. $as_echo "$enable_nls" >&6; }
  2823. #
  2824. # Default port number (--with-pgport), default 5432
  2825. #
  2826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default port number" >&5
  2827. $as_echo_n "checking for default port number... " >&6; }
  2828. # Check whether --with-pgport was given.
  2829. if test "${with_pgport+set}" = set; then :
  2830. withval=$with_pgport;
  2831. case $withval in
  2832. yes)
  2833. as_fn_error $? "argument required for --with-pgport option" "$LINENO" 5
  2834. ;;
  2835. no)
  2836. as_fn_error $? "argument required for --with-pgport option" "$LINENO" 5
  2837. ;;
  2838. *)
  2839. default_port=$withval
  2840. ;;
  2841. esac
  2842. else
  2843. default_port=5432
  2844. fi
  2845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_port" >&5
  2846. $as_echo "$default_port" >&6; }
  2847. # Need both of these because some places want an integer and some a string
  2848. cat >>confdefs.h <<_ACEOF
  2849. #define DEF_PGPORT ${default_port}
  2850. _ACEOF
  2851. cat >>confdefs.h <<_ACEOF
  2852. #define DEF_PGPORT_STR "${default_port}"
  2853. _ACEOF
  2854. # It's worth validating port; you can get very confusing errors otherwise
  2855. if test x"$default_port" = x""; then
  2856. as_fn_error $? "invalid --with-pgport specification: empty string" "$LINENO" 5
  2857. elif test ! x`echo "$default_port" | sed -e 's/[0-9]*//'` = x""; then
  2858. as_fn_error $? "invalid --with-pgport specification: must be a number" "$LINENO" 5
  2859. elif test ! x`echo "$default_port" | sed -e 's/^0.//'` = x"$default_port"; then
  2860. as_fn_error $? "invalid --with-pgport specification: must not have leading 0" "$LINENO" 5
  2861. elif test "$default_port" -lt "1" -o "$default_port" -gt "65535"; then
  2862. as_fn_error $? "invalid --with-pgport specification: must be between 1 and 65535" "$LINENO" 5
  2863. fi
  2864. #
  2865. # '-rpath'-like feature can be disabled
  2866. #
  2867. # Check whether --enable-rpath was given.
  2868. if test "${enable_rpath+set}" = set; then :
  2869. enableval=$enable_rpath;
  2870. case $enableval in
  2871. yes)
  2872. :
  2873. ;;
  2874. no)
  2875. :
  2876. ;;
  2877. *)
  2878. as_fn_error $? "no argument expected for --enable-rpath option" "$LINENO" 5
  2879. ;;
  2880. esac
  2881. else
  2882. enable_rpath=yes
  2883. fi
  2884. #
  2885. # Spinlocks
  2886. #
  2887. # Check whether --enable-spinlocks was given.
  2888. if test "${enable_spinlocks+set}" = set; then :
  2889. enableval=$enable_spinlocks;
  2890. case $enableval in
  2891. yes)
  2892. :
  2893. ;;
  2894. no)
  2895. :
  2896. ;;
  2897. *)
  2898. as_fn_error $? "no argument expected for --enable-spinlocks option" "$LINENO" 5
  2899. ;;
  2900. esac
  2901. else
  2902. enable_spinlocks=yes
  2903. fi
  2904. #
  2905. # Atomic operations
  2906. #
  2907. # Check whether --enable-atomics was given.
  2908. if test "${enable_atomics+set}" = set; then :
  2909. enableval=$enable_atomics;
  2910. case $enableval in
  2911. yes)
  2912. :
  2913. ;;
  2914. no)
  2915. :
  2916. ;;
  2917. *)
  2918. as_fn_error $? "no argument expected for --enable-atomics option" "$LINENO" 5
  2919. ;;
  2920. esac
  2921. else
  2922. enable_atomics=yes
  2923. fi
  2924. #
  2925. # --enable-debug adds -g to compiler flags
  2926. #
  2927. # Check whether --enable-debug was given.
  2928. if test "${enable_debug+set}" = set; then :
  2929. enableval=$enable_debug;
  2930. case $enableval in
  2931. yes)
  2932. :
  2933. ;;
  2934. no)
  2935. :
  2936. ;;
  2937. *)
  2938. as_fn_error $? "no argument expected for --enable-debug option" "$LINENO" 5
  2939. ;;
  2940. esac
  2941. else
  2942. enable_debug=no
  2943. fi
  2944. #
  2945. # --enable-profiling enables gcc profiling
  2946. #
  2947. # Check whether --enable-profiling was given.
  2948. if test "${enable_profiling+set}" = set; then :
  2949. enableval=$enable_profiling;
  2950. case $enableval in
  2951. yes)
  2952. :
  2953. ;;
  2954. no)
  2955. :
  2956. ;;
  2957. *)
  2958. as_fn_error $? "no argument expected for --enable-profiling option" "$LINENO" 5
  2959. ;;
  2960. esac
  2961. else
  2962. enable_profiling=no
  2963. fi
  2964. #
  2965. # --enable-coverage enables generation of code coverage metrics with gcov
  2966. #
  2967. # Check whether --enable-coverage was given.
  2968. if test "${enable_coverage+set}" = set; then :
  2969. enableval=$enable_coverage;
  2970. case $enableval in
  2971. yes)
  2972. if test -z "$GCOV"; then
  2973. for ac_prog in gcov
  2974. do
  2975. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2976. set dummy $ac_prog; ac_word=$2
  2977. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2978. $as_echo_n "checking for $ac_word... " >&6; }
  2979. if ${ac_cv_path_GCOV+:} false; then :
  2980. $as_echo_n "(cached) " >&6
  2981. else
  2982. case $GCOV in
  2983. [\\/]* | ?:[\\/]*)
  2984. ac_cv_path_GCOV="$GCOV" # Let the user override the test with a path.
  2985. ;;
  2986. *)
  2987. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2988. for as_dir in $PATH
  2989. do
  2990. IFS=$as_save_IFS
  2991. test -z "$as_dir" && as_dir=.
  2992. for ac_exec_ext in '' $ac_executable_extensions; do
  2993. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2994. ac_cv_path_GCOV="$as_dir/$ac_word$ac_exec_ext"
  2995. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2996. break 2
  2997. fi
  2998. done
  2999. done
  3000. IFS=$as_save_IFS
  3001. ;;
  3002. esac
  3003. fi
  3004. GCOV=$ac_cv_path_GCOV
  3005. if test -n "$GCOV"; then
  3006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
  3007. $as_echo "$GCOV" >&6; }
  3008. else
  3009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3010. $as_echo "no" >&6; }
  3011. fi
  3012. test -n "$GCOV" && break
  3013. done
  3014. else
  3015. # Report the value of GCOV in configure's output in all cases.
  3016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCOV" >&5
  3017. $as_echo_n "checking for GCOV... " >&6; }
  3018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
  3019. $as_echo "$GCOV" >&6; }
  3020. fi
  3021. if test -z "$GCOV"; then
  3022. as_fn_error $? "gcov not found" "$LINENO" 5
  3023. fi
  3024. if test -z "$LCOV"; then
  3025. for ac_prog in lcov
  3026. do
  3027. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3028. set dummy $ac_prog; ac_word=$2
  3029. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3030. $as_echo_n "checking for $ac_word... " >&6; }
  3031. if ${ac_cv_path_LCOV+:} false; then :
  3032. $as_echo_n "(cached) " >&6
  3033. else
  3034. case $LCOV in
  3035. [\\/]* | ?:[\\/]*)
  3036. ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
  3037. ;;
  3038. *)
  3039. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3040. for as_dir in $PATH
  3041. do
  3042. IFS=$as_save_IFS
  3043. test -z "$as_dir" && as_dir=.
  3044. for ac_exec_ext in '' $ac_executable_extensions; do
  3045. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3046. ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
  3047. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3048. break 2
  3049. fi
  3050. done
  3051. done
  3052. IFS=$as_save_IFS
  3053. ;;
  3054. esac
  3055. fi
  3056. LCOV=$ac_cv_path_LCOV
  3057. if test -n "$LCOV"; then
  3058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
  3059. $as_echo "$LCOV" >&6; }
  3060. else
  3061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3062. $as_echo "no" >&6; }
  3063. fi
  3064. test -n "$LCOV" && break
  3065. done
  3066. else
  3067. # Report the value of LCOV in configure's output in all cases.
  3068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCOV" >&5
  3069. $as_echo_n "checking for LCOV... " >&6; }
  3070. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
  3071. $as_echo "$LCOV" >&6; }
  3072. fi
  3073. if test -z "$LCOV"; then
  3074. as_fn_error $? "lcov not found" "$LINENO" 5
  3075. fi
  3076. if test -z "$GENHTML"; then
  3077. for ac_prog in genhtml
  3078. do
  3079. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3080. set dummy $ac_prog; ac_word=$2
  3081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3082. $as_echo_n "checking for $ac_word... " >&6; }
  3083. if ${ac_cv_path_GENHTML+:} false; then :
  3084. $as_echo_n "(cached) " >&6
  3085. else
  3086. case $GENHTML in
  3087. [\\/]* | ?:[\\/]*)
  3088. ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
  3089. ;;
  3090. *)
  3091. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3092. for as_dir in $PATH
  3093. do
  3094. IFS=$as_save_IFS
  3095. test -z "$as_dir" && as_dir=.
  3096. for ac_exec_ext in '' $ac_executable_extensions; do
  3097. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3098. ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
  3099. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3100. break 2
  3101. fi
  3102. done
  3103. done
  3104. IFS=$as_save_IFS
  3105. ;;
  3106. esac
  3107. fi
  3108. GENHTML=$ac_cv_path_GENHTML
  3109. if test -n "$GENHTML"; then
  3110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
  3111. $as_echo "$GENHTML" >&6; }
  3112. else
  3113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3114. $as_echo "no" >&6; }
  3115. fi
  3116. test -n "$GENHTML" && break
  3117. done
  3118. else
  3119. # Report the value of GENHTML in configure's output in all cases.
  3120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENHTML" >&5
  3121. $as_echo_n "checking for GENHTML... " >&6; }
  3122. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
  3123. $as_echo "$GENHTML" >&6; }
  3124. fi
  3125. if test -z "$GENHTML"; then
  3126. as_fn_error $? "genhtml not found" "$LINENO" 5
  3127. fi
  3128. ;;
  3129. no)
  3130. :
  3131. ;;
  3132. *)
  3133. as_fn_error $? "no argument expected for --enable-coverage option" "$LINENO" 5
  3134. ;;
  3135. esac
  3136. else
  3137. enable_coverage=no
  3138. fi
  3139. #
  3140. # DTrace
  3141. #
  3142. # Check whether --enable-dtrace was given.
  3143. if test "${enable_dtrace+set}" = set; then :
  3144. enableval=$enable_dtrace;
  3145. case $enableval in
  3146. yes)
  3147. if test -z "$DTRACE"; then
  3148. for ac_prog in dtrace
  3149. do
  3150. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3151. set dummy $ac_prog; ac_word=$2
  3152. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3153. $as_echo_n "checking for $ac_word... " >&6; }
  3154. if ${ac_cv_path_DTRACE+:} false; then :
  3155. $as_echo_n "(cached) " >&6
  3156. else
  3157. case $DTRACE in
  3158. [\\/]* | ?:[\\/]*)
  3159. ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
  3160. ;;
  3161. *)
  3162. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3163. for as_dir in $PATH
  3164. do
  3165. IFS=$as_save_IFS
  3166. test -z "$as_dir" && as_dir=.
  3167. for ac_exec_ext in '' $ac_executable_extensions; do
  3168. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3169. ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
  3170. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3171. break 2
  3172. fi
  3173. done
  3174. done
  3175. IFS=$as_save_IFS
  3176. ;;
  3177. esac
  3178. fi
  3179. DTRACE=$ac_cv_path_DTRACE
  3180. if test -n "$DTRACE"; then
  3181. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
  3182. $as_echo "$DTRACE" >&6; }
  3183. else
  3184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3185. $as_echo "no" >&6; }
  3186. fi
  3187. test -n "$DTRACE" && break
  3188. done
  3189. else
  3190. # Report the value of DTRACE in configure's output in all cases.
  3191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DTRACE" >&5
  3192. $as_echo_n "checking for DTRACE... " >&6; }
  3193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
  3194. $as_echo "$DTRACE" >&6; }
  3195. fi
  3196. if test -z "$DTRACE"; then
  3197. as_fn_error $? "dtrace not found" "$LINENO" 5
  3198. fi
  3199. ;;
  3200. no)
  3201. :
  3202. ;;
  3203. *)
  3204. as_fn_error $? "no argument expected for --enable-dtrace option" "$LINENO" 5
  3205. ;;
  3206. esac
  3207. else
  3208. enable_dtrace=no
  3209. fi
  3210. #
  3211. # TAP tests
  3212. #
  3213. # Check whether --enable-tap-tests was given.
  3214. if test "${enable_tap_tests+set}" = set; then :
  3215. enableval=$enable_tap_tests;
  3216. case $enableval in
  3217. yes)
  3218. :
  3219. ;;
  3220. no)
  3221. :
  3222. ;;
  3223. *)
  3224. as_fn_error $? "no argument expected for --enable-tap-tests option" "$LINENO" 5
  3225. ;;
  3226. esac
  3227. else
  3228. enable_tap_tests=no
  3229. fi
  3230. #
  3231. # Block size
  3232. #
  3233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for block size" >&5
  3234. $as_echo_n "checking for block size... " >&6; }
  3235. # Check whether --with-blocksize was given.
  3236. if test "${with_blocksize+set}" = set; then :
  3237. withval=$with_blocksize;
  3238. case $withval in
  3239. yes)
  3240. as_fn_error $? "argument required for --with-blocksize option" "$LINENO" 5
  3241. ;;
  3242. no)
  3243. as_fn_error $? "argument required for --with-blocksize option" "$LINENO" 5
  3244. ;;
  3245. *)
  3246. blocksize=$withval
  3247. ;;
  3248. esac
  3249. else
  3250. blocksize=8
  3251. fi
  3252. case ${blocksize} in
  3253. 1) BLCKSZ=1024;;
  3254. 2) BLCKSZ=2048;;
  3255. 4) BLCKSZ=4096;;
  3256. 8) BLCKSZ=8192;;
  3257. 16) BLCKSZ=16384;;
  3258. 32) BLCKSZ=32768;;
  3259. *) as_fn_error $? "Invalid block size. Allowed values are 1,2,4,8,16,32." "$LINENO" 5
  3260. esac
  3261. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${blocksize}kB" >&5
  3262. $as_echo "${blocksize}kB" >&6; }
  3263. cat >>confdefs.h <<_ACEOF
  3264. #define BLCKSZ ${BLCKSZ}
  3265. _ACEOF
  3266. #
  3267. # Relation segment size
  3268. #
  3269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for segment size" >&5
  3270. $as_echo_n "checking for segment size... " >&6; }
  3271. # Check whether --with-segsize was given.
  3272. if test "${with_segsize+set}" = set; then :
  3273. withval=$with_segsize;
  3274. case $withval in
  3275. yes)
  3276. as_fn_error $? "argument required for --with-segsize option" "$LINENO" 5
  3277. ;;
  3278. no)
  3279. as_fn_error $? "argument required for --with-segsize option" "$LINENO" 5
  3280. ;;
  3281. *)
  3282. segsize=$withval
  3283. ;;
  3284. esac
  3285. else
  3286. segsize=1
  3287. fi
  3288. # this expression is set up to avoid unnecessary integer overflow
  3289. # blocksize is already guaranteed to be a factor of 1024
  3290. RELSEG_SIZE=`expr '(' 1024 / ${blocksize} ')' '*' ${segsize} '*' 1024`
  3291. test $? -eq 0 || exit 1
  3292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${segsize}GB" >&5
  3293. $as_echo "${segsize}GB" >&6; }
  3294. cat >>confdefs.h <<_ACEOF
  3295. #define RELSEG_SIZE ${RELSEG_SIZE}
  3296. _ACEOF
  3297. #
  3298. # WAL block size
  3299. #
  3300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAL block size" >&5
  3301. $as_echo_n "checking for WAL block size... " >&6; }
  3302. # Check whether --with-wal-blocksize was given.
  3303. if test "${with_wal_blocksize+set}" = set; then :
  3304. withval=$with_wal_blocksize;
  3305. case $withval in
  3306. yes)
  3307. as_fn_error $? "argument required for --with-wal-blocksize option" "$LINENO" 5
  3308. ;;
  3309. no)
  3310. as_fn_error $? "argument required for --with-wal-blocksize option" "$LINENO" 5
  3311. ;;
  3312. *)
  3313. wal_blocksize=$withval
  3314. ;;
  3315. esac
  3316. else
  3317. wal_blocksize=8
  3318. fi
  3319. case ${wal_blocksize} in
  3320. 1) XLOG_BLCKSZ=1024;;
  3321. 2) XLOG_BLCKSZ=2048;;
  3322. 4) XLOG_BLCKSZ=4096;;
  3323. 8) XLOG_BLCKSZ=8192;;
  3324. 16) XLOG_BLCKSZ=16384;;
  3325. 32) XLOG_BLCKSZ=32768;;
  3326. 64) XLOG_BLCKSZ=65536;;
  3327. *) as_fn_error $? "Invalid WAL block size. Allowed values are 1,2,4,8,16,32,64." "$LINENO" 5
  3328. esac
  3329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${wal_blocksize}kB" >&5
  3330. $as_echo "${wal_blocksize}kB" >&6; }
  3331. cat >>confdefs.h <<_ACEOF
  3332. #define XLOG_BLCKSZ ${XLOG_BLCKSZ}
  3333. _ACEOF
  3334. #
  3335. # C compiler
  3336. #
  3337. # For historical reasons you can also use --with-CC to specify the C compiler
  3338. # to use, although the standard way to do this is to set the CC environment
  3339. # variable.
  3340. # Check whether --with-CC was given.
  3341. if test "${with_CC+set}" = set; then :
  3342. withval=$with_CC;
  3343. case $withval in
  3344. yes)
  3345. as_fn_error $? "argument required for --with-CC option" "$LINENO" 5
  3346. ;;
  3347. no)
  3348. as_fn_error $? "argument required for --with-CC option" "$LINENO" 5
  3349. ;;
  3350. *)
  3351. CC=$with_CC
  3352. ;;
  3353. esac
  3354. fi
  3355. case $template in
  3356. aix) pgac_cc_list="gcc xlc"; pgac_cxx_list="g++ xlC";;
  3357. *) pgac_cc_list="gcc cc"; pgac_cxx_list="g++ c++";;
  3358. esac
  3359. ac_ext=c
  3360. ac_cpp='$CPP $CPPFLAGS'
  3361. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3362. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3363. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3364. if test -n "$ac_tool_prefix"; then
  3365. for ac_prog in $pgac_cc_list
  3366. do
  3367. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3368. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3370. $as_echo_n "checking for $ac_word... " >&6; }
  3371. if ${ac_cv_prog_CC+:} false; then :
  3372. $as_echo_n "(cached) " >&6
  3373. else
  3374. if test -n "$CC"; then
  3375. ac_cv_prog_CC="$CC" # Let the user override the test.
  3376. else
  3377. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3378. for as_dir in $PATH
  3379. do
  3380. IFS=$as_save_IFS
  3381. test -z "$as_dir" && as_dir=.
  3382. for ac_exec_ext in '' $ac_executable_extensions; do
  3383. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3384. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3385. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3386. break 2
  3387. fi
  3388. done
  3389. done
  3390. IFS=$as_save_IFS
  3391. fi
  3392. fi
  3393. CC=$ac_cv_prog_CC
  3394. if test -n "$CC"; then
  3395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3396. $as_echo "$CC" >&6; }
  3397. else
  3398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3399. $as_echo "no" >&6; }
  3400. fi
  3401. test -n "$CC" && break
  3402. done
  3403. fi
  3404. if test -z "$CC"; then
  3405. ac_ct_CC=$CC
  3406. for ac_prog in $pgac_cc_list
  3407. do
  3408. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3409. set dummy $ac_prog; ac_word=$2
  3410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3411. $as_echo_n "checking for $ac_word... " >&6; }
  3412. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3413. $as_echo_n "(cached) " >&6
  3414. else
  3415. if test -n "$ac_ct_CC"; then
  3416. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3417. else
  3418. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3419. for as_dir in $PATH
  3420. do
  3421. IFS=$as_save_IFS
  3422. test -z "$as_dir" && as_dir=.
  3423. for ac_exec_ext in '' $ac_executable_extensions; do
  3424. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3425. ac_cv_prog_ac_ct_CC="$ac_prog"
  3426. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3427. break 2
  3428. fi
  3429. done
  3430. done
  3431. IFS=$as_save_IFS
  3432. fi
  3433. fi
  3434. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3435. if test -n "$ac_ct_CC"; then
  3436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3437. $as_echo "$ac_ct_CC" >&6; }
  3438. else
  3439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3440. $as_echo "no" >&6; }
  3441. fi
  3442. test -n "$ac_ct_CC" && break
  3443. done
  3444. if test "x$ac_ct_CC" = x; then
  3445. CC=""
  3446. else
  3447. case $cross_compiling:$ac_tool_warned in
  3448. yes:)
  3449. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3450. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3451. ac_tool_warned=yes ;;
  3452. esac
  3453. CC=$ac_ct_CC
  3454. fi
  3455. fi
  3456. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3457. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3458. as_fn_error $? "no acceptable C compiler found in \$PATH
  3459. See \`config.log' for more details" "$LINENO" 5; }
  3460. # Provide some information about the compiler.
  3461. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3462. set X $ac_compile
  3463. ac_compiler=$2
  3464. for ac_option in --version -v -V -qversion; do
  3465. { { ac_try="$ac_compiler $ac_option >&5"
  3466. case "(($ac_try" in
  3467. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3468. *) ac_try_echo=$ac_try;;
  3469. esac
  3470. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3471. $as_echo "$ac_try_echo"; } >&5
  3472. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3473. ac_status=$?
  3474. if test -s conftest.err; then
  3475. sed '10a\
  3476. ... rest of stderr output deleted ...
  3477. 10q' conftest.err >conftest.er1
  3478. cat conftest.er1 >&5
  3479. fi
  3480. rm -f conftest.er1 conftest.err
  3481. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3482. test $ac_status = 0; }
  3483. done
  3484. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3485. /* end confdefs.h. */
  3486. int
  3487. main ()
  3488. {
  3489. ;
  3490. return 0;
  3491. }
  3492. _ACEOF
  3493. ac_clean_files_save=$ac_clean_files
  3494. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3495. # Try to create an executable without -o first, disregard a.out.
  3496. # It will help us diagnose broken compilers, and finding out an intuition
  3497. # of exeext.
  3498. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3499. $as_echo_n "checking whether the C compiler works... " >&6; }
  3500. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3501. # The possible output files:
  3502. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3503. ac_rmfiles=
  3504. for ac_file in $ac_files
  3505. do
  3506. case $ac_file in
  3507. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3508. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3509. esac
  3510. done
  3511. rm -f $ac_rmfiles
  3512. if { { ac_try="$ac_link_default"
  3513. case "(($ac_try" in
  3514. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3515. *) ac_try_echo=$ac_try;;
  3516. esac
  3517. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3518. $as_echo "$ac_try_echo"; } >&5
  3519. (eval "$ac_link_default") 2>&5
  3520. ac_status=$?
  3521. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3522. test $ac_status = 0; }; then :
  3523. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3524. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3525. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  3526. # so that the user can short-circuit this test for compilers unknown to
  3527. # Autoconf.
  3528. for ac_file in $ac_files ''
  3529. do
  3530. test -f "$ac_file" || continue
  3531. case $ac_file in
  3532. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3533. ;;
  3534. [ab].out )
  3535. # We found the default executable, but exeext='' is most
  3536. # certainly right.
  3537. break;;
  3538. *.* )
  3539. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3540. then :; else
  3541. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3542. fi
  3543. # We set ac_cv_exeext here because the later test for it is not
  3544. # safe: cross compilers may not add the suffix if given an `-o'
  3545. # argument, so we may need to know it at that point already.
  3546. # Even if this section looks crufty: it has the advantage of
  3547. # actually working.
  3548. break;;
  3549. * )
  3550. break;;
  3551. esac
  3552. done
  3553. test "$ac_cv_exeext" = no && ac_cv_exeext=
  3554. else
  3555. ac_file=''
  3556. fi
  3557. if test -z "$ac_file"; then :
  3558. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3559. $as_echo "no" >&6; }
  3560. $as_echo "$as_me: failed program was:" >&5
  3561. sed 's/^/| /' conftest.$ac_ext >&5
  3562. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3563. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3564. as_fn_error 77 "C compiler cannot create executables
  3565. See \`config.log' for more details" "$LINENO" 5; }
  3566. else
  3567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3568. $as_echo "yes" >&6; }
  3569. fi
  3570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3571. $as_echo_n "checking for C compiler default output file name... " >&6; }
  3572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3573. $as_echo "$ac_file" >&6; }
  3574. ac_exeext=$ac_cv_exeext
  3575. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3576. ac_clean_files=$ac_clean_files_save
  3577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3578. $as_echo_n "checking for suffix of executables... " >&6; }
  3579. if { { ac_try="$ac_link"
  3580. case "(($ac_try" in
  3581. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3582. *) ac_try_echo=$ac_try;;
  3583. esac
  3584. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3585. $as_echo "$ac_try_echo"; } >&5
  3586. (eval "$ac_link") 2>&5
  3587. ac_status=$?
  3588. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3589. test $ac_status = 0; }; then :
  3590. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3591. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3592. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3593. # `rm'.
  3594. for ac_file in conftest.exe conftest conftest.*; do
  3595. test -f "$ac_file" || continue
  3596. case $ac_file in
  3597. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3598. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3599. break;;
  3600. * ) break;;
  3601. esac
  3602. done
  3603. else
  3604. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3605. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3606. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3607. See \`config.log' for more details" "$LINENO" 5; }
  3608. fi
  3609. rm -f conftest conftest$ac_cv_exeext
  3610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3611. $as_echo "$ac_cv_exeext" >&6; }
  3612. rm -f conftest.$ac_ext
  3613. EXEEXT=$ac_cv_exeext
  3614. ac_exeext=$EXEEXT
  3615. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3616. /* end confdefs.h. */
  3617. #include <stdio.h>
  3618. int
  3619. main ()
  3620. {
  3621. FILE *f = fopen ("conftest.out", "w");
  3622. return ferror (f) || fclose (f) != 0;
  3623. ;
  3624. return 0;
  3625. }
  3626. _ACEOF
  3627. ac_clean_files="$ac_clean_files conftest.out"
  3628. # Check that the compiler produces executables we can run. If not, either
  3629. # the compiler is broken, or we cross compile.
  3630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3631. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3632. if test "$cross_compiling" != yes; then
  3633. { { ac_try="$ac_link"
  3634. case "(($ac_try" in
  3635. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3636. *) ac_try_echo=$ac_try;;
  3637. esac
  3638. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3639. $as_echo "$ac_try_echo"; } >&5
  3640. (eval "$ac_link") 2>&5
  3641. ac_status=$?
  3642. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3643. test $ac_status = 0; }
  3644. if { ac_try='./conftest$ac_cv_exeext'
  3645. { { case "(($ac_try" in
  3646. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3647. *) ac_try_echo=$ac_try;;
  3648. esac
  3649. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3650. $as_echo "$ac_try_echo"; } >&5
  3651. (eval "$ac_try") 2>&5
  3652. ac_status=$?
  3653. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3654. test $ac_status = 0; }; }; then
  3655. cross_compiling=no
  3656. else
  3657. if test "$cross_compiling" = maybe; then
  3658. cross_compiling=yes
  3659. else
  3660. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3661. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3662. as_fn_error $? "cannot run C compiled programs.
  3663. If you meant to cross compile, use \`--host'.
  3664. See \`config.log' for more details" "$LINENO" 5; }
  3665. fi
  3666. fi
  3667. fi
  3668. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3669. $as_echo "$cross_compiling" >&6; }
  3670. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3671. ac_clean_files=$ac_clean_files_save
  3672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3673. $as_echo_n "checking for suffix of object files... " >&6; }
  3674. if ${ac_cv_objext+:} false; then :
  3675. $as_echo_n "(cached) " >&6
  3676. else
  3677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3678. /* end confdefs.h. */
  3679. int
  3680. main ()
  3681. {
  3682. ;
  3683. return 0;
  3684. }
  3685. _ACEOF
  3686. rm -f conftest.o conftest.obj
  3687. if { { ac_try="$ac_compile"
  3688. case "(($ac_try" in
  3689. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3690. *) ac_try_echo=$ac_try;;
  3691. esac
  3692. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3693. $as_echo "$ac_try_echo"; } >&5
  3694. (eval "$ac_compile") 2>&5
  3695. ac_status=$?
  3696. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3697. test $ac_status = 0; }; then :
  3698. for ac_file in conftest.o conftest.obj conftest.*; do
  3699. test -f "$ac_file" || continue;
  3700. case $ac_file in
  3701. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3702. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3703. break;;
  3704. esac
  3705. done
  3706. else
  3707. $as_echo "$as_me: failed program was:" >&5
  3708. sed 's/^/| /' conftest.$ac_ext >&5
  3709. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3710. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3711. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3712. See \`config.log' for more details" "$LINENO" 5; }
  3713. fi
  3714. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3715. fi
  3716. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3717. $as_echo "$ac_cv_objext" >&6; }
  3718. OBJEXT=$ac_cv_objext
  3719. ac_objext=$OBJEXT
  3720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3721. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3722. if ${ac_cv_c_compiler_gnu+:} false; then :
  3723. $as_echo_n "(cached) " >&6
  3724. else
  3725. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3726. /* end confdefs.h. */
  3727. int
  3728. main ()
  3729. {
  3730. #ifndef __GNUC__
  3731. choke me
  3732. #endif
  3733. ;
  3734. return 0;
  3735. }
  3736. _ACEOF
  3737. if ac_fn_c_try_compile "$LINENO"; then :
  3738. ac_compiler_gnu=yes
  3739. else
  3740. ac_compiler_gnu=no
  3741. fi
  3742. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3743. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3744. fi
  3745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3746. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3747. if test $ac_compiler_gnu = yes; then
  3748. GCC=yes
  3749. else
  3750. GCC=
  3751. fi
  3752. ac_test_CFLAGS=${CFLAGS+set}
  3753. ac_save_CFLAGS=$CFLAGS
  3754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3755. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3756. if ${ac_cv_prog_cc_g+:} false; then :
  3757. $as_echo_n "(cached) " >&6
  3758. else
  3759. ac_save_c_werror_flag=$ac_c_werror_flag
  3760. ac_c_werror_flag=yes
  3761. ac_cv_prog_cc_g=no
  3762. CFLAGS="-g"
  3763. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3764. /* end confdefs.h. */
  3765. int
  3766. main ()
  3767. {
  3768. ;
  3769. return 0;
  3770. }
  3771. _ACEOF
  3772. if ac_fn_c_try_compile "$LINENO"; then :
  3773. ac_cv_prog_cc_g=yes
  3774. else
  3775. CFLAGS=""
  3776. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3777. /* end confdefs.h. */
  3778. int
  3779. main ()
  3780. {
  3781. ;
  3782. return 0;
  3783. }
  3784. _ACEOF
  3785. if ac_fn_c_try_compile "$LINENO"; then :
  3786. else
  3787. ac_c_werror_flag=$ac_save_c_werror_flag
  3788. CFLAGS="-g"
  3789. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3790. /* end confdefs.h. */
  3791. int
  3792. main ()
  3793. {
  3794. ;
  3795. return 0;
  3796. }
  3797. _ACEOF
  3798. if ac_fn_c_try_compile "$LINENO"; then :
  3799. ac_cv_prog_cc_g=yes
  3800. fi
  3801. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3802. fi
  3803. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3804. fi
  3805. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3806. ac_c_werror_flag=$ac_save_c_werror_flag
  3807. fi
  3808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3809. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3810. if test "$ac_test_CFLAGS" = set; then
  3811. CFLAGS=$ac_save_CFLAGS
  3812. elif test $ac_cv_prog_cc_g = yes; then
  3813. if test "$GCC" = yes; then
  3814. CFLAGS="-g -O2"
  3815. else
  3816. CFLAGS="-g"
  3817. fi
  3818. else
  3819. if test "$GCC" = yes; then
  3820. CFLAGS="-O2"
  3821. else
  3822. CFLAGS=
  3823. fi
  3824. fi
  3825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3826. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3827. if ${ac_cv_prog_cc_c89+:} false; then :
  3828. $as_echo_n "(cached) " >&6
  3829. else
  3830. ac_cv_prog_cc_c89=no
  3831. ac_save_CC=$CC
  3832. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3833. /* end confdefs.h. */
  3834. #include <stdarg.h>
  3835. #include <stdio.h>
  3836. struct stat;
  3837. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3838. struct buf { int x; };
  3839. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3840. static char *e (p, i)
  3841. char **p;
  3842. int i;
  3843. {
  3844. return p[i];
  3845. }
  3846. static char *f (char * (*g) (char **, int), char **p, ...)
  3847. {
  3848. char *s;
  3849. va_list v;
  3850. va_start (v,p);
  3851. s = g (p, va_arg (v,int));
  3852. va_end (v);
  3853. return s;
  3854. }
  3855. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3856. function prototypes and stuff, but not '\xHH' hex character constants.
  3857. These don't provoke an error unfortunately, instead are silently treated
  3858. as 'x'. The following induces an error, until -std is added to get
  3859. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3860. array size at least. It's necessary to write '\x00'==0 to get something
  3861. that's true only with -std. */
  3862. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3863. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3864. inside strings and character constants. */
  3865. #define FOO(x) 'x'
  3866. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3867. int test (int i, double x);
  3868. struct s1 {int (*f) (int a);};
  3869. struct s2 {int (*f) (double a);};
  3870. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3871. int argc;
  3872. char **argv;
  3873. int
  3874. main ()
  3875. {
  3876. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3877. ;
  3878. return 0;
  3879. }
  3880. _ACEOF
  3881. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3882. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3883. do
  3884. CC="$ac_save_CC $ac_arg"
  3885. if ac_fn_c_try_compile "$LINENO"; then :
  3886. ac_cv_prog_cc_c89=$ac_arg
  3887. fi
  3888. rm -f core conftest.err conftest.$ac_objext
  3889. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3890. done
  3891. rm -f conftest.$ac_ext
  3892. CC=$ac_save_CC
  3893. fi
  3894. # AC_CACHE_VAL
  3895. case "x$ac_cv_prog_cc_c89" in
  3896. x)
  3897. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3898. $as_echo "none needed" >&6; } ;;
  3899. xno)
  3900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3901. $as_echo "unsupported" >&6; } ;;
  3902. *)
  3903. CC="$CC $ac_cv_prog_cc_c89"
  3904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3905. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3906. esac
  3907. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3908. fi
  3909. ac_ext=c
  3910. ac_cpp='$CPP $CPPFLAGS'
  3911. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3912. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3913. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3914. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
  3915. $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
  3916. if ${ac_cv_prog_cc_c99+:} false; then :
  3917. $as_echo_n "(cached) " >&6
  3918. else
  3919. ac_cv_prog_cc_c99=no
  3920. ac_save_CC=$CC
  3921. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3922. /* end confdefs.h. */
  3923. #include <stdarg.h>
  3924. #include <stdbool.h>
  3925. #include <stdlib.h>
  3926. #include <wchar.h>
  3927. #include <stdio.h>
  3928. // Check varargs macros. These examples are taken from C99 6.10.3.5.
  3929. #define debug(...) fprintf (stderr, __VA_ARGS__)
  3930. #define showlist(...) puts (#__VA_ARGS__)
  3931. #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3932. static void
  3933. test_varargs_macros (void)
  3934. {
  3935. int x = 1234;
  3936. int y = 5678;
  3937. debug ("Flag");
  3938. debug ("X = %d\n", x);
  3939. showlist (The first, second, and third items.);
  3940. report (x>y, "x is %d but y is %d", x, y);
  3941. }
  3942. // Check long long types.
  3943. #define BIG64 18446744073709551615ull
  3944. #define BIG32 4294967295ul
  3945. #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3946. #if !BIG_OK
  3947. your preprocessor is broken;
  3948. #endif
  3949. #if BIG_OK
  3950. #else
  3951. your preprocessor is broken;
  3952. #endif
  3953. static long long int bignum = -9223372036854775807LL;
  3954. static unsigned long long int ubignum = BIG64;
  3955. struct incomplete_array
  3956. {
  3957. int datasize;
  3958. double data[];
  3959. };
  3960. struct named_init {
  3961. int number;
  3962. const wchar_t *name;
  3963. double average;
  3964. };
  3965. typedef const char *ccp;
  3966. static inline int
  3967. test_restrict (ccp restrict text)
  3968. {
  3969. // See if C++-style comments work.
  3970. // Iterate through items via the restricted pointer.
  3971. // Also check for declarations in for loops.
  3972. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  3973. continue;
  3974. return 0;
  3975. }
  3976. // Check varargs and va_copy.
  3977. static void
  3978. test_varargs (const char *format, ...)
  3979. {
  3980. va_list args;
  3981. va_start (args, format);
  3982. va_list args_copy;
  3983. va_copy (args_copy, args);
  3984. const char *str;
  3985. int number;
  3986. float fnumber;
  3987. while (*format)
  3988. {
  3989. switch (*format++)
  3990. {
  3991. case 's': // string
  3992. str = va_arg (args_copy, const char *);
  3993. break;
  3994. case 'd': // int
  3995. number = va_arg (args_copy, int);
  3996. break;
  3997. case 'f': // float
  3998. fnumber = va_arg (args_copy, double);
  3999. break;
  4000. default:
  4001. break;
  4002. }
  4003. }
  4004. va_end (args_copy);
  4005. va_end (args);
  4006. }
  4007. int
  4008. main ()
  4009. {
  4010. // Check bool.
  4011. _Bool success = false;
  4012. // Check restrict.
  4013. if (test_restrict ("String literal") == 0)
  4014. success = true;
  4015. char *restrict newvar = "Another string";
  4016. // Check varargs.
  4017. test_varargs ("s, d' f .", "string", 65, 34.234);
  4018. test_varargs_macros ();
  4019. // Check flexible array members.
  4020. struct incomplete_array *ia =
  4021. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  4022. ia->datasize = 10;
  4023. for (int i = 0; i < ia->datasize; ++i)
  4024. ia->data[i] = i * 1.234;
  4025. // Check named initializers.
  4026. struct named_init ni = {
  4027. .number = 34,
  4028. .name = L"Test wide string",
  4029. .average = 543.34343,
  4030. };
  4031. ni.number = 58;
  4032. int dynamic_array[ni.number];
  4033. dynamic_array[ni.number - 1] = 543;
  4034. // work around unused variable warnings
  4035. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  4036. || dynamic_array[ni.number - 1] != 543);
  4037. ;
  4038. return 0;
  4039. }
  4040. _ACEOF
  4041. for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
  4042. do
  4043. CC="$ac_save_CC $ac_arg"
  4044. if ac_fn_c_try_compile "$LINENO"; then :
  4045. ac_cv_prog_cc_c99=$ac_arg
  4046. fi
  4047. rm -f core conftest.err conftest.$ac_objext
  4048. test "x$ac_cv_prog_cc_c99" != "xno" && break
  4049. done
  4050. rm -f conftest.$ac_ext
  4051. CC=$ac_save_CC
  4052. fi
  4053. # AC_CACHE_VAL
  4054. case "x$ac_cv_prog_cc_c99" in
  4055. x)
  4056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4057. $as_echo "none needed" >&6; } ;;
  4058. xno)
  4059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4060. $as_echo "unsupported" >&6; } ;;
  4061. *)
  4062. CC="$CC $ac_cv_prog_cc_c99"
  4063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  4064. $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
  4065. esac
  4066. if test "x$ac_cv_prog_cc_c99" != xno; then :
  4067. fi
  4068. # Error out if the compiler does not support C99, as the codebase
  4069. # relies on that.
  4070. if test "$ac_cv_prog_cc_c99" = no; then
  4071. as_fn_error $? "C compiler \"$CC\" does not support C99" "$LINENO" 5
  4072. fi
  4073. ac_ext=cpp
  4074. ac_cpp='$CXXCPP $CPPFLAGS'
  4075. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4076. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4077. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4078. if test -z "$CXX"; then
  4079. if test -n "$CCC"; then
  4080. CXX=$CCC
  4081. else
  4082. if test -n "$ac_tool_prefix"; then
  4083. for ac_prog in $pgac_cxx_list
  4084. do
  4085. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4086. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4088. $as_echo_n "checking for $ac_word... " >&6; }
  4089. if ${ac_cv_prog_CXX+:} false; then :
  4090. $as_echo_n "(cached) " >&6
  4091. else
  4092. if test -n "$CXX"; then
  4093. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4094. else
  4095. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4096. for as_dir in $PATH
  4097. do
  4098. IFS=$as_save_IFS
  4099. test -z "$as_dir" && as_dir=.
  4100. for ac_exec_ext in '' $ac_executable_extensions; do
  4101. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4102. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4103. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4104. break 2
  4105. fi
  4106. done
  4107. done
  4108. IFS=$as_save_IFS
  4109. fi
  4110. fi
  4111. CXX=$ac_cv_prog_CXX
  4112. if test -n "$CXX"; then
  4113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4114. $as_echo "$CXX" >&6; }
  4115. else
  4116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4117. $as_echo "no" >&6; }
  4118. fi
  4119. test -n "$CXX" && break
  4120. done
  4121. fi
  4122. if test -z "$CXX"; then
  4123. ac_ct_CXX=$CXX
  4124. for ac_prog in $pgac_cxx_list
  4125. do
  4126. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4127. set dummy $ac_prog; ac_word=$2
  4128. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4129. $as_echo_n "checking for $ac_word... " >&6; }
  4130. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  4131. $as_echo_n "(cached) " >&6
  4132. else
  4133. if test -n "$ac_ct_CXX"; then
  4134. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4135. else
  4136. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4137. for as_dir in $PATH
  4138. do
  4139. IFS=$as_save_IFS
  4140. test -z "$as_dir" && as_dir=.
  4141. for ac_exec_ext in '' $ac_executable_extensions; do
  4142. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4143. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4144. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4145. break 2
  4146. fi
  4147. done
  4148. done
  4149. IFS=$as_save_IFS
  4150. fi
  4151. fi
  4152. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4153. if test -n "$ac_ct_CXX"; then
  4154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4155. $as_echo "$ac_ct_CXX" >&6; }
  4156. else
  4157. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4158. $as_echo "no" >&6; }
  4159. fi
  4160. test -n "$ac_ct_CXX" && break
  4161. done
  4162. if test "x$ac_ct_CXX" = x; then
  4163. CXX="g++"
  4164. else
  4165. case $cross_compiling:$ac_tool_warned in
  4166. yes:)
  4167. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4168. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4169. ac_tool_warned=yes ;;
  4170. esac
  4171. CXX=$ac_ct_CXX
  4172. fi
  4173. fi
  4174. fi
  4175. fi
  4176. # Provide some information about the compiler.
  4177. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4178. set X $ac_compile
  4179. ac_compiler=$2
  4180. for ac_option in --version -v -V -qversion; do
  4181. { { ac_try="$ac_compiler $ac_option >&5"
  4182. case "(($ac_try" in
  4183. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4184. *) ac_try_echo=$ac_try;;
  4185. esac
  4186. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4187. $as_echo "$ac_try_echo"; } >&5
  4188. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4189. ac_status=$?
  4190. if test -s conftest.err; then
  4191. sed '10a\
  4192. ... rest of stderr output deleted ...
  4193. 10q' conftest.err >conftest.er1
  4194. cat conftest.er1 >&5
  4195. fi
  4196. rm -f conftest.er1 conftest.err
  4197. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4198. test $ac_status = 0; }
  4199. done
  4200. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4201. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4202. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  4203. $as_echo_n "(cached) " >&6
  4204. else
  4205. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4206. /* end confdefs.h. */
  4207. int
  4208. main ()
  4209. {
  4210. #ifndef __GNUC__
  4211. choke me
  4212. #endif
  4213. ;
  4214. return 0;
  4215. }
  4216. _ACEOF
  4217. if ac_fn_cxx_try_compile "$LINENO"; then :
  4218. ac_compiler_gnu=yes
  4219. else
  4220. ac_compiler_gnu=no
  4221. fi
  4222. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4223. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4224. fi
  4225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4226. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4227. if test $ac_compiler_gnu = yes; then
  4228. GXX=yes
  4229. else
  4230. GXX=
  4231. fi
  4232. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4233. ac_save_CXXFLAGS=$CXXFLAGS
  4234. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4235. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4236. if ${ac_cv_prog_cxx_g+:} false; then :
  4237. $as_echo_n "(cached) " >&6
  4238. else
  4239. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4240. ac_cxx_werror_flag=yes
  4241. ac_cv_prog_cxx_g=no
  4242. CXXFLAGS="-g"
  4243. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4244. /* end confdefs.h. */
  4245. int
  4246. main ()
  4247. {
  4248. ;
  4249. return 0;
  4250. }
  4251. _ACEOF
  4252. if ac_fn_cxx_try_compile "$LINENO"; then :
  4253. ac_cv_prog_cxx_g=yes
  4254. else
  4255. CXXFLAGS=""
  4256. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4257. /* end confdefs.h. */
  4258. int
  4259. main ()
  4260. {
  4261. ;
  4262. return 0;
  4263. }
  4264. _ACEOF
  4265. if ac_fn_cxx_try_compile "$LINENO"; then :
  4266. else
  4267. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4268. CXXFLAGS="-g"
  4269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4270. /* end confdefs.h. */
  4271. int
  4272. main ()
  4273. {
  4274. ;
  4275. return 0;
  4276. }
  4277. _ACEOF
  4278. if ac_fn_cxx_try_compile "$LINENO"; then :
  4279. ac_cv_prog_cxx_g=yes
  4280. fi
  4281. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4282. fi
  4283. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4284. fi
  4285. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4286. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4287. fi
  4288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4289. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4290. if test "$ac_test_CXXFLAGS" = set; then
  4291. CXXFLAGS=$ac_save_CXXFLAGS
  4292. elif test $ac_cv_prog_cxx_g = yes; then
  4293. if test "$GXX" = yes; then
  4294. CXXFLAGS="-g -O2"
  4295. else
  4296. CXXFLAGS="-g"
  4297. fi
  4298. else
  4299. if test "$GXX" = yes; then
  4300. CXXFLAGS="-O2"
  4301. else
  4302. CXXFLAGS=
  4303. fi
  4304. fi
  4305. ac_ext=c
  4306. ac_cpp='$CPP $CPPFLAGS'
  4307. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4308. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4309. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4310. # Check if it's Intel's compiler, which (usually) pretends to be gcc,
  4311. # but has idiosyncrasies of its own. We assume icc will define
  4312. # __INTEL_COMPILER regardless of CFLAGS.
  4313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4314. /* end confdefs.h. */
  4315. int
  4316. main ()
  4317. {
  4318. #ifndef __INTEL_COMPILER
  4319. choke me
  4320. #endif
  4321. ;
  4322. return 0;
  4323. }
  4324. _ACEOF
  4325. if ac_fn_c_try_compile "$LINENO"; then :
  4326. ICC=yes
  4327. else
  4328. ICC=no
  4329. fi
  4330. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4331. # Check if it's Sun Studio compiler. We assume that
  4332. # __SUNPRO_C will be defined for Sun Studio compilers
  4333. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4334. /* end confdefs.h. */
  4335. int
  4336. main ()
  4337. {
  4338. #ifndef __SUNPRO_C
  4339. choke me
  4340. #endif
  4341. ;
  4342. return 0;
  4343. }
  4344. _ACEOF
  4345. if ac_fn_c_try_compile "$LINENO"; then :
  4346. SUN_STUDIO_CC=yes
  4347. else
  4348. SUN_STUDIO_CC=no
  4349. fi
  4350. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4351. #
  4352. # LLVM
  4353. #
  4354. # Checked early because subsequent tests depend on it.
  4355. # Check whether --with-llvm was given.
  4356. if test "${with_llvm+set}" = set; then :
  4357. withval=$with_llvm;
  4358. case $withval in
  4359. yes)
  4360. $as_echo "#define USE_LLVM 1" >>confdefs.h
  4361. ;;
  4362. no)
  4363. :
  4364. ;;
  4365. *)
  4366. as_fn_error $? "no argument expected for --with-llvm option" "$LINENO" 5
  4367. ;;
  4368. esac
  4369. else
  4370. with_llvm=no
  4371. fi
  4372. for ac_prog in gawk mawk nawk awk
  4373. do
  4374. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4375. set dummy $ac_prog; ac_word=$2
  4376. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4377. $as_echo_n "checking for $ac_word... " >&6; }
  4378. if ${ac_cv_prog_AWK+:} false; then :
  4379. $as_echo_n "(cached) " >&6
  4380. else
  4381. if test -n "$AWK"; then
  4382. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  4383. else
  4384. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4385. for as_dir in $PATH
  4386. do
  4387. IFS=$as_save_IFS
  4388. test -z "$as_dir" && as_dir=.
  4389. for ac_exec_ext in '' $ac_executable_extensions; do
  4390. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4391. ac_cv_prog_AWK="$ac_prog"
  4392. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4393. break 2
  4394. fi
  4395. done
  4396. done
  4397. IFS=$as_save_IFS
  4398. fi
  4399. fi
  4400. AWK=$ac_cv_prog_AWK
  4401. if test -n "$AWK"; then
  4402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  4403. $as_echo "$AWK" >&6; }
  4404. else
  4405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4406. $as_echo "no" >&6; }
  4407. fi
  4408. test -n "$AWK" && break
  4409. done
  4410. if test "$with_llvm" = yes; then :
  4411. if test -z "$LLVM_CONFIG"; then
  4412. for ac_prog in llvm-config llvm-config-7 llvm-config-6.0 llvm-config-5.0 llvm-config-4.0 llvm-config-3.9
  4413. do
  4414. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4415. set dummy $ac_prog; ac_word=$2
  4416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4417. $as_echo_n "checking for $ac_word... " >&6; }
  4418. if ${ac_cv_path_LLVM_CONFIG+:} false; then :
  4419. $as_echo_n "(cached) " >&6
  4420. else
  4421. case $LLVM_CONFIG in
  4422. [\\/]* | ?:[\\/]*)
  4423. ac_cv_path_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test with a path.
  4424. ;;
  4425. *)
  4426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4427. for as_dir in $PATH
  4428. do
  4429. IFS=$as_save_IFS
  4430. test -z "$as_dir" && as_dir=.
  4431. for ac_exec_ext in '' $ac_executable_extensions; do
  4432. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4433. ac_cv_path_LLVM_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4434. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4435. break 2
  4436. fi
  4437. done
  4438. done
  4439. IFS=$as_save_IFS
  4440. ;;
  4441. esac
  4442. fi
  4443. LLVM_CONFIG=$ac_cv_path_LLVM_CONFIG
  4444. if test -n "$LLVM_CONFIG"; then
  4445. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
  4446. $as_echo "$LLVM_CONFIG" >&6; }
  4447. else
  4448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4449. $as_echo "no" >&6; }
  4450. fi
  4451. test -n "$LLVM_CONFIG" && break
  4452. done
  4453. else
  4454. # Report the value of LLVM_CONFIG in configure's output in all cases.
  4455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LLVM_CONFIG" >&5
  4456. $as_echo_n "checking for LLVM_CONFIG... " >&6; }
  4457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
  4458. $as_echo "$LLVM_CONFIG" >&6; }
  4459. fi
  4460. # no point continuing if llvm wasn't found
  4461. if test -z "$LLVM_CONFIG"; then
  4462. as_fn_error $? "llvm-config not found, but required when compiling --with-llvm, specify with LLVM_CONFIG=" "$LINENO" 5
  4463. fi
  4464. # check if detected $LLVM_CONFIG is executable
  4465. pgac_llvm_version="$($LLVM_CONFIG --version 2> /dev/null || echo no)"
  4466. if test "x$pgac_llvm_version" = "xno"; then
  4467. as_fn_error $? "$LLVM_CONFIG does not work" "$LINENO" 5
  4468. fi
  4469. # and whether the version is supported
  4470. if echo $pgac_llvm_version | $AWK -F '.' '{ if ($1 >= 4 || ($1 == 3 && $2 >= 9)) exit 1; else exit 0;}';then
  4471. as_fn_error $? "$LLVM_CONFIG version is $pgac_llvm_version but at least 3.9 is required" "$LINENO" 5
  4472. fi
  4473. # need clang to create some bitcode files
  4474. if test -z "$CLANG"; then
  4475. for ac_prog in clang clang-7 clang-6.0 clang-5.0 clang-4.0 clang-3.9
  4476. do
  4477. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4478. set dummy $ac_prog; ac_word=$2
  4479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4480. $as_echo_n "checking for $ac_word... " >&6; }
  4481. if ${ac_cv_path_CLANG+:} false; then :
  4482. $as_echo_n "(cached) " >&6
  4483. else
  4484. case $CLANG in
  4485. [\\/]* | ?:[\\/]*)
  4486. ac_cv_path_CLANG="$CLANG" # Let the user override the test with a path.
  4487. ;;
  4488. *)
  4489. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4490. for as_dir in $PATH
  4491. do
  4492. IFS=$as_save_IFS
  4493. test -z "$as_dir" && as_dir=.
  4494. for ac_exec_ext in '' $ac_executable_extensions; do
  4495. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4496. ac_cv_path_CLANG="$as_dir/$ac_word$ac_exec_ext"
  4497. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4498. break 2
  4499. fi
  4500. done
  4501. done
  4502. IFS=$as_save_IFS
  4503. ;;
  4504. esac
  4505. fi
  4506. CLANG=$ac_cv_path_CLANG
  4507. if test -n "$CLANG"; then
  4508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLANG" >&5
  4509. $as_echo "$CLANG" >&6; }
  4510. else
  4511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4512. $as_echo "no" >&6; }
  4513. fi
  4514. test -n "$CLANG" && break
  4515. done
  4516. else
  4517. # Report the value of CLANG in configure's output in all cases.
  4518. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLANG" >&5
  4519. $as_echo_n "checking for CLANG... " >&6; }
  4520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLANG" >&5
  4521. $as_echo "$CLANG" >&6; }
  4522. fi
  4523. if test -z "$CLANG"; then
  4524. as_fn_error $? "clang not found, but required when compiling --with-llvm, specify with CLANG=" "$LINENO" 5
  4525. fi
  4526. # make sure clang is executable
  4527. if test "x$($CLANG --version 2> /dev/null || echo no)" = "xno"; then
  4528. as_fn_error $? "$CLANG does not work" "$LINENO" 5
  4529. fi
  4530. # Could check clang version, but it doesn't seem that
  4531. # important. Systems with a new enough LLVM version are usually
  4532. # going to have a decent clang version too. It's also not entirely
  4533. # clear what the minimum version is.
  4534. # Collect compiler flags necessary to build the LLVM dependent
  4535. # shared library.
  4536. for pgac_option in `$LLVM_CONFIG --cppflags`; do
  4537. case $pgac_option in
  4538. -I*|-D*) LLVM_CPPFLAGS="$pgac_option $LLVM_CPPFLAGS";;
  4539. esac
  4540. done
  4541. for pgac_option in `$LLVM_CONFIG --ldflags`; do
  4542. case $pgac_option in
  4543. -L*) LDFLAGS="$LDFLAGS $pgac_option";;
  4544. esac
  4545. done
  4546. # ABI influencing options, standard influencing options
  4547. for pgac_option in `$LLVM_CONFIG --cxxflags`; do
  4548. case $pgac_option in
  4549. -fno-rtti*) LLVM_CXXFLAGS="$LLVM_CXXFLAGS $pgac_option";;
  4550. -std=*) LLVM_CXXFLAGS="$LLVM_CXXFLAGS $pgac_option";;
  4551. esac
  4552. done
  4553. # Look for components we're interested in, collect necessary
  4554. # libs. As some components are optional, we can't just list all of
  4555. # them as it'd raise an error.
  4556. pgac_components='';
  4557. for pgac_component in `$LLVM_CONFIG --components`; do
  4558. case $pgac_component in
  4559. engine) pgac_components="$pgac_components $pgac_component";;
  4560. debuginfodwarf) pgac_components="$pgac_components $pgac_component";;
  4561. orcjit) pgac_components="$pgac_components $pgac_component";;
  4562. passes) pgac_components="$pgac_components $pgac_component";;
  4563. perfjitevents) pgac_components="$pgac_components $pgac_component";;
  4564. esac
  4565. done;
  4566. # And then get the libraries that need to be linked in for the
  4567. # selected components. They're large libraries, we only want to
  4568. # link them into the LLVM using shared library.
  4569. for pgac_option in `$LLVM_CONFIG --libs --system-libs $pgac_components`; do
  4570. case $pgac_option in
  4571. -l*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
  4572. esac
  4573. done
  4574. LLVM_BINPATH=`$LLVM_CONFIG --bindir`
  4575. fi # fi
  4576. unset CFLAGS
  4577. unset CXXFLAGS
  4578. #
  4579. # Read the template
  4580. #
  4581. . "$srcdir/src/template/$template" || exit
  4582. # C[XX]FLAGS are selected so:
  4583. # If the user specifies something in the environment, that is used.
  4584. # else: If the template file set something, that is used.
  4585. # else: If coverage was enabled, don't set anything.
  4586. # else: If the compiler is GCC, then we use -O2.
  4587. # else: If the compiler is something else, then we use -O, unless debugging.
  4588. if test "$ac_env_CFLAGS_set" = set; then
  4589. CFLAGS=$ac_env_CFLAGS_value
  4590. elif test "${CFLAGS+set}" = set; then
  4591. : # (keep what template set)
  4592. elif test "$enable_coverage" = yes; then
  4593. : # no optimization by default
  4594. elif test "$GCC" = yes; then
  4595. CFLAGS="-O2"
  4596. else
  4597. # if the user selected debug mode, don't use -O
  4598. if test "$enable_debug" != yes; then
  4599. CFLAGS="-O"
  4600. fi
  4601. fi
  4602. if test "$ac_env_CXXFLAGS_set" = set; then
  4603. CXXFLAGS=$ac_env_CXXFLAGS_value
  4604. elif test "${CXXFLAGS+set}" = set; then
  4605. : # (keep what template set)
  4606. elif test "$enable_coverage" = yes; then
  4607. : # no optimization by default
  4608. elif test "$GCC" = yes; then
  4609. CXXFLAGS="-O2"
  4610. else
  4611. # if the user selected debug mode, don't use -O
  4612. if test "$enable_debug" != yes; then
  4613. CXXFLAGS="-O"
  4614. fi
  4615. fi
  4616. # When generating bitcode (for inlining) we always want to use -O2
  4617. # even when --enable-debug is specified. The bitcode it's not going to
  4618. # be used for line-by-line debugging, and JIT inlining doesn't work
  4619. # without at least -O1 (otherwise clang will emit 'noinline'
  4620. # attributes everywhere), which is bad for testing. Still allow the
  4621. # environment to override if done explicitly.
  4622. if test "$ac_env_BITCODE_CFLAGS_set" = set; then
  4623. BITCODE_CFLAGS=$ac_env_BITCODE_CFLAGS_value
  4624. else
  4625. BITCODE_CFLAGS="-O2 $BITCODE_CFLAGS"
  4626. fi
  4627. if test "$ac_env_BITCODE_CXXFLAGS_set" = set; then
  4628. BITCODE_CXXFLAGS=$ac_env_BITCODE_CXXFLAGS_value
  4629. else
  4630. BITCODE_CXXFLAGS="-O2 $BITCODE_CXXFLAGS"
  4631. fi
  4632. # C[XX]FLAGS we determined above will be added back at the end
  4633. user_CFLAGS=$CFLAGS
  4634. CFLAGS=""
  4635. user_CXXFLAGS=$CXXFLAGS
  4636. CXXFLAGS=""
  4637. user_BITCODE_CFLAGS=$BITCODE_CFLAGS
  4638. BITCODE_CFLAGS=""
  4639. user_BITCODE_CXXFLAGS=$BITCODE_CXXFLAGS
  4640. BITCODE_CXXFLAGS=""
  4641. # set CFLAGS_VECTOR from the environment, if available
  4642. if test "$ac_env_CFLAGS_VECTOR_set" = set; then
  4643. CFLAGS_VECTOR=$ac_env_CFLAGS_VECTOR_value
  4644. fi
  4645. # Some versions of GCC support some additional useful warning flags.
  4646. # Check whether they are supported, and add them to CFLAGS if so.
  4647. # ICC pretends to be GCC but it's lying; it doesn't support these flags,
  4648. # but has its own. Also check other compiler-specific flags here.
  4649. if test "$GCC" = yes -a "$ICC" = no; then
  4650. CFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith"
  4651. CXXFLAGS="-Wall -Wpointer-arith"
  4652. # These work in some but not all gcc versions
  4653. save_CFLAGS=$CFLAGS
  4654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wdeclaration-after-statement, for CFLAGS" >&5
  4655. $as_echo_n "checking whether ${CC} supports -Wdeclaration-after-statement, for CFLAGS... " >&6; }
  4656. if ${pgac_cv_prog_CC_cflags__Wdeclaration_after_statement+:} false; then :
  4657. $as_echo_n "(cached) " >&6
  4658. else
  4659. pgac_save_CFLAGS=$CFLAGS
  4660. pgac_save_CC=$CC
  4661. CC=${CC}
  4662. CFLAGS="${CFLAGS} -Wdeclaration-after-statement"
  4663. ac_save_c_werror_flag=$ac_c_werror_flag
  4664. ac_c_werror_flag=yes
  4665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4666. /* end confdefs.h. */
  4667. int
  4668. main ()
  4669. {
  4670. ;
  4671. return 0;
  4672. }
  4673. _ACEOF
  4674. if ac_fn_c_try_compile "$LINENO"; then :
  4675. pgac_cv_prog_CC_cflags__Wdeclaration_after_statement=yes
  4676. else
  4677. pgac_cv_prog_CC_cflags__Wdeclaration_after_statement=no
  4678. fi
  4679. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4680. ac_c_werror_flag=$ac_save_c_werror_flag
  4681. CFLAGS="$pgac_save_CFLAGS"
  4682. CC="$pgac_save_CC"
  4683. fi
  4684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wdeclaration_after_statement" >&5
  4685. $as_echo "$pgac_cv_prog_CC_cflags__Wdeclaration_after_statement" >&6; }
  4686. if test x"$pgac_cv_prog_CC_cflags__Wdeclaration_after_statement" = x"yes"; then
  4687. CFLAGS="${CFLAGS} -Wdeclaration-after-statement"
  4688. fi
  4689. # -Wdeclaration-after-statement isn't applicable for C++. Specific C files
  4690. # disable it, so AC_SUBST the negative form.
  4691. PERMIT_DECLARATION_AFTER_STATEMENT=
  4692. if test x"$save_CFLAGS" != x"$CFLAGS"; then
  4693. PERMIT_DECLARATION_AFTER_STATEMENT=-Wno-declaration-after-statement
  4694. fi
  4695. # Really don't want VLAs to be used in our dialect of C
  4696. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Werror=vla, for CFLAGS" >&5
  4697. $as_echo_n "checking whether ${CC} supports -Werror=vla, for CFLAGS... " >&6; }
  4698. if ${pgac_cv_prog_CC_cflags__Werror_vla+:} false; then :
  4699. $as_echo_n "(cached) " >&6
  4700. else
  4701. pgac_save_CFLAGS=$CFLAGS
  4702. pgac_save_CC=$CC
  4703. CC=${CC}
  4704. CFLAGS="${CFLAGS} -Werror=vla"
  4705. ac_save_c_werror_flag=$ac_c_werror_flag
  4706. ac_c_werror_flag=yes
  4707. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4708. /* end confdefs.h. */
  4709. int
  4710. main ()
  4711. {
  4712. ;
  4713. return 0;
  4714. }
  4715. _ACEOF
  4716. if ac_fn_c_try_compile "$LINENO"; then :
  4717. pgac_cv_prog_CC_cflags__Werror_vla=yes
  4718. else
  4719. pgac_cv_prog_CC_cflags__Werror_vla=no
  4720. fi
  4721. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4722. ac_c_werror_flag=$ac_save_c_werror_flag
  4723. CFLAGS="$pgac_save_CFLAGS"
  4724. CC="$pgac_save_CC"
  4725. fi
  4726. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Werror_vla" >&5
  4727. $as_echo "$pgac_cv_prog_CC_cflags__Werror_vla" >&6; }
  4728. if test x"$pgac_cv_prog_CC_cflags__Werror_vla" = x"yes"; then
  4729. CFLAGS="${CFLAGS} -Werror=vla"
  4730. fi
  4731. # -Wvla is not applicable for C++
  4732. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wendif-labels, for CFLAGS" >&5
  4733. $as_echo_n "checking whether ${CC} supports -Wendif-labels, for CFLAGS... " >&6; }
  4734. if ${pgac_cv_prog_CC_cflags__Wendif_labels+:} false; then :
  4735. $as_echo_n "(cached) " >&6
  4736. else
  4737. pgac_save_CFLAGS=$CFLAGS
  4738. pgac_save_CC=$CC
  4739. CC=${CC}
  4740. CFLAGS="${CFLAGS} -Wendif-labels"
  4741. ac_save_c_werror_flag=$ac_c_werror_flag
  4742. ac_c_werror_flag=yes
  4743. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4744. /* end confdefs.h. */
  4745. int
  4746. main ()
  4747. {
  4748. ;
  4749. return 0;
  4750. }
  4751. _ACEOF
  4752. if ac_fn_c_try_compile "$LINENO"; then :
  4753. pgac_cv_prog_CC_cflags__Wendif_labels=yes
  4754. else
  4755. pgac_cv_prog_CC_cflags__Wendif_labels=no
  4756. fi
  4757. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4758. ac_c_werror_flag=$ac_save_c_werror_flag
  4759. CFLAGS="$pgac_save_CFLAGS"
  4760. CC="$pgac_save_CC"
  4761. fi
  4762. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wendif_labels" >&5
  4763. $as_echo "$pgac_cv_prog_CC_cflags__Wendif_labels" >&6; }
  4764. if test x"$pgac_cv_prog_CC_cflags__Wendif_labels" = x"yes"; then
  4765. CFLAGS="${CFLAGS} -Wendif-labels"
  4766. fi
  4767. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wendif-labels, for CXXFLAGS" >&5
  4768. $as_echo_n "checking whether ${CXX} supports -Wendif-labels, for CXXFLAGS... " >&6; }
  4769. if ${pgac_cv_prog_CXX_cxxflags__Wendif_labels+:} false; then :
  4770. $as_echo_n "(cached) " >&6
  4771. else
  4772. pgac_save_CXXFLAGS=$CXXFLAGS
  4773. pgac_save_CXX=$CXX
  4774. CXX=${CXX}
  4775. CXXFLAGS="${CXXFLAGS} -Wendif-labels"
  4776. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4777. ac_cxx_werror_flag=yes
  4778. ac_ext=cpp
  4779. ac_cpp='$CXXCPP $CPPFLAGS'
  4780. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4781. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4782. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4783. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4784. /* end confdefs.h. */
  4785. int
  4786. main ()
  4787. {
  4788. ;
  4789. return 0;
  4790. }
  4791. _ACEOF
  4792. if ac_fn_cxx_try_compile "$LINENO"; then :
  4793. pgac_cv_prog_CXX_cxxflags__Wendif_labels=yes
  4794. else
  4795. pgac_cv_prog_CXX_cxxflags__Wendif_labels=no
  4796. fi
  4797. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4798. ac_ext=c
  4799. ac_cpp='$CPP $CPPFLAGS'
  4800. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4801. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4802. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4803. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4804. CXXFLAGS="$pgac_save_CXXFLAGS"
  4805. CXX="$pgac_save_CXX"
  4806. fi
  4807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wendif_labels" >&5
  4808. $as_echo "$pgac_cv_prog_CXX_cxxflags__Wendif_labels" >&6; }
  4809. if test x"$pgac_cv_prog_CXX_cxxflags__Wendif_labels" = x"yes"; then
  4810. CXXFLAGS="${CXXFLAGS} -Wendif-labels"
  4811. fi
  4812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wmissing-format-attribute, for CFLAGS" >&5
  4813. $as_echo_n "checking whether ${CC} supports -Wmissing-format-attribute, for CFLAGS... " >&6; }
  4814. if ${pgac_cv_prog_CC_cflags__Wmissing_format_attribute+:} false; then :
  4815. $as_echo_n "(cached) " >&6
  4816. else
  4817. pgac_save_CFLAGS=$CFLAGS
  4818. pgac_save_CC=$CC
  4819. CC=${CC}
  4820. CFLAGS="${CFLAGS} -Wmissing-format-attribute"
  4821. ac_save_c_werror_flag=$ac_c_werror_flag
  4822. ac_c_werror_flag=yes
  4823. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4824. /* end confdefs.h. */
  4825. int
  4826. main ()
  4827. {
  4828. ;
  4829. return 0;
  4830. }
  4831. _ACEOF
  4832. if ac_fn_c_try_compile "$LINENO"; then :
  4833. pgac_cv_prog_CC_cflags__Wmissing_format_attribute=yes
  4834. else
  4835. pgac_cv_prog_CC_cflags__Wmissing_format_attribute=no
  4836. fi
  4837. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4838. ac_c_werror_flag=$ac_save_c_werror_flag
  4839. CFLAGS="$pgac_save_CFLAGS"
  4840. CC="$pgac_save_CC"
  4841. fi
  4842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wmissing_format_attribute" >&5
  4843. $as_echo "$pgac_cv_prog_CC_cflags__Wmissing_format_attribute" >&6; }
  4844. if test x"$pgac_cv_prog_CC_cflags__Wmissing_format_attribute" = x"yes"; then
  4845. CFLAGS="${CFLAGS} -Wmissing-format-attribute"
  4846. fi
  4847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wmissing-format-attribute, for CXXFLAGS" >&5
  4848. $as_echo_n "checking whether ${CXX} supports -Wmissing-format-attribute, for CXXFLAGS... " >&6; }
  4849. if ${pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute+:} false; then :
  4850. $as_echo_n "(cached) " >&6
  4851. else
  4852. pgac_save_CXXFLAGS=$CXXFLAGS
  4853. pgac_save_CXX=$CXX
  4854. CXX=${CXX}
  4855. CXXFLAGS="${CXXFLAGS} -Wmissing-format-attribute"
  4856. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4857. ac_cxx_werror_flag=yes
  4858. ac_ext=cpp
  4859. ac_cpp='$CXXCPP $CPPFLAGS'
  4860. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4861. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4862. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  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_cxx_try_compile "$LINENO"; then :
  4873. pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute=yes
  4874. else
  4875. pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute=no
  4876. fi
  4877. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4878. ac_ext=c
  4879. ac_cpp='$CPP $CPPFLAGS'
  4880. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4881. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4882. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4883. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4884. CXXFLAGS="$pgac_save_CXXFLAGS"
  4885. CXX="$pgac_save_CXX"
  4886. fi
  4887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute" >&5
  4888. $as_echo "$pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute" >&6; }
  4889. if test x"$pgac_cv_prog_CXX_cxxflags__Wmissing_format_attribute" = x"yes"; then
  4890. CXXFLAGS="${CXXFLAGS} -Wmissing-format-attribute"
  4891. fi
  4892. # This was included in -Wall/-Wformat in older GCC versions
  4893. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -Wformat-security, for CFLAGS" >&5
  4894. $as_echo_n "checking whether ${CC} supports -Wformat-security, for CFLAGS... " >&6; }
  4895. if ${pgac_cv_prog_CC_cflags__Wformat_security+:} false; then :
  4896. $as_echo_n "(cached) " >&6
  4897. else
  4898. pgac_save_CFLAGS=$CFLAGS
  4899. pgac_save_CC=$CC
  4900. CC=${CC}
  4901. CFLAGS="${CFLAGS} -Wformat-security"
  4902. ac_save_c_werror_flag=$ac_c_werror_flag
  4903. ac_c_werror_flag=yes
  4904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4905. /* end confdefs.h. */
  4906. int
  4907. main ()
  4908. {
  4909. ;
  4910. return 0;
  4911. }
  4912. _ACEOF
  4913. if ac_fn_c_try_compile "$LINENO"; then :
  4914. pgac_cv_prog_CC_cflags__Wformat_security=yes
  4915. else
  4916. pgac_cv_prog_CC_cflags__Wformat_security=no
  4917. fi
  4918. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4919. ac_c_werror_flag=$ac_save_c_werror_flag
  4920. CFLAGS="$pgac_save_CFLAGS"
  4921. CC="$pgac_save_CC"
  4922. fi
  4923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__Wformat_security" >&5
  4924. $as_echo "$pgac_cv_prog_CC_cflags__Wformat_security" >&6; }
  4925. if test x"$pgac_cv_prog_CC_cflags__Wformat_security" = x"yes"; then
  4926. CFLAGS="${CFLAGS} -Wformat-security"
  4927. fi
  4928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -Wformat-security, for CXXFLAGS" >&5
  4929. $as_echo_n "checking whether ${CXX} supports -Wformat-security, for CXXFLAGS... " >&6; }
  4930. if ${pgac_cv_prog_CXX_cxxflags__Wformat_security+:} false; then :
  4931. $as_echo_n "(cached) " >&6
  4932. else
  4933. pgac_save_CXXFLAGS=$CXXFLAGS
  4934. pgac_save_CXX=$CXX
  4935. CXX=${CXX}
  4936. CXXFLAGS="${CXXFLAGS} -Wformat-security"
  4937. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4938. ac_cxx_werror_flag=yes
  4939. ac_ext=cpp
  4940. ac_cpp='$CXXCPP $CPPFLAGS'
  4941. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4942. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4943. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4944. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4945. /* end confdefs.h. */
  4946. int
  4947. main ()
  4948. {
  4949. ;
  4950. return 0;
  4951. }
  4952. _ACEOF
  4953. if ac_fn_cxx_try_compile "$LINENO"; then :
  4954. pgac_cv_prog_CXX_cxxflags__Wformat_security=yes
  4955. else
  4956. pgac_cv_prog_CXX_cxxflags__Wformat_security=no
  4957. fi
  4958. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4959. ac_ext=c
  4960. ac_cpp='$CPP $CPPFLAGS'
  4961. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4962. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4963. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4964. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4965. CXXFLAGS="$pgac_save_CXXFLAGS"
  4966. CXX="$pgac_save_CXX"
  4967. fi
  4968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__Wformat_security" >&5
  4969. $as_echo "$pgac_cv_prog_CXX_cxxflags__Wformat_security" >&6; }
  4970. if test x"$pgac_cv_prog_CXX_cxxflags__Wformat_security" = x"yes"; then
  4971. CXXFLAGS="${CXXFLAGS} -Wformat-security"
  4972. fi
  4973. # Disable strict-aliasing rules; needed for gcc 3.3+
  4974. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -fno-strict-aliasing, for CFLAGS" >&5
  4975. $as_echo_n "checking whether ${CC} supports -fno-strict-aliasing, for CFLAGS... " >&6; }
  4976. if ${pgac_cv_prog_CC_cflags__fno_strict_aliasing+:} false; then :
  4977. $as_echo_n "(cached) " >&6
  4978. else
  4979. pgac_save_CFLAGS=$CFLAGS
  4980. pgac_save_CC=$CC
  4981. CC=${CC}
  4982. CFLAGS="${CFLAGS} -fno-strict-aliasing"
  4983. ac_save_c_werror_flag=$ac_c_werror_flag
  4984. ac_c_werror_flag=yes
  4985. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4986. /* end confdefs.h. */
  4987. int
  4988. main ()
  4989. {
  4990. ;
  4991. return 0;
  4992. }
  4993. _ACEOF
  4994. if ac_fn_c_try_compile "$LINENO"; then :
  4995. pgac_cv_prog_CC_cflags__fno_strict_aliasing=yes
  4996. else
  4997. pgac_cv_prog_CC_cflags__fno_strict_aliasing=no
  4998. fi
  4999. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5000. ac_c_werror_flag=$ac_save_c_werror_flag
  5001. CFLAGS="$pgac_save_CFLAGS"
  5002. CC="$pgac_save_CC"
  5003. fi
  5004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__fno_strict_aliasing" >&5
  5005. $as_echo "$pgac_cv_prog_CC_cflags__fno_strict_aliasing" >&6; }
  5006. if test x"$pgac_cv_prog_CC_cflags__fno_strict_aliasing" = x"yes"; then
  5007. CFLAGS="${CFLAGS} -fno-strict-aliasing"
  5008. fi
  5009. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -fno-strict-aliasing, for CXXFLAGS" >&5
  5010. $as_echo_n "checking whether ${CXX} supports -fno-strict-aliasing, for CXXFLAGS... " >&6; }
  5011. if ${pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing+:} false; then :
  5012. $as_echo_n "(cached) " >&6
  5013. else
  5014. pgac_save_CXXFLAGS=$CXXFLAGS
  5015. pgac_save_CXX=$CXX
  5016. CXX=${CXX}
  5017. CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
  5018. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  5019. ac_cxx_werror_flag=yes
  5020. ac_ext=cpp
  5021. ac_cpp='$CXXCPP $CPPFLAGS'
  5022. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5023. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5024. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  5025. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5026. /* end confdefs.h. */
  5027. int
  5028. main ()
  5029. {
  5030. ;
  5031. return 0;
  5032. }
  5033. _ACEOF
  5034. if ac_fn_cxx_try_compile "$LINENO"; then :
  5035. pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing=yes
  5036. else
  5037. pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing=no
  5038. fi
  5039. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5040. ac_ext=c
  5041. ac_cpp='$CPP $CPPFLAGS'
  5042. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5043. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5044. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5045. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  5046. CXXFLAGS="$pgac_save_CXXFLAGS"
  5047. CXX="$pgac_save_CXX"
  5048. fi
  5049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing" >&5
  5050. $as_echo "$pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing" >&6; }
  5051. if test x"$pgac_cv_prog_CXX_cxxflags__fno_strict_aliasing" = x"yes"; then
  5052. CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
  5053. fi
  5054. # Disable optimizations that assume no overflow; needed for gcc 4.3+
  5055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports -fwrapv, for CFLAGS" >&5
  5056. $as_echo_n "checking whether ${CC} supports -fwrapv, for CFLAGS... " >&6; }
  5057. if ${pgac_cv_prog_CC_cflags__fwrapv+:} false; then :
  5058. $as_echo_n "(cached) " >&6
  5059. else
  5060. pgac_save_CFLAGS=$CFLAGS
  5061. pgac_save_CC=$CC
  5062. CC=${CC}
  5063. CFLAGS="${CFLAGS} -fwrapv"
  5064. ac_save_c_werror_flag=$ac_c_werror_flag
  5065. ac_c_werror_flag=yes
  5066. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5067. /* end confdefs.h. */
  5068. int
  5069. main ()
  5070. {
  5071. ;
  5072. return 0;
  5073. }
  5074. _ACEOF
  5075. if ac_fn_c_try_compile "$LINENO"; then :
  5076. pgac_cv_prog_CC_cflags__fwrapv=yes
  5077. else
  5078. pgac_cv_prog_CC_cflags__fwrapv=no
  5079. fi
  5080. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5081. ac_c_werror_flag=$ac_save_c_werror_flag
  5082. CFLAGS="$pgac_save_CFLAGS"
  5083. CC="$pgac_save_CC"
  5084. fi
  5085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CC_cflags__fwrapv" >&5
  5086. $as_echo "$pgac_cv_prog_CC_cflags__fwrapv" >&6; }
  5087. if test x"$pgac_cv_prog_CC_cflags__fwrapv" = x"yes"; then
  5088. CFLAGS="${CFLAGS} -fwrapv"
  5089. fi
  5090. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports -fwrapv, for CXXFLAGS" >&5
  5091. $as_echo_n "checking whether ${CXX} supports -fwrapv, for CXXFLAGS... " >&6; }
  5092. if ${pgac_cv_prog_CXX_cxxflags__fwrapv+:} false; then :
  5093. $as_echo_n "(cached) " >&6
  5094. else
  5095. pgac_save_CXXFLAGS=$CXXFLAGS
  5096. pgac_save_CXX=$CXX
  5097. CXX=${CXX}
  5098. CXXFLAGS="${CXXFLAGS} -fwrapv"
  5099. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  5100. ac_cxx_werror_flag=yes
  5101. ac_ext=cpp
  5102. ac_cpp='$CXXCPP $CPPFLAGS'
  5103. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5104. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5105. ac_compiler_gnu=$ac_cv_