configure 139 KB

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