xfs
[Top] [All Lists]

[Bug 394] New: Add /usr/local/bin to search path for parts of aclocal.m4

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 394] New: Add /usr/local/bin to search path for parts of aclocal.m4
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 3 Jan 2005 08:59:00 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=394

           Summary: Add /usr/local/bin to search path for parts of
                    aclocal.m4
           Product: Linux XFS
           Version: Current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: rodrigc@xxxxxxxxxxxxxx


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

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)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 394] New: Add /usr/local/bin to search path for parts of aclocal.m4, bugzilla-daemon <=