configure 114 KB

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