1,145 questions
Score of -1
1 answer
70 views
iterate over dynamically built list in configure with m4_foreach?
I'm looking to build a list of functions being tested for dynamically, and then given the list, call a macro at the end for each function that was tested for. It seems like m4_foreach_w (or if i used ...
Score of 0
1 answer
90 views
How to run a command in configure.ac?
Writing a configure test, I need to run a program to find out some characteristics of the used toolchain. Fine would be a function like
# AC_EXEC_IFELSE(COMMAND,
# [ACTION-IF-TRUE], [...
Score of 0
0 answers
60 views
Strange aclocal behaviour
I have a project using autoconf and I'd like to add some new checks on Python module versions, and there is an existing module. My configure.ac has
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_MACRO_DIR([...
Score of 0
2 answers
57 views
How to conditionally add libraries intp pc.in file
I am trying to make a library which is composed of more components. For building and configuration, I use autotools and automake.
There are options for configure script like --enable-option-a, --...
Score of 0
0 answers
75 views
autoconf does not generate shared object
I inherited a fairly large project, built with autoconf. It builds fine in static, but has a very strange behavior when building shared, namely the libfoo.so is created as a symbolic link to libfoo.so....
Score of 1
2 answers
913 views
Building a yocto recipe with autoconf and configure
I am learning about yocto build system and just almost a week into it. I randomly chose calcurse Github repository and decided to build it via Yocto recipe so that I can have some practice and I am ...
Score of 0
1 answer
81 views
Autoconf versioning of Linux .so file incorrect
I am trying to create a Linuz dynamically linked shared libraries (.so) using autoconf, but, whatever I do it incorrectly versions the file. I am getting libWebLoom.so.0.0.1 instead of libWebLoom.so.0....
Score of 0
1 answer
268 views
configure: error: Could not find a version of the Boost::Asio library
I am trying to compile https://github.com/lowRISC/riscv-isa-sim.git in msys2, but I cant get it to work, despite having boost and asio packages installed.
I get
/riscv-isa-sim-cosim$ ./configure --...
Score of 2
1 answer
208 views
How to access default value of $prefix (/usr/local) in configure.ac?
Despite the documentation stating that $prefix is defined as /usr/local by default, when trying to expand the $prefix variable in configure.ac, it expands to NONE.
Testing with the following configure....
Score of 1
0 answers
100 views
autoconf error in trying to build TPM2.0 simulator on M1 Mac
I'm trying to build a TPM2.0 simulator on macOS Sonoma (14.2.1) using Official TPM 2.0 Reference Implementation (by Microsoft) and it seems to be failing at generating a make file for executing. This ...
Score of 3
1 answer
102 views
How to trace which `configure.ac` m4 macro expands to a specific bash code block in `configure`?
Following this question, I am working on debugging a legacy build system and need to understand how a specific section of the generated configure script is produced from its configure.ac m4 source. ...
Score of 2
1 answer
1258 views
"Command not found" errors in configure script how to diagnose?
I am maintaining a legacy project and encountered an issue while running the configure script in the build process. The script fails with multiple "command not found" errors pointing to some ...
Score of 1
1 answer
346 views
How to Handle File Existence Check in `configure.ac` When Cross Compiling on WSL
I am working on a project that requires conditional compilation based on the presence of certain files, specifically for integrating IPOPT (an optimization library). My development environment is ...
Score of 0
0 answers
162 views
Bin2c files won't generate on make
I'm trying to build SDL1.2 for the PS2DEV toolchain but the bin2c isn't generating the files I want from the Makefile. The files I'm trying to generate are freesd_irx.c sio2man_irx.c padman_irx.c ...
Score of 0
1 answer
60 views
When building Yate from sources on Centos 6.10, the error appears on the configure phase
The build plan is:
./autogen.sh
./configure
make
sudo make install-noapi
To make ./autogen.sh working I have installed
yum install autoconf
On ./configure phase I got this error:
sudo ./configure
...