output.0 116 KB

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