Re: Check for global symbol

2011-01-26 Thread tom fogal
Sergio Belkin seb...@gmail.com writes: Hi, Is there a way to check is a library function is global? AC_TRY_COMPILE(..., [extern rettype funcname(args);], [funcname(...);] ) ? ___ Autoconf mailing list Autoconf@gnu.org

Re: Check for global symbol

2011-01-26 Thread tom fogal
Please keep mailing list topics on.. the mailing list :) -tom Sergio Belkin seb...@gmail.com writes: 2011/1/26 tom fogal tfo...@sci.utah.edu: AC_TRY_COMPILE Thanks, I forgot to say that I'd want to check if the symbol ig global and is in the text code. How can I do

Re: Bison

2011-01-11 Thread tom fogal
Russell Shaw wrote: How can i get autoconf to use bison? The problem with yacc is that you can't rename the output files and always get: y.tab.h y.tab.c Is there a way i can get yacc to give better output file names like myproj.tab.h myproj.tab.c ? Is this really an autoconf question? Seems

reasons for / against AC_CONFIG_SUBDIRS ?

2005-10-19 Thread tom fogal
Hi all, I'm looking for some general auto* advice on bundling multiple packages together. We have a growing selection of utilities of special purpose interest to people within my group and maybe a select few other parties doing similar things. The majority of these utilities are already

Re: Mac OS X library path woes / issues / complaints

2005-07-28 Thread tom fogal
[EMAIL PROTECTED]Bob Friesenhahn writes: On Wed, 27 Jul 2005, Noah Misch wrote: On Tue, Jul 26, 2005 at 02:57:29PM -0400, tom fogal wrote: Of course, the user has the option of specifying LDFLAGS=/opt/local/lib (or whatever) on their ./configure line, and then the configure script finishes

Mac OS X library path woes / issues / complaints

2005-07-26 Thread tom fogal
Hi all, I'm trying to make a project that uses the GNU scientific library, and having trouble getting it to build comfortable on the Mac. The problem is the location of the GSL libraries. When building from source, they are put (appropriately, at least IMHO) in /usr/local/lib. Darwinports puts

Re: how to check callback prototypes?

2005-07-14 Thread tom fogal
[EMAIL PROTECTED]Sam Steingold writes: snip so: how do I turn the warning into a failed compilation? (the result: above should be no, not yes) Well, you could pass -Werror to the compiler, if its gcc. Perhaps you could save CFLAGS, append -Werror, run your test, and then restore the previous

Re: Changing compiler from gcc to mpiCC

2005-06-29 Thread tom fogal
sorry; forgot to CC this to the list. --- Forwarded Message From: tom fogal [EMAIL PROTECTED] To: nithu [EMAIL PROTECTED] Subject: Date: Wed, 29 Jun 2005 20:01:56 -0400 Sender: [EMAIL PROTECTED] [EMAIL PROTECTED]nithu writes: snip But for all the different options of make that i tried i

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

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: Makefile.am question

2005-06-13 Thread tom fogal
I hope others will comment / correct me, I'm somewhat new to the auto* world myself. Also I wonder if this is the appropriate list to ask this type of question? Doesn't automake have a mailing list? anyway... [EMAIL PROTECTED]William Estrada writes: snip is how do I configure Makefile.am? The

testing for library via C++ class

2005-06-10 Thread tom fogal
I can't seem to find the appropriate way to determine if a user has a particular library by trying to link with a class and a class method in that library. There is a certain static function in a library named 'vtkCommon' that I would like to check for. I'd like to have autoconf generate a