configure 95 KB

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