Rev 1426: Look for apr-config in more locations. Should help MacPorts users. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Thu Jul 3 17:57:21 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1426
revision-id: jelmer at samba.org-20080703165719-b3s0p68pmq57rdyk
parent: jelmer at samba.org-20080703163827-oq661a51d56qp5d6
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Thu 2008-07-03 18:57:19 +0200
message:
  Look for apr-config in more locations. Should help MacPorts users.
modified:
  setup.py                       setup.py-20060502115218-86950492da22353f
=== modified file 'setup.py'
--- a/setup.py	2008-06-29 23:18:19 +0000
+++ b/setup.py	2008-07-03 16:57:19 +0000
@@ -40,7 +40,8 @@
 def apr_config(arg):
     apr_config_cmd = os.getenv("APR_CONFIG")
     if apr_config_cmd is None:
-        cmds = ["apr-config", "apr-1-config"]
+        cmds = ["apr-config", "apr-1-config", "/usr/local/apr/bin/apr-config",
+                "/usr/local/bin/apr-config"]
         for cmd in cmds:
             try:
                 res = run_cmd(cmd, arg)




More information about the bazaar-commits mailing list