autoconf Questions
5
Solved
how can I tell configure to check for version >= x.y of a given Haskell package?
Thanks,
2
Solved
Let's say I want to have the generate makefile pass some specific header paths to g++.
What do I need to add to configure.ac or Makefile.am to specify this?
(note - I do not want to pass it in th...
1
Solved
Creating bin program is really easy using autotools I need to just define two files.
`Makefile.am'
bin_PROGRAMS = hello
hello_SOURCES = hello.c
`configure.in'
AC_INIT(hello.c)
AM_INIT_AUTOMAK...
9
Solved
I'm a very frequent user of the GNU Autotools (mostly Autoconf, occasionally Libtool). I'm working on a project where portability is going to be a sticking point.. Yet, the rest of the team i...
1
Solved
I've got a large project on my hand (master) that is split into several components (liba, b, c, d) to ease building and maintenance. When building the whole package, all of the subcomponents must b...
Dignitary asked 26/9, 2011 at 9:2
1
Solved
Is there a way to set where autoconf generates the object files. I would like to have autoconf create all object files in a src/build/ instead of src/
I've tried setting VPATH but that doesn't see...
1
Solved
My project requires dependency of libxml2 am using autotools to check the dependencies & install the same. I declare the dependency of using the following macro in configure.ac
echo -n "check...
3
Solved
I have a data directory which I would like automake to generate install and uninstall targets for. Essentially, I just want to copy this directory verbatim to the DATA directory, Normally, I might ...
Murdoch asked 18/6, 2011 at 9:41
1
Solved
With Make, I do something like
generated.c: input.txt generator
./generator input.txt > generated.c
How would I get equivalent functionality out of autotools? (removing generated.c on cleani...
3
Solved
I am having a bear of a time getting autoconf to check for the presence of a particular header file.
Let's call the header dependency "inky.h", and let's say that inky is a library that was instal...
1
Solved
I want to make a shared library with autoconf. However, I want the shared library to have a ".so" extension and not to begin with "lib". Basically, I want to make a plug-in that will get loaded wit...
3
I need to conditionally compile some code based on the presence of a library. Seems like this should be easy with autoconf/automake but I can't figure it out.
For example, if there is a PNG librar...
4
Solved
I want my code to compile with the Intel compiler(s) or with gcc/g++ depending on a configure argument. Is this possible? What do I need to put in my configure.ac and Makefile.am files to make this...
3
Solved
I'm relatively new to using Autoconf and so far I've only used PKG_CHECK_MODULES and that's worked for me. I've come across a package, specifically the Debian libmhash-dev v0.9.9.9-1, that doesn't ...
Soracco asked 15/2, 2011 at 9:41
1
Solved
I am having trouble with compiling one of the open source libraries (libopekele OpenID lib).
The problem is I don't have sudo access on the system where I need to compile this.
Ran the configure....
2
Solved
It seems that some autoconf projects use a configure.in file to generate a configure script, and some use configure.ac.
What is the difference/advantage between using one or the other?
1
Solved
When I run ./configure sometimes it decides that it's too old and re-runs autoconf through missing script to regenerate itself. Sometimes it leads to weird breakages since autoconf on
the target ma...
2
Is it possible to use gcc precompiled headers in projects using automake / libtool?
Adding new make rules to build precompiled headers is not difficult. The issue is that you also have to add comp...
Toul asked 3/9, 2009 at 9:57
1
Solved
I have seen both in different things I have configured. What I the difference? Is it notable to use only one? Or does it not matter which one to use?
4
Solved
I have a set of cpp files that I want to compile directly into a binary and also to compile into a shared library.
I have
bin_PROGRAMS=mybin
lib_LTLIBRARIES=libmylib.la
COMMON_SOURCES=f1.cpp f2...
3
Solved
I would like the executables for a project I am working on to have the latest mercurial changeset recorded so that when a user complains about buggy behavior, I can track which version they are usi...
3
Solved
I am making a project that uses Autoconf. I have the following in configure.ac:
AC_CHECK_HEADERS([boost/foreach.hpp], [],
[AC_MSG_ERROR(You need the Boost libraries.)])
When I run configure, it...
3
Solved
I'm trying to convert libcsv to use libtool so I can use it on mac os x without mangling the makefile. When I try to run the makefile generated from the tools I get the following error:
~/software...
3
Solved
What is the best way to auto detect library dependencies in a C/C++ project?
I have a project where I have all the dependencies on the machine. It builds and runs. Now I want to put together a aut...
3
I just want to develop a C app in linux with the auto(make/conf/...) stuff automatically generated. I tried generating it with ede and anjuta, but it doesn't seem to generate Makefile.am. So, I tri...
© 2022 - 2024 — McMap. All rights reserved.