configure 140 KB

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