configure 160 KB

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