Version 0.2.0 from FTP
authorMark Spencer <markster@digium.com>
Mon, 1 Jul 2002 01:49:48 +0000 (01:49 +0000)
committerMark Spencer <markster@digium.com>
Mon, 1 Jul 2002 01:49:48 +0000 (01:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@479 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/Makefile

index 429d5b6..754d442 100755 (executable)
@@ -18,10 +18,7 @@ CFLAGS+=
 #
 # MySQL stuff...  Autoconf anyone??
 #
-MODS+=$(shell if [ -d /usr/lib/mysql ] || \
-       [`ls /usr/lib/libmysqlclient.so* 2>/dev/null | wc -l` -gt 0 ] || \
-       [`ls /usr/local/lib/libmysqlclient.so* 2>/dev/null | wc -l` -gt 0 ] \
-       ; then echo "cdr_mysql.so" ; fi)
+MODS+=$(shell if [ -d /usr/include/mysql ] || [ -d /usr/local/include/mysql ]; then echo "cdr_mysql.so"; fi)
 CFLAGS+=$(shell if [ -d /usr/include/mysql ]; then echo "-I/usr/include/mysql"; fi)
 CFLAGS+=$(shell if [ -d /usr/local/include/mysql ]; then echo "-I/usr/local/include/mysql"; fi)
 MLFLAGS=