[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No AC_PROG_TAR?
From: |
Eric Blake |
Subject: |
Re: No AC_PROG_TAR? |
Date: |
Tue, 12 Jul 2011 07:26:47 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11 |
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
signature.asc
Description: OpenPGP digital signature