configure 129 KB

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