configure 169 KB

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