This bug is distinct from #26031 that I just reported. Summary: ======== "make check" does not export the value of $(EXEEXT) to individual tests when they are run. The tests require this information, for example when they are shell scripts starting up executable programs to be tested. To reproduce: ============= Please see the attached minimal example testing2-0.0.tar.gz The following succeeds: $ ./configure $ make check The following fails (note: it is important to run "make clean" before "./configure ac_cv_exeext=.exe", because otherwise the generated execuable src/someprogram will not be cleaned up): $ make clean $ ./configure ac_cv_exeext=.exe $ make check The check/test-suite.log (also attached) basically says that ../src/someprogram was not found. Although the test script check/mytest2.sh specified ../src/someprogram$EXEEXT, the EXEEXT setting was not exported to the script. The following succeeds: $ ./configure ac_cv_exeext=.exe $ make EXEEXT=.exe check But it seems wrong that EXEEXT should have to be specified *both* at configure and make time. Proposed solution: ================== The problem goes away if the maintainer inserts "export EXEEXT" at the beginning of check/Makefile.am. However, I believe this should be inserted automatically by automake, because EXEEXT must normally be available to tests.