configure 141 KB

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