configure 153 KB

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