configure 144 KB

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