configure 161 KB

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