Where are the cached variables stored after running configure?












2














After I run the configure script, I get a series of output which says "cached". For example:



checking for gcc... gcc
checking for gcc... (cached) gcc
...
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3


Why is it outputting gcc twice here: one with "gcc" and the other "(cached) gcc"? It appears that the script is doing two checks. I thought the script would just check the cache for variables to speed up execution.



Also, where are these cached files stored? According to the autoconf documentation, it says:




By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




So it seems certain "checks" do get cached by the configure script by default. I have tried running "--config-cache", and the file "config.cache" get created.



I also ran this in my configure script:



# optimization flags
if test "x$ac_cv_prog_gcc" = xyes; then
AC_MSG_CHECKING([AC_CV_PROG_GCC])
AC_MSG_RESULT("$ac_cv_prog_gcc")
fi


The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache though, so I am assuming these cached variables are stored elsewhere. Where are these files located?










share|improve this question



























    2














    After I run the configure script, I get a series of output which says "cached". For example:



    checking for gcc... gcc
    checking for gcc... (cached) gcc
    ...
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... (cached) gcc3


    Why is it outputting gcc twice here: one with "gcc" and the other "(cached) gcc"? It appears that the script is doing two checks. I thought the script would just check the cache for variables to speed up execution.



    Also, where are these cached files stored? According to the autoconf documentation, it says:




    By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




    So it seems certain "checks" do get cached by the configure script by default. I have tried running "--config-cache", and the file "config.cache" get created.



    I also ran this in my configure script:



    # optimization flags
    if test "x$ac_cv_prog_gcc" = xyes; then
    AC_MSG_CHECKING([AC_CV_PROG_GCC])
    AC_MSG_RESULT("$ac_cv_prog_gcc")
    fi


    The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache though, so I am assuming these cached variables are stored elsewhere. Where are these files located?










    share|improve this question

























      2












      2








      2







      After I run the configure script, I get a series of output which says "cached". For example:



      checking for gcc... gcc
      checking for gcc... (cached) gcc
      ...
      checking dependency style of gcc... gcc3
      checking dependency style of gcc... (cached) gcc3


      Why is it outputting gcc twice here: one with "gcc" and the other "(cached) gcc"? It appears that the script is doing two checks. I thought the script would just check the cache for variables to speed up execution.



      Also, where are these cached files stored? According to the autoconf documentation, it says:




      By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




      So it seems certain "checks" do get cached by the configure script by default. I have tried running "--config-cache", and the file "config.cache" get created.



      I also ran this in my configure script:



      # optimization flags
      if test "x$ac_cv_prog_gcc" = xyes; then
      AC_MSG_CHECKING([AC_CV_PROG_GCC])
      AC_MSG_RESULT("$ac_cv_prog_gcc")
      fi


      The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache though, so I am assuming these cached variables are stored elsewhere. Where are these files located?










      share|improve this question













      After I run the configure script, I get a series of output which says "cached". For example:



      checking for gcc... gcc
      checking for gcc... (cached) gcc
      ...
      checking dependency style of gcc... gcc3
      checking dependency style of gcc... (cached) gcc3


      Why is it outputting gcc twice here: one with "gcc" and the other "(cached) gcc"? It appears that the script is doing two checks. I thought the script would just check the cache for variables to speed up execution.



      Also, where are these cached files stored? According to the autoconf documentation, it says:




      By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




      So it seems certain "checks" do get cached by the configure script by default. I have tried running "--config-cache", and the file "config.cache" get created.



      I also ran this in my configure script:



      # optimization flags
      if test "x$ac_cv_prog_gcc" = xyes; then
      AC_MSG_CHECKING([AC_CV_PROG_GCC])
      AC_MSG_RESULT("$ac_cv_prog_gcc")
      fi


      The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache though, so I am assuming these cached variables are stored elsewhere. Where are these files located?







      autotools configure






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 0:47









      supmethodssupmethods

      11819




      11819
























          1 Answer
          1






          active

          oldest

          votes


















          4















          Why is it outputting gcc twice here: one with "gcc" and the other
          "(cached) gcc"? It appears that the script is doing two checks.




          The script encounters two requests for the same check. It is smart enough to remember the result of the first one instead of performing an actual check the second time around. Because it does so, it reports the second time around that the result was drawn from its result cache instead of computed de novo. Even if it is not recording a cache file, it has an in-memory result cache for the duration of the script's run.



          It cannot, in general, altogether suppress duplicate checks, because there is often code associated with a check to process the result, and that's not necessarily the same code for each of the redundant checks.




          I
          thought the script would just check the cache for variables to speed
          up execution.




          Yes, that's exactly what it is doing. And it is reporting that it has done so, and the result. This informs you in the event that it uses a value cached during a previous run, or manually entered into the cache, and it can alert you in the event that the cache is manipulated between checks. In the event that configure fails, it may also help you better track where the failure occurred.




          Also, where are these cached files stored? According to the autoconf
          documentation, it says:




          By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




          So it seems certain "checks" do get cached by the configure script by
          default.




          No checks get cached persistently by default. Every result that is cached at all is cached at least for the duration of the configure run, however, and if you enable a cache file then it is used for persistent cache storage.




          I have tried running "--config-cache", and the file
          "config.cache" get created.



          I also ran this in my configure script:



          # optimization flags
          if test "x$ac_cv_prog_gcc" = xyes; then
          AC_MSG_CHECKING([AC_CV_PROG_GCC])
          AC_MSG_RESULT("$ac_cv_prog_gcc")
          fi


          The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache
          though, so I am assuming these cached variables are stored elsewhere.




          It's not clear to me what you expected to be accomplished by that. If you want to manually enter a value into the cache then you should use the AC_CACHE_VALUE or AC_CACHE_CHECK macro for that purpose. You not appearing to have done so, it is unsurprising that you didn't see the variables cached.



          Additionally, it is a bit unclear how you are using the --config-cache option. That option and its siblings apply on a per-run basis to control whether a persistent cache is used (both read and written). The mere presence of a cache file, by any name, is not sufficient for your configure script to actually use it on any given run.




          Where are these files located?




          You're already looking at it. It you use the --config-cache or -C option to your configure script then the cache is stored in config.cache. If instead you use the --cache-file=XXX option, then the cache is stored in the file you name.



          Overall, however, do be aware that (persistent) caching is probably not what you are looking for. If you are considering it for a particular need, then I would recommend asking directly about that need, in a separate question.






          share|improve this answer





















          • That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
            – supmethods
            Nov 14 '18 at 12:02










          • Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
            – supmethods
            Nov 16 '18 at 10:18













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272185%2fwhere-are-the-cached-variables-stored-after-running-configure%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4















          Why is it outputting gcc twice here: one with "gcc" and the other
          "(cached) gcc"? It appears that the script is doing two checks.




          The script encounters two requests for the same check. It is smart enough to remember the result of the first one instead of performing an actual check the second time around. Because it does so, it reports the second time around that the result was drawn from its result cache instead of computed de novo. Even if it is not recording a cache file, it has an in-memory result cache for the duration of the script's run.



          It cannot, in general, altogether suppress duplicate checks, because there is often code associated with a check to process the result, and that's not necessarily the same code for each of the redundant checks.




          I
          thought the script would just check the cache for variables to speed
          up execution.




          Yes, that's exactly what it is doing. And it is reporting that it has done so, and the result. This informs you in the event that it uses a value cached during a previous run, or manually entered into the cache, and it can alert you in the event that the cache is manipulated between checks. In the event that configure fails, it may also help you better track where the failure occurred.




          Also, where are these cached files stored? According to the autoconf
          documentation, it says:




          By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




          So it seems certain "checks" do get cached by the configure script by
          default.




          No checks get cached persistently by default. Every result that is cached at all is cached at least for the duration of the configure run, however, and if you enable a cache file then it is used for persistent cache storage.




          I have tried running "--config-cache", and the file
          "config.cache" get created.



          I also ran this in my configure script:



          # optimization flags
          if test "x$ac_cv_prog_gcc" = xyes; then
          AC_MSG_CHECKING([AC_CV_PROG_GCC])
          AC_MSG_RESULT("$ac_cv_prog_gcc")
          fi


          The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache
          though, so I am assuming these cached variables are stored elsewhere.




          It's not clear to me what you expected to be accomplished by that. If you want to manually enter a value into the cache then you should use the AC_CACHE_VALUE or AC_CACHE_CHECK macro for that purpose. You not appearing to have done so, it is unsurprising that you didn't see the variables cached.



          Additionally, it is a bit unclear how you are using the --config-cache option. That option and its siblings apply on a per-run basis to control whether a persistent cache is used (both read and written). The mere presence of a cache file, by any name, is not sufficient for your configure script to actually use it on any given run.




          Where are these files located?




          You're already looking at it. It you use the --config-cache or -C option to your configure script then the cache is stored in config.cache. If instead you use the --cache-file=XXX option, then the cache is stored in the file you name.



          Overall, however, do be aware that (persistent) caching is probably not what you are looking for. If you are considering it for a particular need, then I would recommend asking directly about that need, in a separate question.






          share|improve this answer





















          • That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
            – supmethods
            Nov 14 '18 at 12:02










          • Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
            – supmethods
            Nov 16 '18 at 10:18


















          4















          Why is it outputting gcc twice here: one with "gcc" and the other
          "(cached) gcc"? It appears that the script is doing two checks.




          The script encounters two requests for the same check. It is smart enough to remember the result of the first one instead of performing an actual check the second time around. Because it does so, it reports the second time around that the result was drawn from its result cache instead of computed de novo. Even if it is not recording a cache file, it has an in-memory result cache for the duration of the script's run.



          It cannot, in general, altogether suppress duplicate checks, because there is often code associated with a check to process the result, and that's not necessarily the same code for each of the redundant checks.




          I
          thought the script would just check the cache for variables to speed
          up execution.




          Yes, that's exactly what it is doing. And it is reporting that it has done so, and the result. This informs you in the event that it uses a value cached during a previous run, or manually entered into the cache, and it can alert you in the event that the cache is manipulated between checks. In the event that configure fails, it may also help you better track where the failure occurred.




          Also, where are these cached files stored? According to the autoconf
          documentation, it says:




          By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




          So it seems certain "checks" do get cached by the configure script by
          default.




          No checks get cached persistently by default. Every result that is cached at all is cached at least for the duration of the configure run, however, and if you enable a cache file then it is used for persistent cache storage.




          I have tried running "--config-cache", and the file
          "config.cache" get created.



          I also ran this in my configure script:



          # optimization flags
          if test "x$ac_cv_prog_gcc" = xyes; then
          AC_MSG_CHECKING([AC_CV_PROG_GCC])
          AC_MSG_RESULT("$ac_cv_prog_gcc")
          fi


          The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache
          though, so I am assuming these cached variables are stored elsewhere.




          It's not clear to me what you expected to be accomplished by that. If you want to manually enter a value into the cache then you should use the AC_CACHE_VALUE or AC_CACHE_CHECK macro for that purpose. You not appearing to have done so, it is unsurprising that you didn't see the variables cached.



          Additionally, it is a bit unclear how you are using the --config-cache option. That option and its siblings apply on a per-run basis to control whether a persistent cache is used (both read and written). The mere presence of a cache file, by any name, is not sufficient for your configure script to actually use it on any given run.




          Where are these files located?




          You're already looking at it. It you use the --config-cache or -C option to your configure script then the cache is stored in config.cache. If instead you use the --cache-file=XXX option, then the cache is stored in the file you name.



          Overall, however, do be aware that (persistent) caching is probably not what you are looking for. If you are considering it for a particular need, then I would recommend asking directly about that need, in a separate question.






          share|improve this answer





















          • That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
            – supmethods
            Nov 14 '18 at 12:02










          • Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
            – supmethods
            Nov 16 '18 at 10:18
















          4












          4








          4







          Why is it outputting gcc twice here: one with "gcc" and the other
          "(cached) gcc"? It appears that the script is doing two checks.




          The script encounters two requests for the same check. It is smart enough to remember the result of the first one instead of performing an actual check the second time around. Because it does so, it reports the second time around that the result was drawn from its result cache instead of computed de novo. Even if it is not recording a cache file, it has an in-memory result cache for the duration of the script's run.



          It cannot, in general, altogether suppress duplicate checks, because there is often code associated with a check to process the result, and that's not necessarily the same code for each of the redundant checks.




          I
          thought the script would just check the cache for variables to speed
          up execution.




          Yes, that's exactly what it is doing. And it is reporting that it has done so, and the result. This informs you in the event that it uses a value cached during a previous run, or manually entered into the cache, and it can alert you in the event that the cache is manipulated between checks. In the event that configure fails, it may also help you better track where the failure occurred.




          Also, where are these cached files stored? According to the autoconf
          documentation, it says:




          By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




          So it seems certain "checks" do get cached by the configure script by
          default.




          No checks get cached persistently by default. Every result that is cached at all is cached at least for the duration of the configure run, however, and if you enable a cache file then it is used for persistent cache storage.




          I have tried running "--config-cache", and the file
          "config.cache" get created.



          I also ran this in my configure script:



          # optimization flags
          if test "x$ac_cv_prog_gcc" = xyes; then
          AC_MSG_CHECKING([AC_CV_PROG_GCC])
          AC_MSG_RESULT("$ac_cv_prog_gcc")
          fi


          The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache
          though, so I am assuming these cached variables are stored elsewhere.




          It's not clear to me what you expected to be accomplished by that. If you want to manually enter a value into the cache then you should use the AC_CACHE_VALUE or AC_CACHE_CHECK macro for that purpose. You not appearing to have done so, it is unsurprising that you didn't see the variables cached.



          Additionally, it is a bit unclear how you are using the --config-cache option. That option and its siblings apply on a per-run basis to control whether a persistent cache is used (both read and written). The mere presence of a cache file, by any name, is not sufficient for your configure script to actually use it on any given run.




          Where are these files located?




          You're already looking at it. It you use the --config-cache or -C option to your configure script then the cache is stored in config.cache. If instead you use the --cache-file=XXX option, then the cache is stored in the file you name.



          Overall, however, do be aware that (persistent) caching is probably not what you are looking for. If you are considering it for a particular need, then I would recommend asking directly about that need, in a separate question.






          share|improve this answer













          Why is it outputting gcc twice here: one with "gcc" and the other
          "(cached) gcc"? It appears that the script is doing two checks.




          The script encounters two requests for the same check. It is smart enough to remember the result of the first one instead of performing an actual check the second time around. Because it does so, it reports the second time around that the result was drawn from its result cache instead of computed de novo. Even if it is not recording a cache file, it has an in-memory result cache for the duration of the script's run.



          It cannot, in general, altogether suppress duplicate checks, because there is often code associated with a check to process the result, and that's not necessarily the same code for each of the redundant checks.




          I
          thought the script would just check the cache for variables to speed
          up execution.




          Yes, that's exactly what it is doing. And it is reporting that it has done so, and the result. This informs you in the event that it uses a value cached during a previous run, or manually entered into the cache, and it can alert you in the event that the cache is manipulated between checks. In the event that configure fails, it may also help you better track where the failure occurred.




          Also, where are these cached files stored? According to the autoconf
          documentation, it says:




          By default, configure uses no cache file, to avoid problems caused by accidental use of stale cache files.




          So it seems certain "checks" do get cached by the configure script by
          default.




          No checks get cached persistently by default. Every result that is cached at all is cached at least for the duration of the configure run, however, and if you enable a cache file then it is used for persistent cache storage.




          I have tried running "--config-cache", and the file
          "config.cache" get created.



          I also ran this in my configure script:



          # optimization flags
          if test "x$ac_cv_prog_gcc" = xyes; then
          AC_MSG_CHECKING([AC_CV_PROG_GCC])
          AC_MSG_RESULT("$ac_cv_prog_gcc")
          fi


          The variable "ac_cv_prog_gcc" is nowhere to be found in config.cache
          though, so I am assuming these cached variables are stored elsewhere.




          It's not clear to me what you expected to be accomplished by that. If you want to manually enter a value into the cache then you should use the AC_CACHE_VALUE or AC_CACHE_CHECK macro for that purpose. You not appearing to have done so, it is unsurprising that you didn't see the variables cached.



          Additionally, it is a bit unclear how you are using the --config-cache option. That option and its siblings apply on a per-run basis to control whether a persistent cache is used (both read and written). The mere presence of a cache file, by any name, is not sufficient for your configure script to actually use it on any given run.




          Where are these files located?




          You're already looking at it. It you use the --config-cache or -C option to your configure script then the cache is stored in config.cache. If instead you use the --cache-file=XXX option, then the cache is stored in the file you name.



          Overall, however, do be aware that (persistent) caching is probably not what you are looking for. If you are considering it for a particular need, then I would recommend asking directly about that need, in a separate question.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 '18 at 3:17









          John BollingerJohn Bollinger

          79k74074




          79k74074












          • That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
            – supmethods
            Nov 14 '18 at 12:02










          • Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
            – supmethods
            Nov 16 '18 at 10:18




















          • That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
            – supmethods
            Nov 14 '18 at 12:02










          • Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
            – supmethods
            Nov 16 '18 at 10:18


















          That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
          – supmethods
          Nov 14 '18 at 12:02




          That clears how caching works. I tried running configure with "--config-cache" more than once, and it does say "checking for gcc... (cached) gcc" twice meaning it looks in the cached file first. When I do configure without any options (even when config.cache exists from the previous execution of configure --config-cache), it goes back to not checking the cache for the first check, and then using the cache for any subsequent checks.
          – supmethods
          Nov 14 '18 at 12:02












          Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
          – supmethods
          Nov 16 '18 at 10:18






          Also, I mentioned I couldn't find the variable $ac_cv_prog_gcc in the cached file. I ran a few tests and it always yields a 'yes" with or without the cached file, and the macro AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC is required for it to be set to 'yes'. So ac_cv_prog_gcc must be stored in the in-memory result cache as mentioned in your answer.
          – supmethods
          Nov 16 '18 at 10:18




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272185%2fwhere-are-the-cached-variables-stored-after-running-configure%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Xamarin.form Move up view when keyboard appear

          JBPM : POST request for execute process go wrong