"make distcheck" with a cross compiler

2006-05-25 Thread Douglas Phillipson
I'm new to autoconf, I'll let you know that right up front. It's a wonderful build system and I can see it's going to save me tons of time and effort. I've built my first project with it and it works fine, even with my cross compiler to "ARM", but I can't seem to do a "distcheck" of course be

AC_CONFIG_FILES or AC_OUTPUT

2006-05-26 Thread Douglas Phillipson
I see tutorials where Makefiles come from both: AC_CONFIG_FILES([Makefile]) AC_OUTPUT And AC_OUTPUT([Makefile]) Which is the "proper" format? Is one method just newer than the other? Thanks Doug P ___ Autoconf mailing list Autoconf@gnu.org http

Building a 2.6 device driver with GNU Build system

2006-05-30 Thread Douglas Phillipson
I there a Tutorial available that might help me put some 2.6 Kernel device driver code under the GNU Build system? I have successfully done some regular code, even cross compiled to ARM, but I'm under the impression that the you have to use the "Kernel build" system for device drivers. How do

Re: Noobie question about doing "src" dirs

2006-05-31 Thread Douglas Phillipson
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

Re: Noobie question about doing "src" dirs

2006-05-31 Thread Douglas Phillipson
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

Re: Noobie question about doing "src" dirs

2006-05-31 Thread Douglas Phillipson
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

Re: Noobie question about doing "src" dirs

2006-05-31 Thread Douglas Phillipson
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_

Re: Where is the proper place to include my include files

2006-06-15 Thread Douglas Phillipson
Stepan Kasal wrote: Hello, On Thu, Jun 15, 2006 at 11:23:37AM -0700, Douglas Phillipson wrote: Where is the proper place to get Automake/Autoconf to track my include files when creating a distribution? I'm not sure I understand the question: what is "your" include file

Noobie question about building libraries: catch 22

2006-07-18 Thread Douglas Phillipson
I'm wanting to build a library as part of my application, but since configure wants to detect my library with the AC_CHECK_LIB I have in the configure.ac, but can't because it's not built yet, how do I do this? Here is my configure.ac: AC_INIT(src/SysScheduler.c) AM_INIT_AUTOMAKE(sScheduler,0

Noobie question

2006-09-21 Thread Douglas Phillipson
I'm not sure if this is an automake or autoconf question. How do you get the GNU build system to install a file in a specific location. I.E. I want to install a config file in /etc when I do a make install. I understand that you use EXTRA_DIST for the build system to include an additional f