Vyacheslav Frolov wrote:
> Simon Horne wrote:
>
>>If you compile pwlib without ODBC support it should be fine as the DWORD
>>definition change is P_ODBC dependent.
>
>
> It does not help.
Hi Simon,
P_ODBC used like
#if(n)def P_ODBC
So the following patch(es) should be applyed:
-------------
Index: configure.ac
===================================================================
RCS file: /cvsroot/openh323/pwlib/configure.ac,v
retrieving revision 1.68
diff -u -r1.68 configure.ac
--- configure.ac 20 Apr 2007 06:45:11 -0000 1.68
+++ configure.ac 25 Apr 2007 07:55:38 -0000
@@ -2217,7 +2217,6 @@
HAS_ODBC=
if test "$enable_odbc" = "no" ; then
AC_MSG_NOTICE(ODBC support disabled)
- AC_DEFINE(P_ODBC, 0)
else
AC_CHECK_HEADERS(sql.h, HAS_ODBC=1)
if test "${HAS_ODBC:-unset}" != "unset" ; then
-------------
Index: configure
===================================================================
RCS file: /cvsroot/openh323/pwlib/configure,v
retrieving revision 1.150
diff -u -r1.150 configure
--- configure 20 Apr 2007 06:45:10 -0000 1.150
+++ configure 25 Apr 2007 07:56:45 -0000
@@ -9395,10 +9395,6 @@
if test "$enable_odbc" = "no" ; then
{ echo "$as_me:$LINENO: ODBC support disabled" >&5
echo "$as_me: ODBC support disabled" >&6;}
- cat >>confdefs.h <<\_ACEOF
-#define P_ODBC 0
-_ACEOF
-
else
for ac_header in sql.h
-------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openh323-devel mailing list
Openh323-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openh323-devel
[Open H.323]
[IETF SIP]
[Gnu Gatekeeper]
[Asterisk PBX]
[Fedora Linux]
[Gimp]
[Yosemite News]
[Yosemite Photos]
[Yosemite Campsites]
[ISDN Cause Codes]