Module: sip-router
Branch: 3.1
Commit: 69443e87325aea1f5a4286e7a8df7ac778f91f83
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69443e87325aea1f5a4286e7a8df7ac778f91f83

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Thu Jun 30 15:54:42 2011 +0200

db_mysql: search also for mysql_config5 in Makefile

- on some OSes, the mysql_config tool might have the name mysql_config5
(cherry picked from commit d0858edd95726117d2ccc9567b9f7bf012204448)

---

 modules/db_mysql/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/db_mysql/Makefile b/modules/db_mysql/Makefile
index d71ca94..6c7c01c 100644
--- a/modules/db_mysql/Makefile
+++ b/modules/db_mysql/Makefile
@@ -14,6 +14,9 @@ DEFS +=-DSER_MOD_INTERFACE
 
 ifeq ($(CROSS_COMPILE),)
 MYSQLCFG=$(shell which mysql_config)
+ifeq ($(MYSQLCFG),)
+MYSQLCFG=$(shell which mysql_config5)
+endif
 endif
 
 ifneq ($(MYSQLCFG),)


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to