autotool.patch 151 KB

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