Nife version Beta
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 179 KiB

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