Re: No AC_PROG_TAR?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 12 July 2011 21:26, Eric Blake <eblake@xxxxxxxxxx> 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 eblake@xxxxxxxxxx +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 (narkewoody@xxxxxxxxx) _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf
[GCC Help] [Kernel Discussion] [RPM Discussion] [Red Hat Development] [Yosemite News] [USB] [Samba]