Re: how to test for a prototype difference

2014-05-01 Thread Philip Herron
Awh cool thanks for sharing that i couldn't figure out how to do this with something in work. On 1 May 2014 01:51, Eric Blake ebl...@redhat.com wrote: On 04/30/2014 06:12 PM, Thomas Klausner wrote: Hi! I found out that the prototypes for backtrace() and backtrace_symbol() differ on some

Re: flex/bison rebuilding issue

2010-09-09 Thread Philip Herron
On 10 September 2010 03:46, Reuben Hawkins reuben...@gmail.com wrote: Attached is my Makefile.am.  My problem is editing scanner.l or grammar.y doesn't trigger a rebuild of my whole project when *I think* it should...  How do I set dependencies such that editing scanner.l or grammar.y will

Re: zlib

2010-01-05 Thread Philip Herron
On Tue, 2010-01-05 at 19:59 +0100, Ralf Wildenhues wrote: Hello Philip, * Philip Herron wrote on Tue, Jan 05, 2010 at 01:27:32AM CET: I am having trouble finding some macro or something for my configure.ac to for zlib support. I found this so far: http://ac-archive.sourceforge.net/ac

zlib

2010-01-04 Thread Philip Herron
Hey guys I am having trouble finding some macro or something for my configure.ac to for zlib support. I found this so far: http://ac-archive.sourceforge.net/ac-archive/check_zlib.html But this simply adds the option AC_ARG_WITH so zlib is optional but my work needs zlib now so its a little

Config and deploy Config files

2009-09-21 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey guys I found a nice solution for this yet, but i have a project and trying to find the nicest way to build and deploy with a config file, and define the path to the file so as it isn't hard-coded. I know i could just deploy a file with a bash

Re: Check lib on path

2009-08-10 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew W. Nosenko wrote: On Mon, Aug 10, 2009 at 03:44, Philip Herronherron.phi...@googlemail.com wrote: Hey guys I have a project i am using GNU MP and MPFR for, and i am using: ACX_PTHREAD(,AC_MSG_ERROR(could not find libpthread))

Re: Check lib on path

2009-08-10 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew W. Nosenko wrote: On Mon, Aug 10, 2009 at 12:07, Philip Herronherron.phi...@googlemail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew W. Nosenko wrote: On Mon, Aug 10, 2009 at 03:44, Philip

Re: Check lib on path

2009-08-10 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey John Calcote wrote: You really shouldn't be so facetious. :) Even though everyone uses M$ tools, no one really wants to admit what you just stated. All i can say is lol! :) A lot of people recently seem to be using cmake, its awful though,

Re: Explanation in autoconf manual

2009-08-09 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NightStrike wrote: On Sun, Aug 9, 2009 at 7:30 PM, NightStrikenightstr...@gmail.com wrote: On Sun, Aug 9, 2009 at 6:31 AM, santilistaslis...@gestiong.org wrote: In chapter 3, the diagram showing files for configuring and distributing has a line

Check lib on path

2009-08-09 Thread Philip Herron
Hey guys I have a project i am using GNU MP and MPFR for, and i am using: ACX_PTHREAD(,AC_MSG_ERROR(could not find libpthread)) LIBS=${PTHREAD_LIBS} ${LIBS} AM_CFLAGS=${PTHREAD_CFLAGS} ${AM_CFLAGS} CC=$PTHREAD_CC AC_CHECK_LIB([gmp], [__gmpz_init], , [AC_MSG_ERROR([GNU MP not found, see

Re: How can I test if the GNU or Sun linker is used?

2009-08-06 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dr. David Kirkby wrote: When building gcc on Solaris, its possible to built it 4 ways. * Use the Sun linker and Sun assembler * Use the Sun linker and GNU assembler * Use the GNU assembler and Sun linker * Use the GNU linker and GNU assembler.

Re: How to test compiler and create messaged based on version of gcc?

2009-08-05 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Its a shame you haven't had success on building with other compilers you say about gcc 4.0.0 being too buggy, you mean the compiler or your program comes out buggy? If thats the case your definitely going to need to look at your sources in my

Re: What IDEs support autoconf-based projects ?

2009-07-16 Thread Philip Herron
Hey My personal opinion is whats the point. I find if your serious about C/C++ autotools forttran or any language really etc. IDE's are just a waste of time. I use emacs for all my coding and its far superior, and vim is good too if you dont like emacs. IDE's try to do too much for you and

Re: What IDEs support autoconf-based projects ?

2009-07-16 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey John Calcote wrote: In my experience, there is little need for an IDE when writing C/C++ programs, as the standard library is fairly small. Perhaps an IDE is helpful during early learning stages of these languages, but one quickly becomes

Re: configure error

2009-04-30 Thread Philip Herron
Hey What i would do is maby take a look inside his configure.ac to figure out what he is checking for. And maby see why/how to fix it :). Like look for the macro that checks for that specific feature in the shell or otherwise. -Phil 2009/4/30 Joey Mingrone j...@mingrone.org: Hello; I'm

Re: library version number

2009-04-15 Thread Philip Herron
2009/4/15 Ralf Wildenhues ralf.wildenh...@gmx.de: Hello Philip, * Philip Herron wrote on Wed, Apr 15, 2009 at 12:33:31AM CEST: Just wondering it would be nice if i could in my configure.ac check for the library version. You already got answers on how to maybe do that.  Here's one about why

Re: library version number

2009-04-15 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Friesenhahn wrote: On Wed, 15 Apr 2009, Philip Herron wrote: # Checks for libraries. AC_CHECK_LIB([xml2],[xmlTextReaderGetAttribute]) if test $xml2 = no then AC_MSG_ERROR([libxml2 is needed to be installed for ovf xml reading.. Debian

library version number

2009-04-14 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Just wondering it would be nice if i could in my configure.ac check for the library version. For one of the libraries i am use its libxml2 and the only way i know of getting the version number linker flags etc is it comes with its own pkg-config

Re: Bison and flex target

2009-04-08 Thread Philip Herron
this is meant to work. I am not a total guru with bison and flex yet so sorry if this is basic :) - -Phil Philip Herron wrote: Ralf Wildenhues wrote: Hello Philip, * Philip Herron wrote on Fri, Apr 03, 2009 at 02:51:50PM CEST: I am not sure if this is autoconf or automake. If you use Automake

Bison and flex target

2009-04-03 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey I am not sure if this is autoconf or automake. But i have a project and i have bison/yacc and lex/flex targets to compile. I see there is AC_PROG_YACC and AC_PROG_LEX to get the apropriate programs for the configure.ac. But how do you go about

Re: Bison and flex target

2009-04-03 Thread Philip Herron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: Hello Philip, * Philip Herron wrote on Fri, Apr 03, 2009 at 02:51:50PM CEST: I am not sure if this is autoconf or automake. If you use Automake, then this is an Automake question. :-) I see there is AC_PROG_YACC

include paths and doxygen

2009-03-23 Thread Philip Herron
Hey This is my first post to this mailing list :). I love autoconf but still quite new to it. But wondering if your doing something like: AC_CHECK_LIB([xml2], [xmlTextReaderGetAttribute]) This will return me the -lxml2 for linking the library but the include path is different i need to do