[Xfce4-commits] r27211 - xarchiver/trunk

Diego Ongaro ongardie at gmail.com
Sat Jul 5 14:35:55 CEST 2008


On Sat, Jul 5, 2008 at 12:47, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> On Sat, 5 Jul 2008 12:25:42 +0100, "Diego Ongaro" <ongardie at gmail.com>
> wrote:
>
>> On Sat, Jul 5, 2008 at 11:56, Christian Dywan
>> <christian at twotoasts.de> wrote:
>> > Am Sat, 5 Jul 2008 12:37:52 +0200
>> > schrieb "Landry Breuil" <landry.breuil at gmail.com>:
>> >
>> >> On Sat, Jul 5, 2008 at 7:23 AM, Giuseppe Torelli
>> >> <colossus at xfce.org> wrote:
>> >> >
>> >> > Made configure script to detect xdg-open in /usr/bin
>> >>
>> >> And what about the others installing in !/usr ? :)
>> >> Isn't there an autoconf macro to find binaries in $PATH, maybe
>> >> AC_PATH_PROG ?
>> >
>> > Even better, just use 'which'.
>>
>> I don't see how that's "even better".
>
> which searches in $PATH, not only in /usr/bin.
>
> But even even better would be to not check for this in any autoconf
> script but in the program itself at runtime.

AC_CHECK_PROG or AC_PATH_PROG also search the $PATH, see
http://www.gnu.org/software/autoconf/manual/html_node/Generic-Programs.html#Generic-Programs
.



More information about the Xfce4-dev mailing list