configure 159 KB

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