[glug-t] Re: Automake dependencies

Hello there!
--- Vijay Kumar <vijaykumar@xxxxxxxxxxxx> wrote:

> dir.h: Makefile
>       echo '#define DATA_DIR "$(pkgdatadir)"' >$@

If all you want is get the DATA_DIR definition in your
code/header files, generate it from your 
./configure.in like this.

DATA_DIR = $(pkgdatadir)
AC_SUBST(DATA_DIR)

and in your code include the "../config.h"

Thats all.

I dont know about the problem youre saying.

My $0.02
Muthu


                
__________________________________ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: