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
2 answers

Building full gcc-3.3 on Wheezy

In Wheezy there is a source package for gcc-3.3 which only builds libstdc++5. Close examination shows that building of debian/control (from control.m4) can be modified so that the full package is built, which is my goal (legacy project, needs to be…
Jacek Krysztofik
  • 1,266
  • 1
  • 13
  • 29
0
votes
1 answer

openwrt config, autotools and library

I am using for the first time autotools & Cie and I am lost. I generate about one hundred dynamic libraries in my openwrt environment in differents packages. Later in a binary, I use dlopen + dlsym to use my library. This allow me to use a kind of…
ArthurLambert
  • 749
  • 1
  • 7
  • 30
0
votes
1 answer

autotools extending .PHONY

I'd like to add targets to the .PHONY targets list. However, when I redefine .PHONY in Makefile.am it overrides the previous one in the autogenerated Makefile. I just want to extend it. Is there an elegant way to do this?
Omer Dagan
  • 14,868
  • 16
  • 44
  • 60
0
votes
1 answer

How to use AC_CONFIG_SUBDIRS and separate build and source directories?

I am using autotools to build a large project. I can use AC_CONFIG_SUBDIRS and SUBDIRS to have a master project configure and build subprojects. I can also separate the object files from the source by building a subproject in a separate build…
0
votes
2 answers

Autotools - passing optional profiling library to configure script

I have built and installed a shared library to do some profiling of my projects via code instrumentation, specifically with the -finstrument-functions switch of gcc. It is possible to turn the instrumentation on and off with the compiler switch, and…
Andreas Grapentin
  • 5,499
  • 4
  • 39
  • 57
0
votes
2 answers

automake dependency tracking for nonstandard C++ suffix

how can i force automake to generate dependency tracking for nonstandard C++ suffix files? in particular I mean generating .deps directory file content. I am using libtool as well. Thanks
Anycorn
  • 50,217
  • 42
  • 167
  • 261
0
votes
1 answer

Change settings of autotools C project in Eclipse

I would like to change something in code of an open source program. This is using autotools, so I opened it in eclipse as autotools project. I built project successful, but I don't know how to easy add some code, which using mysql.h and my_global.h.…
Meph-
  • 657
  • 1
  • 8
  • 20
0
votes
0 answers

Automake under linux, executable missing the .out extension.

I'm using autotools (autoconfig and automake) under Linux, but my executables are missing the .out extension. What am I forgetting to do?
gjcamann
  • 621
  • 4
  • 14
0
votes
1 answer

Makefile cannot link share library .la that wrote by C++

Makefile contains .la extension file that create libclamav. libclamav_la_LIBADD = @LIBLTDL@ $(IFACELIBADD) $(LLVMLIBADD) libclamav_internal_utils.la @LIBCLAMAV_LIBS@ @THREAD_LIBS@ @LIBM@ libclamav_la_DEPENDENCIES = @LTDLDEPS@ $(IFACEDEP)…
R.Chatsiri
  • 107
  • 2
  • 11
0
votes
2 answers

Autoreconf better way to find Boost::Date-time

I am trying to compile some code using autotools and am getting stuck when trying to include boost::date-time and boost::regex. I was given an configure.in file that defines that looks for boost::date-time this…
madtowneast
  • 2,350
  • 3
  • 22
  • 31
0
votes
1 answer

How to encapsulate the autotools' macro definitions?

In the autoconf manual, it is noted that AC_INIT (package, version, [bug-report], [tarname], [url]) defines multiple macro names such as AC_PACKAGE_NAME and PACKAGE_NAME. Running configure also generates a config file with definition like the…
user2414029
  • 71
  • 1
  • 5
0
votes
1 answer

Autotools: create a 32-bit and 64-bit library with a single makefile?

I am trying to convert a project to autotools. My project consists of a program and a library. The library is not linked with the program. Instead, the library will be linked with other programs to communicate with my program. My program is 64-bit,…
0
votes
1 answer

When ./configure is given conflicting options, which wins?

I'm building a cross-compiling gcc using buildroot, and can supply some additional configuration options to the ./configure step without patching the buildroot sources. However, I want to override an option that the buildroot sources have already…
dubiousjim
  • 4,722
  • 1
  • 36
  • 34
0
votes
3 answers

automake configure ignoring option --with-libxml2=yes

I am trying to compile, libgphoto2 with libxml2 support followint the guidelines here. Everything is ok until I try to run ./configure: ./configure --prefix=/tmp/gphoto2/local --with-libxml2=yes That appears to me as a correct syntax, however I…
viridis
  • 177
  • 10
0
votes
1 answer

error when compiling -- using autogen generated makefile

I am trying to compile a libwebsocket package, procedure used is :-- ./autogen ./configure make I am getting libtool error at make time :--- make make all-recursive make[1]: Entering directory…
Katoch
  • 2,709
  • 9
  • 51
  • 84