[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failures of `AC CHECK_SIZEOF'

From: Ludovic Courtès
Subject: Failures of `AC CHECK_SIZEOF'
Date: Wed, 19 Mar 2008 09:24:00 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)


We've seen failures of the type "cannot compute sizeof (char)",
resulting from the fact that the executable produced by
`AC_CHECK_SIZEOF' cannot be run because it's linked against a library
that's not in the dynamic linker's search path (`LD_LIBRARY_PATH' or

For the record, I discussed it with the Autoconf people:

The solution suggested by Ralf Wildenhues involves using M4 macros as
found in Gnulib to make sure that executables (including those produced
by `configure') get the right `RPATH' so that they can actually be run.

A simpler solution would be to move all `AC_CHECK_SIZEOF' tests earlier
than any `AC_CHECK_LIB' call in `'.  Unfortunately, we have
a number of `AC_TRY_RUN' tests that would fail later on anyway.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]