Program to generate an xml file based on a provided text file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 155KB

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