newby question: to use or not to use ?

2007-07-05 Thread Joao Miguel Ferreira
Hello all, I'm a beginner new on this list searching for enlightnment on the usage of Autoconf (and friends). I've just arrived to a new project were we have to maintain (debug, upgrade, new features, etc) a certain amount of software which must be executed (mostlly dynamic loaded libraries .so)

Re: newby question: to use or not to use ?

2007-07-09 Thread Joao Miguel Ferreira
On Sat, 2007-07-07 at 12:36 +0200, Benoit SIGOURE wrote: > On Jul 7, 2007, at 10:11 AM, Baurzhan Ismagulov wrote: > > Hello Benoit, Baurzhan, Cristoph, ... all Thanks a lot for your comments. I'm starting to test and use Autotools in order to get a better inside knowledge. One more question: i

Re: newby question: to use or not to use ?

2007-07-09 Thread Joao Miguel Ferreira
On Sat, 2007-07-07 at 10:11 +0200, Baurzhan Ismagulov wrote: > On Thu, Jul 05, 2007 at 03:30:31PM +0100, Joao Miguel Ferreira wrote: Hello Benoit, Baurzhan, Cristoph, ... all Thanks a lot for your comments. I'm starting to test and use Autotools in order to get a better inside knowledge

beginner problem in Solaris

2007-07-16 Thread Joao Miguel Ferreira
Hello all, I'm tryng to compile my first helloworld LIB with Autotools. I need to work in Linux, HP-UX and Solaris. I have compiled a very simple hello worl application and it works on 3 platforms. Now I've writen a simple LIB to print out Hello in 3 diferent languages. It works great on Linux a

Re: beginner problem in Solaris

2007-07-16 Thread Joao Miguel Ferreira
On Mon, 2007-07-16 at 13:16 +0200, Benoit Sigoure wrote: > Quoting Joao Miguel Ferreira <[EMAIL PROTECTED]>: > > Hello all, > > Hello Joao Miguel, > > You're missing `ar'. This program creates archives used for static > libraries. You should review

beginner problem: ./configure can't find my headers in Solaris

2007-07-16 Thread Joao Miguel Ferreira
Hello, another bump in may way through Solaris... it seems the ./configure of my helloworld application does not find the header files of the LIB it needs to work (libbabel and some lang*.h headers) It works just fine on Linux and HP-UX. I'm quite sure the lib is installed and the headers are in

Re: beginner problem: ./configure can't find my headers in Solaris

2007-07-16 Thread Joao Miguel Ferreira
On Mon, 2007-07-16 at 20:43 +0200, Benoit SIGOURE wrote: > Hello Joao Miguel, > Hello Benoit, ... .. . > Well, I don't see why it should work. Maybe some Linux distros chose > to put /usr/local/include in the default include path of their > compiler, but I don't think this is mandatory.

Re: beginner problem in Solaris

2007-07-20 Thread Joao Miguel Ferreira
On Thu, 2007-07-19 at 20:20 +0200, Jason Curl wrote: > Bob Friesenhahn wrote: > > On Mon, 16 Jul 2007, Joao Miguel Ferreira wrote: > >> > >> I can confirm that the problem should be in the "false cru ..." line > >> because all the above stuff gets do

usage of ac_check_header

2007-07-23 Thread Joao Miguel Ferreira
Hello all, I'm not being able to use AC_CHECK_HEADER to check if the my system has some headers installed: I've tried all these approaches: - AC_CHECK_HEADER(xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2]))

Re: usage of ac_check_header

2007-07-24 Thread Joao Miguel Ferreira
Hi Keith, On Mon, 2007-07-23 at 20:55 +0100, Keith Marshall wrote: > Are you sure that your compiler is searching /usr/include, as the > default include path? > > # mkdir -p /usr/include/libxml2/libxml > # touch /usr/include/libxml2/libxml/xpath.h > > $ cat > configure.ac > AC_INIT >

Re: usage of ac_check_header

2007-07-24 Thread Joao Miguel Ferreira
On Tue, 2007-07-24 at 00:25 +0200, Ralf Wildenhues wrote: > Hello Joao, > Hi Ralph, > a small side point regarding M4 quotation: instead of > > * Joao Miguel Ferreira wrote on Mon, Jul 23, 2007 at 10:18:08PM CEST: > > AC_CHECK_HEADER(xpath.h,,AC_MSG_ERROR([cannot fin

Re: usage of ac_check_header

2007-07-26 Thread Joao Miguel Ferreira
le of notes to the configure.ac you posted: > > * Joao Miguel Ferreira wrote on Tue, Jul 24, 2007 at 11:44:28AM CEST: > > AC_INIT([libbabel],[0.4]) > [...] > > > #we need libtool; we need shared libraries; > > AM_PROG_LIBTOOL > > AC_PROG_LIBTOOL > > AC_EN

strange choice of compiler on HP-UX

2007-09-26 Thread Joao Miguel Ferreira
Hello all, On my project we have both C and C++ files to compile. On the first part 'make' compiles C files and builds a lib After that it compiles C++ files and builds another lib. during ./configure it finds: cc for the C compiler part and aCC for the C++ part

Re: strange choice of compiler on HP-UX

2007-09-26 Thread Joao Miguel Ferreira
On Wed, 2007-09-26 at 09:43 -0600, Bob Proulx wrote: > *I* would probably use the following and code in the appropriate > extern C declarations. > > ./configure CC=cc CFLAGS="-Ae -g" CXX=aCC CXXFLAGS="-g" > > But if you simply want to call C files C++ and force using the aCC C++ > compiler fo

list of --host options

2007-10-01 Thread Joao Miguel Ferreira
Hello all, where can I find a list of the currentlly supported --host=myHost options for cross compilation... (linux, hp, sun, cygwin, etc) thank you Joao ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf