Tests About Natural Selection In Virtual Environment
c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 168KB

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