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
--------
Makefile.acCode:#include<stdio.h> main() { printf("hi\n"); }
--------------
following steps i followed to create configure and Makefile.inCode:bin_PROGRAMS = hello hello_SOURCES = hello.c
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



LinkBack URL
About LinkBacks


