Re: [SLUG] [PIG] hacking BT-alsa config scripts

From: Paul M Foster (paulf@quillandmouse.com)
Date: Thu Dec 14 2006 - 10:07:31 EST


Mario Lombardo wrote:
> I'm a programming novice, so I'm mucking around with this btsco
> Bluetooth ALSA stuff for doing wireless VoIP via BT
> (http://sourceforge.net/projects/bluetooth-alsa/).
> I've gotten as far as the "make install" but I don't want to install
> it as root nor into the default install directory. I want to install
> it into a subdirectory under
> my user and a directory of my choosing. Which parameter am I supposed
> to modify? Here's the beginning of the configure script. Let me know
> what else I need to
> send to this thread:
>

Levi answered the original question, but here's a tip. You can build
your own install targets inside a makefile. Or you can (as these guys
did) use autoconf. The autoconf script is built on the fly, huge,
bizantine, almost the same for every project that uses autoconf, and
almost completely unreadable. When you run ./configure in an autoconf
environment, it typically then builds the makefile, etc. I'm not saying
autoconf is bad or anything. My point is that, because of the nature of
autoconf scripts, looking at them or reading them to figure things out
is almost useless. But there are conventions they typically use (as Levi
pointed out).

Paul

-- 
Paul M. Foster
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:08:12 EDT