autoconf
[Top][All Lists]
Advanced

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

Re: No AC_PROG_TAR?


From: narke
Subject: Re: No AC_PROG_TAR?
Date: Wed, 13 Jul 2011 11:16:40 +0800

On 12 July 2011 21:26, Eric Blake <address@hidden> wrote:
> On 07/11/2011 10:25 PM, narke wrote:
>> Hi,
>>
>> I am writing a script.in file that is supposed to finally produce a
>> script.sh file by automake.  In this script.in, I like to refer the
>> full path name of two utilities:  sed and tar, hence I use @SED@ and
>> @TAR@ int my script.in as a place holder.  By add 'AC_PROG_SED‘ in my
>> configure.ac, I get the @SED@ works for me.  But since there is no
>> AC_PROG_TAR, I don't know how to make my @TAR@ works.
>>
>> Can someone please give me a hint?  And, more generally, how to detect
>> the full path of an external program?
>
> AC_CHECK_PROG or AC_PATH_PROG
>
> http://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs
>
> --
> Eric Blake   address@hidden    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>
>

Thanks!  AC_PATH_PROG works for me.

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]