configure 159 KB

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