configure 136 KB

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