configure 108 KB

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