1autoscan src	configure.scanļ

2mv configure.scan configure.in

3༭configure.inAC_INIT(hello.c)֮һУAM_INIT_AUTOMAKE(hello,1.0)ʾΪhello汾Ϊ1.0makeִmake distһΪ hello-1.0.tar.gzԴǱȽϸGNUԴ׼ĸʽһAC_OUTPUT()мMakefileʾMakefileļconfigure.inļл궨壬ϸ÷Բοautobookһ飩˱༭configure.inļ

4aclocal	aclocal.m4ļ

5autoconf	configure shellִнű

6༭Makefile.amļ,£


AUTOMAKE_OPTIONS = foreign
INCLUDES = `pkg-config --cflags gtk+-2.0`
LIBS = `pkg-config --libs gtk+-2.0`
bin_PROGRAMS = hello
hello_SOURCES = hello.c


˵һΪAUTOMAKEĲʾΪⲿģGNU׼(˵װļ¼ļ) ڶбʾļĿ¼бʾ̬ӿĿ¼ҪӵĿ⣻бʾĿִļһбʾִļԴļжļ

7ִautomake --add-missing --copyʾMakefile.inļʧļͬʱƹĬӣڲͬļϵͳ⣩˲ɡ
