|
From: | tapio laxström |
Subject: | Re: [Protux-devel] cant find correct place to add -D_XXXXXXX |
Date: | Wed, 30 Oct 2002 17:54:36 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 |
Luciano Giordana wrote:
Tapio, I think you should provide some VERY-VERY-SIMPLIFIED tutorial on configure/autoconf/automake for these situations : when I want to add a -lxxxx flag when I want to add a -Dxxxx flag (my problem right now) when I want to add a new .hh/.cc code into the package when I want to remove a .hh/.cc code from the pacakge when I want to add some new rule (suck make clean/ or make post/ or make upload)
I shall do this... soon.
On Tuesday 29 October 2002 05:00 pm, Luciano Giordana wrote:Ignore last email the line libmustux_la_LIBADD = -D_ALSA -lasound is reporting an error I am looking for another place to put such -D_ALSA (Tapio, help me ! :-)
basicly:-D_ALSA is c++ compiler flag, so it should be added to configure.in file in CXXFLAGS variable...
but then goes to all targets... hmmm (beard scratching)(in this case we have only one binary target so it doesn't matter, but it doesn't sound good)
I committed one solution to cvs (now it works and there is --disable-alsa configure option), but I wana do nicer one
(more beard scratching).AC_CHECK_LIB macro should be added for '-lasound' to configure.in file (I added it allready), so that when asound is found it is automaticly added to libmustux_la_LIBADD variable.
-- best regards -- tapio laxström now playing: Fishbone - Freddie's Dead (4:30)
[Prev in Thread] | Current Thread | [Next in Thread] |