configure 170 KB

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