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

Evaluating variables in autoconf



I am packaging a program that needs to have a path defined in config.h. I 
tried:

AC_DEFINE_UNQUOTED(BASE_PATH, $datadir )

but this evaluates to $prefix/share. I need it to evaluate to /usr/share.

What's the best way to do this? I haven't done much shell or m4 programming, 
so this may be a stupid question.


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: