Checking for libraries

2001-01-25 Thread Stephen Torri
I want to check for the existence of a library not just a function of the library as AC_CHECK_HEADERS does. Is there a way to do it? Stephen -- Buyer's Guide for a Operating System: Don't care to know: Mac Don't mind knowing but not too much: Windows Hit me! I can take it!: Linux

Re: Checking for libraries

2001-01-26 Thread Stephen Torri
On 26 Jan 2001, Alexandre Oliva wrote: > On Jan 25, 2001, Stephen Torri <[EMAIL PROTECTED]> wrote: > > > I want to check for the existence of a library not just a function of the > > library as AC_CHECK_HEADERS does. Is there a way to do it? > > How about AC_CHECK_

Problem detecting libraries.

2001-01-26 Thread Stephen Torri
Here is the output from autoconf (v2.19) and (v2.49d). I am sure I am probably got something wrong so I include both complete config.log files. I am sorry if its too long but if there is an common practice for making requests for help let me know. Stephen --- configure.in ---

aclocal & AM_GNU_GETTEXT

2001-03-10 Thread Stephen Torri
I have the latest CVS version of autoconf, 2.94d. I am trying to compile fetchmail-5.7.2. Now the error I am getting is: aclocal: configure.in: 76: macro `AM_GNU_GETTEXT' not found in library. Is this define somewhere? I downloaded and install the CVS version of automake 1.4e. The macro is calle

RE: aclocal & AM_GNU_GETTEXT

2001-03-10 Thread Stephen Torri
On Sat, 10 Mar 2001, Tim Van Holder wrote: > > aclocal: configure.in: 76: macro `AM_GNU_GETTEXT' not found in library. > > > > Is this define somewhere? I downloaded and install the CVS version of > > automake 1.4e. The macro is called from configure.in file. > > This is normally in a file called

possibly undefined macro: dnl

2001-08-07 Thread Stephen Torri
Is there any reason why an error message saying "possibly undefined macro: dnl" would occur? Is it something simple like a missing bracket? Need hints or solutions of what to look for in the either the configure.in file or the m4 files. Stephen

Re: possibly undefined macro: dnl

2001-08-07 Thread Stephen Torri
On 7 Aug 2001, Alexandre Duret-Lutz wrote: > Too much quoting, I'd say. > > The last time I have seen this error I had mispelled > AC_CACHE_CHECK([a], [b], [... dnl ...]) > into > QC_CACHE_CHECK([a], [b], [... dnl ...]) > While the first case is evaluated by m4 as expected, > the second is si

AC_LIBTOOL_CXX

2001-08-07 Thread Stephen Torri
I am working on the configure.in file for the ACE+TAO library which is written in C++. Since its a C++ library the developers are using libtool. As part of the configure file is the following used to make libtool work with g++: CC="$CXX" AC_PROG_LIBTOOL AC_LIBTOOL_CXX LIBTOOL="$LIBTOOL --tag=CXX"

Portable method to change sysconfdir

2008-02-05 Thread Stephen Torri
I am looking for a portable method that will allow me to change the location of files installed into the sysconfir ($prefix/etc). Right now my Makefile.am contains: dist_sysconf_DATA = \ db_config.xml \ file_config.xml \ memory_config.xml I want to install them to a named

Problems with missing template

2002-09-08 Thread Stephen Torri
I am trying to update the xine project library automake/autoconf system to use autoconf-2.52 or above. In the m4 functions it has a function called AC_CHECK_IP_MREQN defined below: dnl AC_CHECK_IP_MREQN dnl check for struct ip_mreqn in netinet/in.h AC_DEFUN([AC_CHECK_IP_MREQN], [AC_CACHE

Missing template problem

2002-09-22 Thread Stephen Torri
If I have a AC_DEFINE instead an if statement it is not getting seen by autoheader. Here is the code: AC_DEFUN(BASH_CHECK_GETPW_FUNCS, [AC_MSG_CHECKING(whether programs are able to redeclare getpw functions) AC_CACHE_VAL(bash_cv_can_redecl_getpw, [AC_TRY_COMPILE([#include #include extern struct

Build problems for m4 target with make distcheck

2002-09-29 Thread Stephen Torri
Automake-2.54 Automake-1.6.3 When I can configure and compile a project that I am working on the automake and autoconf files. When I run "make -j4" it works fine. But when I try to do "make distcheck" I get back: config.status: creating po/POTFILES config.status: creating po/Makefile config.stat

Re: Build problems for m4 target with make distcheck

2002-09-30 Thread Stephen Torri
On Mon, 2002-09-30 at 22:59, Tom Tromey wrote: > `distcheck' will unpack your new tarball and try to configure and > build it. Look in the unpacked directory. Is the `m4' subdirectory > there? Yes. > If not, did you perhaps forget `SUBDIRS = m4'? No. Its the second item in the list. > Tha

Re: Way to install only shared libraries

2003-05-30 Thread Stephen Torri
On Thu, 2003-05-29 at 16:14, Assar Westerlund wrote: > Stephen Torri <[EMAIL PROTECTED]> writes: > > I am on a project that would like to only install shared library files > > (.so) but not the .la files. I tried to put AC_DISABLED_STATIC and then > > AM_DISABLED_STAT

Re: Way to install only shared libraries

2003-05-30 Thread Stephen Torri
On Thu, 2003-05-29 at 16:51, Assar Westerlund wrote: > Stephen Torri <[EMAIL PROTECTED]> writes: > > > c) add an option to libtool to not install the .la file and then have > > > you Makefile.am use that. > > > > Option C looks better. What did you have

Way to install only shared libraries

2003-05-30 Thread Stephen Torri
I am on a project that would like to only install shared library files (.so) but not the .la files. I tried to put AC_DISABLED_STATIC and then AM_DISABLED_STATIC into the configure to do this. Neither declaration worked. Is there a method for doing what we want? Stephen -- Stephen Torri <[EM