Manual Example

2006-05-26 Thread Paulo J. Matos
Hi all, In: http://sources.redhat.com/automake/automake.html#Conditionals AC_ARG_ENABLE(debug, [ --enable-debugTurn on debugging], [case "${enableval}" in yes) debug=true ;; no) debug=false ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;; esac]

Re: Manual Example

2006-05-26 Thread Ralf Wildenhues
Hi Paulo, * Paulo J. Matos wrote on Fri, May 26, 2006 at 11:40:31AM CEST: > > AC_ARG_ENABLE(debug, > [ --enable-debugTurn on debugging], > [case "${enableval}" in > yes) debug=true ;; > no) debug=false ;; > *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug)

Re: Manual Example

2006-05-26 Thread Ralf Wildenhues
silly me... * Ralf Wildenhues wrote on Fri, May 26, 2006 at 01:39:04PM CEST: > > AC_ARG_ENABLE([debug], > AS_HELP_STRING([--enable-debug], [Turn on debugging]), instead: [AS_HELP_STRING([--enable-debug], [Turn on debugging])], and with argument: [AS_HELP_STRING([--enable-debug

aclocal 1.9.6 and drive letters

2006-05-26 Thread Andreas Büning
Hello! Some weeks ago I sent a mail to the automake-patches mailing list but it never appeared there. Then I tried the bug-automake mailing list. I checked the mailing list archives on lists.gnu.org my posting never appeared. So I'm trying again on the automake mailing list: I tried to use acloc

How do I make a "-config" script?

2006-05-26 Thread Tyler MacDonald
A lot of packages (libxml2, APR, gnome, etc) come with these "-config" scripts that give you information like includes, libraries, etc... is there some autoconf/automake/other magic i can use to automatically generate one of these for my distribution? Thanks, Tyler

Noobie question about doing "src" dirs

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

Re: Noobie question about doing "src" dirs

2006-05-26 Thread Tyler MacDonald
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

Re: How do I make a "-config" script?

2006-05-26 Thread Ralf Corsepius
On Fri, 2006-05-26 at 13:49 -0700, Tyler MacDonald wrote: > A lot of packages (libxml2, APR, gnome, etc) come with these "-config" > scripts that give you information like includes, libraries, etc... is there > some autoconf/automake/other magic i can use to automatically generate one > of these fo

Re: How do I make a "-config" script?

2006-05-26 Thread Tyler MacDonald
Ralf Corsepius <[EMAIL PROTECTED]> wrote: > > scripts that give you information like includes, libraries, etc... is there > > some autoconf/automake/other magic i can use to automatically generate one > > of these for my distribution? > Nope. Such *-config scripts are ordinary, manually written > a