configure 167 KB

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