configure 118 KB

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