configure 158 KB

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