1. Remove all Makefile
2.
autoscan
mv configure.scan configure.ac
3.
vim configure.ac
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) –> AC_INIT(pippo, 2.6, paperino@staff.pippo.org)
4.
autoconf
This produces one files: configure
5.
vim Makefile.am
6.
vim configure.ac
check –> AM_INIT_AUTOMAKE(pippo, 2.6) & AC_OUTPUT(Makefile src/Makefile)
7.
aclocal
Reference:
1. A tutorial for porting to autoconf & automake
0 意見:
張貼留言