[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dependency setting
From: |
Sandip Bhattacharya |
Subject: |
Re: Dependency setting |
Date: |
Wed, 27 Feb 2002 14:25:46 +0530 |
User-agent: |
Mutt/1.3.22.1i |
On Tue, Feb 26, 2002 at 04:09:39PM -0500, Wei Qin spoke out thus:
>
> Hi,
>
> My source code uses a C macro whose value depends on the installation
> prefix. So every time I run configure, I hope that the source code will be
> recompiled. But the default dependencies checking by automake does not
> let this happend. How can I specify this dependency relationship without
> disabling the automatic dependency tracking?
How about trying this?
1) mv source.c source.c.in
2) in source.c.in
#define PREFIX "@@prefix@@"
3) in configure.in
AC_OUTPUT( ... , source.c)
- Sandip
--
Sandip Bhattacharya
sandip @ mindsw.com
Mindframe Software
---------------------------------------------------------