Questions tagged [autotools]

Autotools is a suite of programming tools (mainly autoconf, automake, and libtool) designed to assist in making source-code packages portable to many Unix-like systems.

Consider adding one of the more specific tags below to a question.

Related tags:

1517 questions
0
votes
1 answer

Autoconf Standardized Configure Target Namings

Is there a way to automatically lookup the standardized target namings such as i686-pc-linux-gnu I typically want to feed as argument to the configure flag --exec-prefix in platform-specific builds? I've seen ./configure && make && make installs…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

Using doxygen macros with autoconf

I'm trying to use doxygen to document my project's source code, and I'm using autotools for the build system. I've downloaded the ax_prog_doxygen.m4 macro from the autoconf-archive repository, made the changes to aminclude.am and made sure to call…
Adam M-W
  • 3,509
  • 9
  • 49
  • 69
0
votes
1 answer

Using autotools build system / Building in a separate 'build' directory

I'm creating a software project and I wanted to use autotools to do the makefile and etc. script generation for me, I manually created Makefile.am and configure.in files, and I'm using the autogen.sh script from here. The problem comes when…
Adam M-W
  • 3,509
  • 9
  • 49
  • 69
0
votes
1 answer

Using externally built static libraries with Xcode4

I have a large (thousands of files) product that I am porting to iOS. I have an existing build structure that constructs about 50 static libraries that can then be used by a platform-specific [G]UI. Some of the libraries are 3rd-party tools like…
UncleOp
  • 25
  • 6
0
votes
1 answer

behaviour of autoreconf on source packages

I got a project that has, say 10 directories (as a tarball). I edited the top level Makefile.am so as to exclude from the build, say 5 of the directories. Then I ran autoreconf (Is this really a legal step? After all, I do not have an svn…
Elan
  • 443
  • 5
  • 14
0
votes
1 answer

How to cross-compile libFLAC as a shared library?

I am trying to cross-compile libFLAC for Windows from Linux. Here are the steps I have performed: I downloaded the latest release (1.2.1) and extracted the tarball. I applied a small patch: patch -p0 < my_patch.diff I ran the following command in…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
0
votes
1 answer

Distributing and compiling a C++ program with Boost

I'm writing a C++ program for which I would like to use some functionality from Boost (not just the header-only modules), and which I'm distributing in source form. I'd like it to work on as many operating systems as possible, but take Linux for the…
rwallace
  • 31,405
  • 40
  • 123
  • 242
0
votes
3 answers

Appending directory to pkginclude_header

Is there anyway I can modify the path for pkginclude_ without actually changing the structure of my project? Heres the directory stucture I have. My_Project > include > banana.h apple.h …
bgura
  • 860
  • 15
  • 33
0
votes
2 answers

Is there a standard Autoconf macro for log4cplus?

I am considering using log4cplus in a project built with the GNU Autotools. For other library dependencies (such as boost) I've been able to find reasonable canonical M4 macros to test for those dependencies. After a bit of looking I'm still unable…
phs
  • 10,687
  • 4
  • 58
  • 84
0
votes
1 answer

autotools project - using prefix variable in scripts

Having scripts in autotools project that are using some paths I want to forward prefix that is entered by user during ./configure to those scripts. Lets say I have a bash script that echo file in directory that is set during ./configure. What is the…
Artem
  • 1
0
votes
1 answer

My lib_LTLIBRARIES library links, but check_LTLIBRARIES one does not?

I have a new c++ project built with autoconf, automake and libtool. Functionality is divided up into support libraries and user binaries. There is also a set of unittests binaries which link against these libraries, are built and run at make check…
phs
  • 10,687
  • 4
  • 58
  • 84
0
votes
2 answers

How do I include mysql.h and my_global.h into the Makefile.am?

I'm trying to create a C program that can communicate with MySQL database via these two header files: mysql.h my_global.h MySQL comes with mysql_config script that you can execute to find out where the include files and library files reside in the…
chutsu
  • 13,612
  • 19
  • 65
  • 86
0
votes
1 answer

Make dist doesn't include makefile.in files from subdirectories

I have a Makefile.am file in my source folder and some makefile.in in some subdiretories. Everything works fine but I've noticed that when I do a make dist the tarball doesn't include the makefile.in in the subdirectories. Also because of this, make…
Gabi
  • 13
  • 2
0
votes
1 answer

how to organize configure for plugins

There is application called "runner" located in 'app/bin' directory. And there are a lot of plugin modules that should be located in 'app/bin/modules/' directory. Mainly we are developing plugin modules and running them with "runner", There are no…
0
votes
2 answers

What is the best way to AC_CHECK_LIB a library that has additional external dependencies?

I've written a library that has a dependency on libxml++ and curl and I am having a hard time figuring out how to use AC_CHECK_LIB on my library in another package I've written. The config.log file for the new package indicates that there are…
Beau Simensen
  • 4,558
  • 3
  • 38
  • 55
1 2 3
99
100