configure 117 KB

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