output.0 135 KB

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