emcc@emcc-desktop:~/work$ ls
test.c
emcc@emcc-desktop:~/work$ autoscan
emcc@emcc-desktop:~/work$ ls
autoscan.log configure.scan test.c
emcc@emcc-desktop:~/work$ vi autoscan.log
emcc@emcc-desktop:~/work$ vi configure.scan
emcc@emcc-desktop:~/work$ vi configure.scan
emcc@emcc-desktop:~/work$ aclocal
aclocal: `configure.ac' or `configure.in' is required
emcc@emcc-desktop:~/work$ ls
autoscan.log configure.scan test.c
emcc@emcc-desktop:~/work$ mv configure.scan configure.in
emcc@emcc-desktop:~/work$ aclocal
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log configure.in test.c
emcc@emcc-desktop:~/work$ autoconf
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log configure configure.in test.c
emcc@emcc-desktop:~/work$ automake --add-missing
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log configure configure.in test.c
emcc@emcc-desktop:~/work$ automake
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
emcc@emcc-desktop:~/work$ vi Makefile.am
emcc@emcc-desktop:~/work$ automake --add-missing
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.in?
emcc@emcc-desktop:~/work$ vi Makefile.am
emcc@emcc-desktop:~/work$ automake--add-missing
bash: automake--add-missing:找不到命令
emcc@emcc-desktop:~/work$ automake --add-missing
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake: no `Makefile.am' found for any configure output
automake: Did you forget AC_CONFIG_FILES([Makefile]) in configure.in?
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log configure configure.in Makefile.am test.c
emcc@emcc-desktop:~/work$ cd autom4te.cache/
emcc@emcc-desktop:~/work/autom4te.cache$ ls
output.0 requests traces.0
emcc@emcc-desktop:~/work/autom4te.cache$ cd ../
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log configure configure.in Makefile.am test.c
emcc@emcc-desktop:~/work$ ls
autom4te.cache autoscan.log config.log config.status configure configure.in configure.scan test.c
emcc@emcc-desktop:~/work$ ./config
bash: ./config: 没有该文件或目录
emcc@emcc-desktop:~/work$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: error: cannot find input file: config.h.in
emcc@emcc-desktop:~/work$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
emcc@emcc-desktop:~/work$