$as_cr_alnum exported interface?

2005-01-10 Thread Ralf Wildenhues
In http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00024.html, I proposed a patch against Libtool which makes use of $as_cr_alnum after calling AS_SHELL_SANITIZE (which isn't mentioned in autoconf.texi either, btw). Can we do this? Is it exported interface, and if not: could it be ma

Re: Using $bindir in configure.ac

2005-01-10 Thread Stepan Kasal
Hello, On Sat, Jan 08, 2005 at 11:43:25AM +0100, Magnus Therning wrote: > http://www.gnu.org/software/ac-archive/htmldoc/ac_define_dir.html This code contains the following: ifelse($3, , AC_DEFINE_UNQUOTED($1, "$ac_define_dir"), AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3)) First,

Re: Using $bindir in configure.ac

2005-01-10 Thread Stepan Kasal
Hello, > On Sat, Jan 08, 2005 at 11:43:25AM +0100, Magnus Therning wrote: > > http://www.gnu.org/software/ac-archive/htmldoc/ac_define_dir.html a few minutes ago, I wrote about a problem (the mail is cited below). I noticed another one: the code doesn't handle spaces in path names correctly. S

Re: Using $bindir in configure.ac

2005-01-10 Thread Andreas Schwab
Stepan Kasal <[EMAIL PROTECTED]> writes: > + ac_define_dir=`eval echo "\"[$]$2\""` > + ac_define_dir=`eval echo "\"[$]ac_define_dir\""` In this case the quotes are not necessary because assignments are not word splitted. But it can be further simplified: eval ac_define_dir=\"[$]$2\" eval ac_d

Re: Using $bindir in configure.ac

2005-01-10 Thread Stepan Kasal
Hi, On Mon, Jan 10, 2005 at 04:32:51PM +0100, Andreas Schwab wrote: > Stepan Kasal <[EMAIL PROTECTED]> writes: > > > + ac_define_dir=`eval echo "\"[$]$2\""` > > + ac_define_dir=`eval echo "\"[$]ac_define_dir\""` > > In this case the quotes are not necessary because assignments are not word > s

Re: Using $bindir in configure.ac

2005-01-10 Thread Andreas Schwab
Stepan Kasal <[EMAIL PROTECTED]> writes: > You are right, bu you need to quote more: Yes, I see my error now. Thanks for correcting me. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53

moving the obj files

2005-01-10 Thread Carl Nicol
Is there a simple way to move the output directory of the lib and object files? My existing project tree is Source_Root \src \inc \obj \lib Where the .o and .a files are placed in a directory under source root. So far, I cannot figure out how to change the directory th

Re: moving the obj files

2005-01-10 Thread Bob Friesenhahn
On Mon, 10 Jan 2005, Carl Nicol wrote: Is there a simple way to move the output directory of the lib and object files? Autoconf has nothing to do with building the software so it does not determine the output directory for uninstalled lib and object files. However, Automake *is* responsible for b

Re: $as_cr_alnum exported interface?

2005-01-10 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > In http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00024.html, > I proposed a patch against Libtool which makes use of $as_cr_alnum > after calling AS_SHELL_SANITIZE (which isn't mentioned in autoconf.texi > either, btw). > > Can we do thi

creating temporary files in a secure way

2005-01-10 Thread Bruno Haible
Hi Alexandre, Followup to a discussion from 2004-10-26: I think it's worth describing how to portably create a temporary file. If this had existed in the autoconf documentation, Debian bug #278283 (affecting autopoint and gettextize) would not have existed. I don't see another canonical place wher