xfs
[Top] [All Lists]

Re: aclocal.m4 xfsprogs fix for FreeBSD

To: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Subject: Re: aclocal.m4 xfsprogs fix for FreeBSD
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Mon, 03 Jan 2005 11:14:37 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20041224210723.GA9140@xxxxxxxxxxxxxx>
References: <20041224210723.GA9140@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Ok done.

On Fri, 2004-12-24 at 16:07 -0500, Craig Rodrigues wrote:
> Hi,
> 
> I am working on getting xfsprogs to compile under FreeBSD.
> Here is a small aclocal.m4 patch to get a few things to
> compile on FreeBSD.  On FreeBSD,:
>  gzip is /usr/bin/gzip
>  msgfmt is /usr/local/bin/msgfmt
>  msgmerge is /usr/local/bin/msgmerge
> 
> Is this patch OK to add to the Linux XFS CVS repository?
> 
> Index: aclocal.m4
> ===================================================================
> RCS file: /cvs/xfs-cmds/xfsprogs/aclocal.m4,v
> retrieving revision 1.13
> diff -u -r1.13 aclocal.m4
> --- aclocal.m4        7 Oct 2004 23:09:23 -0000       1.13
> +++ aclocal.m4        24 Dec 2004 21:02:14 -0000
> @@ -107,7 +107,7 @@
>      tar=$TAR
>      AC_SUBST(tar)
>      if test -z "$ZIP"; then
> -        AC_PATH_PROG(ZIP, gzip,, /bin:/usr/local/bin:/usr/freeware/bin)
> +        AC_PATH_PROG(ZIP, gzip,, 
> /bin:/usr/local/bin:/usr/freeware/bin:/usr/bin)
>      fi
>  
>      zip=$ZIP
> @@ -148,14 +148,14 @@
>  
>      if test "$enable_gettext" = yes; then
>          if test -z "$MSGFMT"; then
> -                AC_PATH_PROG(MSGFMT, msgfmt,, /usr/bin:/usr/freeware/bin)
> +                AC_PATH_PROG(MSGFMT, msgfmt,, 
> /usr/bin:/usr/freeware/bin:/usr/local/bin)
>          fi
>          msgfmt=$MSGFMT
>          AC_SUBST(msgfmt)
>          AC_PACKAGE_NEED_UTILITY($1, "$msgfmt", msgfmt, gettext)
>  
>          if test -z "$MSGMERGE"; then
> -                AC_PATH_PROG(MSGMERGE, msgmerge,, /usr/bin:/usr/freeware/bin)
> +                AC_PATH_PROG(MSGMERGE, msgmerge,, 
> /usr/bin:/usr/freeware/bin:/usr/local/bin)
>          fi
>          msgmerge=$MSGMERGE
>          AC_SUBST(msgmerge)
> 
> 


<Prev in Thread] Current Thread [Next in Thread>
  • Re: aclocal.m4 xfsprogs fix for FreeBSD, Russell Cattelan <=