configure 141 KB

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