configure 140 KB

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