automake does not create Makefile.in
I have written a simple C program hello.c and a Makefile.ac but when i try to run automake it does not create Makefile.in hence I am not able to run ./configure command in my directory. Following are the containts of my prog.
following steps i followed to create configure and Makefile.in
bin_PROGRAMS = hello
hello_SOURCES = hello.c
mv configure.scan configure.ac
adding AM_INIT_AUTOMAKE in configure.ac
automake --add-missing --copy
autoconf =================> gives err as no Makefile.in generated.
Could any one let me know what went wrong ?
Thanks in advance,