aboutsummaryrefslogtreecommitdiffstats
path: root/net/ekiga/files/patch-aa
blob: 2bf26cd444d162c847b634dee216c2f22c0d6ddb (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
*** configure.in.orig   Sat Aug 18 00:20:58 2001
--- configure.in    Mon Aug 20 14:50:48 2001
*************** AC_HEADER_STDC
*** 27,38 ****
  AC_ARG_PROGRAM
  
  
! H323_INCLUDES="-I$PTLIB_INCLUDE_DIR/unix -I$PTLIB_INCLUDE_DIR/.. -I$PTLIB_INCLUDE_DIR/../ptclib -I/usr/include -I$OPENH323_INCLUDE_DIR"
! H323_LIBS="-lh323_linux_x86_r -ldl -lpt_linux_x86_r -lpthread"
  
  
! LDAP_INCLUDES="-I/usr/local/include"
! LDAP_LIBS="-lldap -llber -lresolv"
  
  GNOMEMEETING_INCLUDES=""
  GNOMEMEETING_LDADD=""
--- 27,38 ----
  AC_ARG_PROGRAM
  
  
! H323_INCLUDES="-I$PWLIBDIR/include/ptlib/unix -I$PWLIBDIR/include -I$OPENH323DIR/include"
! H323_LIBS="-L$PWLIBDIR/lib -L$OPENH323DIR/lib -lh323_FreeBSD_x86_r -lpt_FreeBSD_x86_r -pthread -lssl -lcrypto -DP_SSL"
  
  
! LDAP_INCLUDES="-I/usr/include -I/usr/local/include"
! LDAP_LIBS="-L/usr/local/lib -lldap -llber"
  
  GNOMEMEETING_INCLUDES=""
  GNOMEMEETING_LDADD=""
*************** dnl * -D_DEBUG -DPMEMORY_CHECK=1 -DPTRAC
*** 46,60 ****
  dnl *************************************************************************
  
  
! H323_CFLAGS="-DP_LINUX -m486 -D_REENTRANT -DP_HAS_SEMAPHORES -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DHAS_OSS -O2"
! 
  
  dnl *********************************************************************
  dnl ** GNOME ************************************************************
  dnl *********************************************************************
  
! GNOMEMEETING_INCLUDES="$H323_INCLUDES $H323_CFLAGS"
! GNOMEMEETING_LDADD="$GNOME_LIBDIR $GTK_LIBS $GNOMEGNORBA_LIBS $GNOME_APPLETS_LIBS $LDAP_LIBS $H323_LIBS `gtk-config --libs gthread`"
  
  GNOME_COMPILE_WARNINGS
  GNOME_X_CHECKS
--- 46,59 ----
  dnl *************************************************************************
  
  
! H323_CFLAGS="-DP_FREEBSD=400001 -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DPTRACING -02 -DNDEBUG"
  
  dnl *********************************************************************
  dnl ** GNOME ************************************************************
  dnl *********************************************************************
  
! GNOMEMEETING_INCLUDES="$LDAP_INCLUDES $H323_INCLUDES $H323_CFLAGS"
! GNOMEMEETING_LDADD="$GNOME_LIBDIR $GTK_LIBS $GNOMEGNORBA_LIBS $GNOME_APPLETS_LIBS $LDAP_LIBS $H323_LIBS `gtk12-config --libs gthread`"
  
  GNOME_COMPILE_WARNINGS
  GNOME_X_CHECKS
*************** AM_PROG_LIBTOOL
*** 64,70 ****
  dnl #########################################################################
  dnl  Check for LDAP if available.
  dnl ########################################################################
! AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([*** libresolv not found.]), -lresolv)
  
  AC_CHECK_LIB(ldap, ldap_simple_bind, LIBS="-lldap -llber $LIBS", AC_MSG_ERROR([*** LDAP library is not found.]), -llber)
  
--- 63,69 ----
  dnl #########################################################################
  dnl  Check for LDAP if available.
  dnl ########################################################################
! dnl AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([*** libresolv not found.]), -lresolv)
  
  AC_CHECK_LIB(ldap, ldap_simple_bind, LIBS="-lldap -llber $LIBS", AC_MSG_ERROR([*** LDAP library is not found.]), -llber)