makefile.am from --with-package option

2006-01-03 Thread Matt Hull
not sure if i sould post on autoconf or automake... sorry if i posted wrong. working on a hello world program. it has the option to use gtk 1.2 or gtk 2.0 or nothing. i think i got configure.in working, now i need to edit makefile.am. if there the user selected --without-gtk, how do i edit the

Re: Distributing directory with software

2006-01-03 Thread Tim Van Holder
Paulo Jorge Matos wrote: > Hi all, > > I wish to distribute a directory with a lot of subdirectories with my > project. I have: > project > - bench > - src > > the src is being distributed already since it contains sources but > the bench directory contains a bunch of text files which sh

Re: How to make a 'pthread' program ?

2006-01-03 Thread Ralf Wildenhues
* steven woody wrote on Tue, Jan 03, 2006 at 12:17:15PM CET: > On 1/3/06, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > > On Tue, 3 Jan 2006, Steven Woody wrote: [ -pthread ] > > > > The Autoconf macro archive includes a macro for determining the > > correct options to use in a platform-independent

Re: Distributing directory with software

2006-01-03 Thread Ralf Wildenhues
Hi Paulo, * Paulo Jorge Matos wrote on Tue, Jan 03, 2006 at 11:12:04AM CET: > > I wish to distribute a directory with a lot of subdirectories with my > project. *snip* > How can I say, distribute all the directory including subdirs. Just been discussed here: http://lists.gnu.org/archive/html/au

Re: Distributing directory with software

2006-01-03 Thread Stepan Kasal
Hello, On Tue, Jan 03, 2006 at 10:12:04AM +, Paulo Jorge Matos wrote: > [...] How can I say, distribute all the directory including subdirs. Quoting the Automake manual, node "Dist": You can also mention a directory in `EXTRA_DIST'; in this case the entire directory will be recursively cop

Re: How to make a 'pthread' program ?

2006-01-03 Thread steven woody
On 1/3/06, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > On Tue, 3 Jan 2006, Steven Woody wrote: > > > on linux, simplly adding a '-pthread' option to the command line gcc, i can > > make a multi-thread c program. but if using automake, i only got many > > undefined reference to pthread_xxx errors.

Distributing directory with software

2006-01-03 Thread Paulo Jorge Matos
Hi all, I wish to distribute a directory with a lot of subdirectories with my project. I have: project - bench - src the src is being distributed already since it contains sources but the bench directory contains a bunch of text files which should be distributed. bench has a lot of subdi