configure 140 KB

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