After going by the tutorial with all my source in one dir, I understood
all the required files pretty well. Now I'm trying to do a hello world
program where my source files are in "src" off the top level dir.
Automake is telling me I'm missing "src/Makefile.in". Now looking at
the Makefile.in
Tyler MacDonald wrote:
Douglas Phillipson <[EMAIL PROTECTED]> wrote:
SUBDIRS = src
My top level configure.in:
AC_INIT(src/hello.c)
AM_INIT_AUTOMAKE(hello,1.1)
AC_PROG_CC
AC_PROG_INSTALL
AC_OUTPUT(Makefile src/Makefile)
What else needs to go in src? and What should it c
Tyler MacDonald wrote:
Douglas Phillipson <[EMAIL PROTECTED]> wrote:
I have:
Makefile.am:
SUBDIRS = srcbin_PROGRAMS = hello
Those two should not be on the same line :-)
It's creating the Makefile.in in the "src" dir, but not the top level
dir. What Am I doing wro
Tyler MacDonald wrote:
Douglas Phillipson <[EMAIL PROTECTED]> wrote:
I have:
Makefile.am:
SUBDIRS = srcbin_PROGRAMS = hello
Those two should not be on the same line :-)
It's creating the Makefile.in in the "src" dir, but not the top level
dir. What Am I doing wro
Harlan Stenn wrote:
configure.in is the old name, configure.ac is the new name.
I prefer:
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(src/Makefile)
AC_OUTPUT
and run 'autoreconf -vfi'.
H
You no longer need these anymore??
AC_INIT(src/hello.c)
AM_INIT_AUTOMAKE(hello,1.1)
AC_PROG_CC
AC_
I'm a noobie to Autoconf/AutoMake. Where is the proper place to get
Automake/Autoconf to track my include files when creating a distribution?
Should this be done with AC_CHECK_FILE, or is there another mechanism to
track my custom include files?
Thanks
Doug P