configure 115 KB

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