On Wed, 31 May 2006, Stepan Kasal wrote:
Hello,
On Wed, May 31, 2006 at 12:14:28PM -0700, Douglas Phillipson wrote:
The autoconf tutorial states that either a configure.ac or a
configure.in can be used initially. What is the difference and why
would you use the configure.ac over the configure
Hello,
On Wed, May 31, 2006 at 12:27:42PM -0700, Douglas Phillipson wrote:
> You no longer need these anymore??
>
> AC_INIT(src/hello.c)
> AM_INIT_AUTOMAKE(hello,1.1)
> AC_PROG_CC
> AC_PROG_INSTALL
Of course you do. We were not just speaking about the tail of
configure.ac; you start with AC_INI
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_
Hi,
On Wed, May 31, 2006 at 07:21:34PM +, Harlan Stenn wrote:
> I prefer:
>
> AC_CONFIG_FILES(Makefile)
> AC_CONFIG_FILES(src/Makefile)
> AC_OUTPUT
others prefer
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT
Stepan
Hello,
On Wed, May 31, 2006 at 12:14:28PM -0700, Douglas Phillipson wrote:
> The autoconf tutorial states that either a configure.ac or a
> configure.in can be used initially. What is the difference and why
> would you use the configure.ac over the configure.in?
the only difference is that con
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
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 wrong?
Everything else look
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 wrong?
Everything else look
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 wrong?
Everything else looks good!
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 contain?
Yo
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 contain?
You do ne
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
12 matches
Mail list logo