[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with rewriting compile rules.
From: |
Stepan Kasal |
Subject: |
Re: Help with rewriting compile rules. |
Date: |
Fri, 1 Dec 2006 19:38:56 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Hello,
On Thu, Nov 30, 2006 at 09:10:43PM -0800, Charles Zhang wrote:
> I tried to comment out "AC_PROG_CC" and it didn't seem to disable
> the check after "autoreconf".
yes, it was ``required'' by some other macro.
You have to keep AC_PROG_CC in.
> 1. "configure" failes its tests of C compilation on the shell since
> it tries to use my shell scripts.
Then enhance your script so that it can compile the trivial C
programs served to it by configure. Why mytool cannot handle it?
> 2. i also need to inherit the options on the compile line like file
> name and CFLAGS.
I'm not sure I understand what you mean, but I guess that the script
could (and should) do it.
HTH,
Stepan Kasal