autoconf Questions

5

Solved

how can I tell configure to check for version >= x.y of a given Haskell package? Thanks,
Incommunicado asked 4/10, 2011 at 9:29

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...
Baxley asked 19/9, 2011 at 7:58

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...
Burgonet asked 28/9, 2011 at 11:43

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...
Amphitropous asked 1/3, 2009 at 18:52

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...
Proudhon asked 22/8, 2011 at 22:35

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...
Clinkscales asked 20/7, 2011 at 7:29

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...
Pogrom asked 8/6, 2011 at 20:35

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...
Aureus asked 25/5, 2011 at 18:21

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...
Delastre asked 15/4, 2011 at 2:8

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...
Islean asked 3/3, 2011 at 5:13

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...
Gatewood asked 14/8, 2009 at 21:56

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....
Tiffanietiffanle asked 9/2, 2011 at 3:15

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?
Preconcert asked 27/1, 2011 at 18:2

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...
Hay asked 5/11, 2010 at 3:18

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...

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?
Cultivable asked 23/9, 2010 at 22:34

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...
Connor asked 30/8, 2010 at 21:15

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...
Scarlettscarp asked 29/8, 2010 at 0:6

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...
Autograph asked 21/6, 2010 at 19:58

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...
Popper asked 2/7, 2010 at 10:14

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...
Zip asked 20/10, 2009 at 18:39

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...
Soddy asked 11/5, 2010 at 3:34

© 2022 - 2024 — McMap. All rights reserved.