bug-automake
[Top][All Lists]
Advanced

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

feature request


From: stan
Subject: feature request
Date: Sat, 16 Feb 2008 14:42:41 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080208 Fedora/1.1.8-1.fc7 SeaMonkey/1.1.8

Hi,

I am using the libsndfile package in my program as a library for conditional static linking. The official release is broken with regard to FLAC support because the FLAC api changed, so I have patched it (I submitted the patches to the developer, but he isn't interested). This works fine. I can build the program with the static library if I pass the option to configure. The problem comes when I want to install. I cannot find a way to prevent the library from installing. It would be great if I could define an option to configure and use a conditional to put the library in either SUBDIRS as I do now or a new variable called noinst_SUBDIRS. The former would work just like now, the latter would build the library as it does as if it was in SUBDIRS, but would not install it. The noinst_SUBDIRS would of course be built before anything in SUBDIRS. Contents of both would go into dist_SUBDIRS automatically.

But perhaps there is a way to already do the equivalent with the autotools. I've read the documentation and tried many ways, all without success. The workaround is to build and install with no static library. Then build with the static library option to configure and copy the executable only into the install directory manually. Workable but clumsy.

Thanks for any suggestions.




reply via email to

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