configure 170 KB

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