Re: AC_OBJEXT revisited

2000-12-19 Thread Akim Demaille
Hi Lars! | With Autoconf fresh from CVS, two problems occur with the | OBJEXT test. | | 1) The "test -s conftest.$ac_objext" part of _AC_COMPILE_IFELSE |fails because $ac_objext is invalid before the objext test is |performed. This makes configure go the "cannot compute OBJEXT" |ro

Re: configure.ac

2000-12-19 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Dec 15, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> Sure `configure.in' can be reserved for Autoconf only, but adding >> support for `configure.ac' seems good anyway. Alexandre> I like it. But I'm not sure whet

Re: AC_OBJEXT revisited

2000-12-19 Thread Ralf Corsepius
Akim Demaille wrote: > > Hi Lars! > > > | 2) A "conftest.exe" file is left in $builddir from a previous > |configure run, causing $ac_objext to be detected as .exe. > > Arg again, thanks for pointing this out. > > |`ls' doesn't list the files in the same order as they are > |writt

Re: AC_OBJEXT revisited

2000-12-19 Thread Akim Demaille
| > What kind of ls is that??? | > | # ls | . .. conftest conftest.exe conftest.obj | | # ls conftest.exe conftest conftest* | conftest conftest conftest.exe conftest.exe conftest.obj | | # ls --version | ls (GNU fileutils) 4.0 | | # uname -s -m -r | Linux 2.2.18-SMP i686 You learn e

Re: default configure arguments

2000-12-19 Thread Akim Demaille
| I would like to store default configure arguments in a separate file | in the source tree (so I can erase the build tree without losing the | configure arguments). | | How is this done best? | | AC_INIT... | AC_CONFIG_HEADER... | | if test -e "$srcdir/configure_args"; then | ac_a

Re: CVS Autotools

2000-12-19 Thread Akim Demaille
> "Raja" == Raja R Harinath <[EMAIL PROTECTED]> writes: Raja> Hi, Akim Demaille <[EMAIL PROTECTED]> writes: >> I'm happy to say that running the test suites of both Libtools and >> of Automake with CVS Autoconf works fine. Raja> The following simple configure.in seems to be causing problems,

Re: default configure arguments

2000-12-19 Thread Mirar
Akim Demaille <[EMAIL PROTECTED]> writes: > | I would like to store default configure arguments in a separate file > | in the source tree (so I can erase the build tree without losing the > | configure arguments). > | > | How is this done best? > | > | AC_INIT... > | AC_CONFIG_HEADER... > |

Re: AC_OBJEXT revisited

2000-12-19 Thread Lars J. Aas
On Tue, Dec 19, 2000 at 09:33:40AM +0100, Akim Demaille wrote: : Hi Lars! Hi Akim, : |`ls' doesn't list the files in the same order as they are : |written on the command line, causing the priority list to go : |bonkers, making the .exe file appear before the .obj file. : : What kind

Re: AC_OBJEXT revisited

2000-12-19 Thread Lars J. Aas
On Tue, Dec 19, 2000 at 09:33:40AM +0100, Akim Demaille wrote: : | 2) A "conftest.exe" file is left in $builddir from a previous : |configure run, causing $ac_objext to be detected as .exe. I meant "configure test", not "configure run" here - the .exe file comes from the same run. Lars J -

Re: AC_OBJEXT revisited

2000-12-19 Thread Earnie Boyd
--- "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > > BTW, in the EXEEXT test, you need to separate the ls into three ls-commands, > because > `ls conftest.exe conftest' will swap the results as you saw from Ralf's > example. > How portable is `ls -U conftest.exe conftest'? Cheers, = Earnie Bo

Re: AC_OBJEXT revisited

2000-12-19 Thread Lars J. Aas
On Tue, Dec 19, 2000 at 06:44:37AM -0800, Earnie Boyd wrote: : --- "Lars J. Aas" <[EMAIL PROTECTED]> wrote: : > : > BTW, in the EXEEXT test, you need to separate the ls into three ls-commands, : > because : > `ls conftest.exe conftest' will swap the results as you saw from Ralf's : > example. : >

Re: AC_OBJEXT revisited

2000-12-19 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> BTW, in the EXEEXT test, you need to separate the ls into three Lars> ls-commands, because `ls conftest.exe conftest' will swap the Lars> results as you saw from Ralf's example. May I ask you to adjust CVS Autoconf? You know better th

Re: AC_OBJEXT revisited

2000-12-19 Thread Lars Hecking
> How portable is `ls -U conftest.exe conftest'? $ /bin/ls -U /bin/ls: illegal option -- U $ This covers Solaris, DU 4.0, IRIX 6.3, HP-UX 10.20. Want more?

RE: AC_OBJEXT revisited

2000-12-19 Thread Bernard Dautrevaux
> -Original Message- > From: Earnie Boyd [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 19, 2000 3:45 PM > To: Lars J. Aas; Akim Demaille > Cc: Autoconf List > Subject: Re: AC_OBJEXT revisited > > > --- "Lars J. Aas" <[EMAIL PROTECTED]> wrote: > > > > BTW, in the EXEEXT test, you

Re: CVS Autotools

2000-12-19 Thread Raja R Harinath
Akim Demaille <[EMAIL PROTECTED]> writes: > > "Raja" == Raja R Harinath <[EMAIL PROTECTED]> writes: > Raja> Hi, Akim Demaille <[EMAIL PROTECTED]> writes: > >> I'm happy to say that running the test suites of both Libtools and > >> of Automake with CVS Autoconf works fine. > > Raja> The follow

Re: CVS Autotools

2000-12-19 Thread Akim Demaille
> "Raja" == Raja R Harinath <[EMAIL PROTECTED]> writes: Raja> OK. But, this problem isn't due to the redefining. I can Raja> repeat it with Raja> AC_INIT AC_PROG_CXXCPP AC_OUTPUT Ah ah! Thanks!

autoconf, sendmail, and pthreads

2000-12-19 Thread Lars Hecking
Hi all, Before I start hacking, has anyone written a set of autoconf tests, or possibly a macro, to find all files required for sendmail filters that use libmilter? This stuff requires threading libraries (pthreads - POSIX?), so there may be some hidden nastiness wrt different implementatio

Re: autoconf, sendmail, and pthreads

2000-12-19 Thread rssh
On Tue, 19 Dec 2000, Lars Hecking wrote: > > Hi all, > > Before I start hacking, has anyone written a set of autoconf tests, or > possibly a macro, to find all files required for sendmail filters that > use libmilter? This stuff requires threading libraries (pthreads - POSIX?), > so there m