summaryrefslogtreecommitdiff
path: root/cdr/cdr_odbc.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-01-15 20:18:53 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-01-15 20:18:53 +0000
commit9a7efae8fdfb623faa62f06c700cf5682917e3d0 (patch)
tree3764b7db8fba602dfed1ff89b7de5a45b07403d9 /cdr/cdr_odbc.c
parent73694e15f1af715fc6ca051f0fc5842f4da7f644 (diff)
remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
this stops modules from being linked against both sets of libraries on systems that have both installed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr/cdr_odbc.c')
-rw-r--r--cdr/cdr_odbc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c
index 1b497661b..8af2edc20 100644
--- a/cdr/cdr_odbc.c
+++ b/cdr/cdr_odbc.c
@@ -29,10 +29,8 @@
*/
/*** MODULEINFO
- <depend>odbc</depend>
+ <depend>generic_odbc</depend>
<depend>ltdl</depend>
- <use>unixodbc</use>
- <use>iodbc</use>
***/
#include "asterisk.h"