configure 148 KB

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