configure 122 KB

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