autoconf Questions

2

Solved

The autoconf manual suggest using AS_IF instead of if, but it doesn't mention m4_if. Should AS_IF also be preferred over m4_if? The "Limitations of Builtins" section of the manual says to use AS_I...
Tehuantepec asked 6/1, 2013 at 21:46

1

Solved

I'm trying to build a Linux-developed library on Windows. This library requires glib and one of the gdk libraries. While I can find 32-bit Windows binaries for most of the dependent libraries, I'd ...
Reduplicate asked 12/12, 2012 at 9:34

1

Solved

What are the differences between FOO=bar ./configure and ./configure FOO=bar, where ./configure is a script generate by autoconf from a configure.am? I know that the former sets the environment var...
Hamforrd asked 12/12, 2012 at 20:37

3

The following code from my configuration.ac file does not work (note the nested square brackets with [default=no]): AC_ARG_ENABLE(debug, [ --enable-debug build with debugging support [default=no]...
Mimamsa asked 22/2, 2010 at 4:4

2

I am building the google-gflags commandline flags library for C++ on Mac OS X (10.7.1). The build process is as such: $ ./configure --prefix=output $ make $ make install I'd like to change the ...
Hannelorehanner asked 24/8, 2011 at 1:13

3

Solved

Trying to use automake/autoconf (versions 1.10 and 2.61, respectively). Everything is working OK, except automake is not generating Makefile.in. There are some warnings generated, but I don't thin...
Thumbprint asked 22/3, 2011 at 5:20

3

Solved

I have a project with autotools: automake, autoconf. I want to prohibit make from remaking files configure, Makefile.in, etc; just to do compile job. Some of files are edited by hand, and I know ...
Godgiven asked 20/4, 2011 at 13:23

1

Solved

I need to build a lib that is configured with autotools. The usual configure && make && make install steps produce versioned shared lib, something like libfoo.so.x.x Is it possible ...
Alban asked 16/8, 2012 at 14:23

3

Solved

I need to cross-compile some C/C++ library. The library depends on several C/C++ libraries. Some of those of libraries in turn depend on other libraries. All libraries come with configure script. I...
Dotard asked 3/8, 2012 at 12:53

4

Solved

I'm working on a C++ project on GNU/Linux and I'm looking for a way to test the existence and usability of IBM Informix's library with the Autotools - namely, editing a configure.in. I don't have e...
Uird asked 20/6, 2009 at 16:28

2

Solved

In Makefile.in I see variable definition where an external variable name is enclosed between two @ symbols # @configure_input@ package = @PACKAGE_NAME@ Where those external variables come from?...
Crapulous asked 25/7, 2012 at 5:59

1

Solved

I'm following the documentation with an up to date automake (v1.12) but building still fails. Here's my configure.ac: AC_PREREQ([2.69]) AC_INIT([helloworld], [0.1], [[email protected]]) AC_I...
Cowie asked 2/7, 2012 at 1:45

1

I have a program written in C and it uses Autoconf. It uses AC_PROG_CC_C99 in configure.ac which when used with gcc translates to the -std=gnu99 compiler option. The program is written somewhat str...
Sheeree asked 5/5, 2012 at 21:20

2

I'm not a fan of autoconf, but in the interest of principle of least surprise, I'm trying to make my (non-autoconf) configure scripts behave as closely as possible to what users expect from an auto...
Zerk asked 1/5, 2012 at 21:38

2

Solved

My project depends upon a library (more precisely, GTK+) so I added the following configurations in my configure.ac: PKG_CHECK_MODULES([GTK], [gtk+-2.0]) AC_SUBST([GTK_CFLAGS]) AC_SUBST([GTK_LIBS]...
Camelot asked 18/4, 2012 at 11:36

2

I have used GNU autoconf to generate a configure script for a program of mine, which I am now trying to cross-compile for Windows. Under Linux, to change the location of the data files I supply --...
Shine asked 11/3, 2012 at 10:11

2

Solved

I have a Makefile.am for compiling Ocaml source code with ocamlbuild. However, even though I have AM_INIT_AUTOMAKE([foreign no-dependencies]) in my configure.ac, automake thinks that a C compil...
Alfonzoalford asked 11/3, 2012 at 7:57

1

I'm trying to build Gnu binutils with behaviour unlocked by defining the macro SYSV386_COMPAT 0 to vary the way in which it generates some FPU opcodes. I can easily go into the header file and se...
Wicketkeeper asked 9/3, 2012 at 13:22

5

Solved

I'm running autoconf and configure sets SHELL to '/bin/sh'. This creates huge problems. How to force SHELL to be '/bin/bash' for autoconf? I'm trying to get this running on osx, it's working on li...
Nora asked 2/10, 2008 at 6:10

1

Solved

I am a rather new C++ programmer. I have made a very simple game using SDL libraries. My game, naturally, uses some images, sounds and fonts. I have wanted to make a distribution of the package, wh...
Muzz asked 11/2, 2012 at 17:51

2

Solved

I'm trying to build something with the Android NDK standalone compiler toolchain, but I'm getting this error: Updating bundled third-party dependencies... bash -c 'mkdir -p output/{debug,release,...
Delapaz asked 20/1, 2012 at 12:1

3

Solved

Currently, our installation instructions are: autoreconf -fi ./configure ... The autoreconf step generates the configure file from configure.ac and Makefile.in from Makefile.in. If one of the de...
Mishmash asked 14/1, 2012 at 20:22

2

Solved

I've a configure.ac file containing lines like: AC_DEFINE(CONF_XDISP, ":8", "X screen number") These constants are used in the C source for setting compile defaults. I also have a configuration ...
Ombre asked 4/1, 2012 at 18:53

2

Solved

Most packages using Autotools are user-level utilities or at least high-enough level to be completely under /usr, or low enough to be entirely below /usr. I'm writing a package that would need to ...
Chappell asked 29/12, 2011 at 14:49

2

Solved

I'm using Autoconf to build my c++ project. It uses third party code which is also built with the help of Autoconf/Automake. So in my configure.ac I've got the following line: AC_CONFIG_SUBDIRS([s...
Virgel asked 30/11, 2011 at 20:5

© 2022 - 2024 — McMap. All rights reserved.