On Wed, 2005-11-02 at 04:15 -0800, Ven Heusan wrote:
> Hi all,
> 
> For my library package, I have written 'configure'
> script with includedir variable as:
>    includedir='/usr/include/mylib'
>
> My Makefile.in also has the same value for includedir
> 
> So that my header files can be installed in
> "/usr/include/mylib" directory.
> 
> I first run ./configure script to generate Makefile.
> And I checked includedir variable, it contains the
> same value (ie, includedir='/usr/include/mylib' )
> 
> When I run make, it again runs "configure" script, but
> this time it modifies configure script as:
>   includedir='${prefix}/include'
> 
> So the header files will be installed into
> /usr/include or /usr/local/include. But I want it to
> be installed in the specified directory
> (/usr/include/mylib)
> 
> Can anyone suggest me how I can achieve this?

Change your Makefile.ins to install to $(includedir)/mylib

Ralf




_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to