Re: architecture tests

2005-06-23 Thread Ralf Wildenhues
Hi Tom, * tom fogal wrote on Wed, Jun 22, 2005 at 11:09:22PM CEST: Hi all, I'm just wondering how I find out what architecture a particular user is on? I'm trying to write a macro to search for a particular library, and since it uses 'find' under the hood to search for a .so file, things

Re: architecture tests

2005-06-23 Thread tom fogal
[EMAIL PROTECTED]Ralf Wildenhues writes: * tom fogal wrote on Wed, Jun 22, 2005 at 11:09:22PM CEST: Hi all, I'm just wondering how I find out what architecture a particular user is on? I'm trying to write a macro to search for a particular library, and since it uses 'find' under the hood to

Re: architecture tests

2005-06-23 Thread Ralf Wildenhues
Hi Tom, * tom fogal wrote on Thu, Jun 23, 2005 at 07:11:20PM CEST: [EMAIL PROTECTED]Ralf Wildenhues writes: Ouch. Don't do that (use `find' to look for a library). That is about as unreliable as I can imagine -- you have no idea whether that library belongs to the system/arch in question

architecture tests

2005-06-22 Thread tom fogal
Hi all, I'm just wondering how I find out what architecture a particular user is on? I'm trying to write a macro to search for a particular library, and since it uses 'find' under the hood to search for a .so file, things break when trying on OS X (where I need to change it to search for .dylib)

Re: architecture tests

2005-06-22 Thread Erik de Castro Lopo
tom fogal wrote: Hi all, I'm just wondering how I find out what architecture a particular user is on? The predefined macro: AC_CANONICAL_TARGET([]) will probably do what you want. Read the docs. Erik -- +---+ Erik de Castro Lopo