configure 131 KB

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