Re: Macro writing

2003-06-05 Thread Mattias Brändström
Hello again! Now I have a revised version of my macro. If anyone have the time to say anything about it it would be greatly appricated! AC_DEFUN([RKC_XERCES], [ AC_ARG_WITH(xerces-prefix, [ --with-xerces-prefix=PFX Prefix where Xerces-C is installed (optional)],

Re: kdelibs build problem: possibly undefined macro: AC_CHECK_MKDTEMP

2003-06-05 Thread Ross Boylan
On Thu, Jun 05, 2003 at 01:33:29PM -0700, Ross Boylan wrote: I am trying to build KDE on a Debian GNU/Linux testing system (build from cvs head). I keep running into problems that I think are related the versions of the auto* tools I'm using. Do I need particular versions of autoconf to

Macro writing

2003-06-05 Thread Mattias Brändström
Hello! I just starting out to use autoconf and automake. Now I have written a small macro that checks for the existance of xerces-c on my system. I was someone on this list could give me some feedback on it. =) This is the macro: AC_DEFUN([RKC_XERCES], [ AC_LANG_PUSH([C++]) AC_MSG_CHECKING([for

Library path with AC_CHECK_LIB

2003-06-05 Thread Bill Moseley
I was building our package on a Solaris 2.6 machine and ended up with: ld: fatal: library -lz: not found On this machine libz is in /usr/local/lib. Running truss shows: open(/usr/ccs/lib/libz.so, O_RDONLY) Err#2 ENOENT open(/usr/ccs/lib/libz.a, O_RDONLY) Err#2 ENOENT