configure 144 KB

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