私は以下を持っていますconfigure.ac
:
AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_PROG_CXX
AC_OUTPUT
そして、次の行を含む configure を生成します:( grep core configure
)
1572: rm -f core *.core core.conftest.* &&
2143:rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210:rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212:rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214:rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
楽しみは、という名前のフォルダーがあるという事実から始まりますcore
。だから./configure
利回り
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... rm: cannot remove 'core': Is a directory
yes
checking whether g++ accepts -g... rm: cannot remove 'core': Is a directory
yes
configure: creating ./config.status
rm: cannot remove 'core': Is a directory
私はグーグルで、コンパイラがクラッシュした場合に行われることを発見しました。しかし、このチェックを無効にする良い方法はありますか(autoconfテストでコアダンプできるコンパイラについては本当に気にしません)。フォルダの名前を変更することは、私がやりたいことではありません。