output.1 159 KB

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