configure 108 KB

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