configure 122 KB

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