xfs
[Top] [All Lists]

aclocal.m4 xfsprogs fix for FreeBSD

To: linux-xfs@xxxxxxxxxxx
Subject: aclocal.m4 xfsprogs fix for FreeBSD
From: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Date: Fri, 24 Dec 2004 16:07:23 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
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)


-- 
Craig Rodrigues        
rodrigc@xxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
  • aclocal.m4 xfsprogs fix for FreeBSD, Craig Rodrigues <=