hi all,
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.
hello.c
--------
Code:
#include<stdio.h>
main()
{
printf("hi\n");
}
Makefile.ac
--------------
Code:
bin_PROGRAMS = hello
hello_SOURCES = hello.c
following steps i followed to create configure and Makefile.in
autoscan
mv configure.scan configure.ac
autoheader
adding AM_INIT_AUTOMAKE in configure.ac
aclocal
automake --add-missing --copy
autoconf =================> gives err as no Makefile.in generated.
Could any one let me know what went wrong ?
Thanks in advance,
Ravi