[Top][All Lists]

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

conditionally disabling libltdl subconfigure

From: Brice Goglin
Subject: conditionally disabling libltdl subconfigure
Date: Wed, 22 Aug 2012 15:12:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5


I am working at embedding libltdl inside our project (hwloc, an Open MPI
subprojet). Our plugins are not expected to be enabled in the most
common cases. So I am trying to see if the libltdl sub-configure could
be skipped entirely unless really needed (when plugins are enabled, and
libltdl is indeed built). I got the usual failure when I tried to put
LTDL_INIT inside a conditional block so I am looking for something else now.

Modifying the subdirs variable before AC_OUTPUT seems to work. But this
hack may not be safe enough. Is there a better way to do this?


reply via email to

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