configure 145 KB

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