Questions tagged [autoconf]

GNU Autoconf creates a shell script `configure` that is used to configure software for compilation for UNIX-like operating systems.

GNU Autoconf creates a shell script configure that is used to configure software for compilation for UNIX-like operating systems. It is extensible through the use of shell script and m4 macros. It is frequently used with GNU Automake and GNU Libtool (collectively known as Autotools).

1135 questions
-1
votes
1 answer

What's the `Autoconf`? Why people use it? Should I use it?

What's the Autoconf? Why people use it? Should I use it?
eonil
  • 83,476
  • 81
  • 317
  • 516
-1
votes
1 answer

No rule to make .o file

I want to use .la library in my code. .la library generated from some source code. I want to use automake and autoconf tools to generate makefile and compile it. my configure.ac : AC_INIT([Tutorial Program], 1.0) AC_CONFIG_AUX_DIR(.) …
mhheydarchi
  • 79
  • 1
  • 5
-1
votes
1 answer

Autoconf - No POSIX thread support. Configure possibly using wrong code to verify support. How to fix it?

I am using ./configure to configure one of the projects. I get the following error from it. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread...…
user4089193
-1
votes
1 answer

Standalone, minimal configure script for portable code

I've run into an issue with portability of code that I've written that I wish to distribute, it isn't. The Makefiles that I send along require a lot of editing before users can compile and optimize the code for their systems, which is something I'd…
Dave Williams
  • 376
  • 1
  • 3
  • 13
-1
votes
1 answer

How do you use automake 1.14.1

I'm trying to use the autoconf toolset to distribute my GPL'd API. I've got the basic distribution working but can't figure out how to do the rest. 1: How do I get a test executable to compile when the user wants to test the distribution. I don't…
lostbits
  • 928
  • 1
  • 9
  • 23
-1
votes
1 answer

Need to use "configure --prefix" in order to "make install"

I need to use "configure --prefix" in order to "make install" in a particular location. Only a makefile is provided, not a configure file. I have never used autoconf or created a configure script myself. I found a guide here, but got lost at the 5th…
LinuxUser
  • 1
  • 1
-1
votes
1 answer

Building Gstreamer Code?

I wanted to know why autoconf and automake (auto tools) are used to Build the Gstreamer(and odes like gstramer). These I suppose are used to generate the Makefiles which then can be used by simply running make command. What are makefile.am and…
Raulp
  • 7,758
  • 20
  • 93
  • 155
-2
votes
1 answer

How can Autoconf be made to test source code from an external file?

We use GNUmakefile as our primary build system. The makefile performs feature tests using test programs in source files: $ ls TestPrograms/ dump2def.cxx test_arm_sm4.cxx test_x86_avx.cxx test_32bit.cxx test_cxx.cxx …
jww
  • 97,681
  • 90
  • 411
  • 885
-2
votes
1 answer

What is the best way to build C/C++ program in open source community?

We have a very old and big project which is mainly written by C (and a small piece of C++), and it can be built in both Linux and Windows. Currently, we write all the Makefiles in this project manually which I think is not good. Now we want to make…
Eric
  • 688
  • 1
  • 6
  • 17
1 2 3
75
76