configure 112 KB

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