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
|