configure 165 KB

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