aboutsummaryrefslogtreecommitdiffstats
path: root/net/openh323-112/files/patch-openh323uin
blob: 4613a12f810eb349573e43b1b9f5757622bf7425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
*** openh323u.mak.in.orig   Wed May 14 20:52:44 2003
--- openh323u.mak.in    Sun Aug 31 21:26:51 2003
*************** LIBDIRS += $(OPENH323DIR)
*** 142,152 ****
  
  
  OH323_SRCDIR = $(OPENH323DIR)/src
! ifdef PREFIX
! OH323_INCDIR = $(PREFIX)/include/openh323
! else
  OH323_INCDIR = $(OPENH323DIR)/include
! endif
  OH323_LIBDIR = $(OPENH323DIR)/lib
  
  
--- 142,152 ----
  
  
  OH323_SRCDIR = $(OPENH323DIR)/src
! #ifdef PREFIX
! #OH323_INCDIR = $(PREFIX)/include/openh323
! #else
  OH323_INCDIR = $(OPENH323DIR)/include
! #endif
  OH323_LIBDIR = $(OPENH323DIR)/lib
  
  
*************** ifdef   OH323_SUPPRESS_H235
*** 184,189 ****
--- 184,190 ----
  STDCCFLAGS  += -DOH323_SUPPRESS_H235
  endif
  
+ # Check for the ixj/telephony header files on the system.
  ifneq (,$(wildcard $(SYSINCDIR)/linux/telephony.h))
  HAS_IXJ       = 1
  STDCCFLAGS += -DHAS_IXJ
*************** endif
*** 197,202 ****
--- 198,210 ----
  ifneq (,$(wildcard /usr/local/include/sys/telephony.h))
  HAS_IXJ       = 1
  STDCCFLAGS += -DHAS_IXJ -I/usr/local/include
+ endif
+ 
+ # In the FreeBSD port, we make a local copy of the ixj header files from
+ # the ixj driver in openh323/include/sys
+ ifneq (,$(wildcard $(OPENH323DIR)/include/sys/telephony.h))
+ HAS_IXJ       = 1
+ STDCCFLAGS += -DHAS_IXJ
  endif
  
  #Check if we have an OSS soundcard.h