Changeset 119
- Timestamp:
- 21/10/08 17:28:46 (3 months ago)
- Location:
- jggtrans
- Files:
-
- 4 removed
- 12 modified
- 23 copied
-
libgadu/AUTHORS (modified) (1 diff)
-
libgadu/ChangeLog (modified) (1 diff)
-
libgadu/config.h.in (modified) (3 diffs)
-
libgadu/configure.ac (modified) (9 diffs)
-
libgadu/depcomp (deleted)
-
libgadu/include (modified) (1 prop)
-
libgadu/include/compat.h (modified) (2 diffs)
-
libgadu/include/libgadu.h.in (modified) (39 diffs)
-
libgadu/include/Makefile.am (deleted)
-
libgadu/install-sh (deleted)
-
libgadu/lib (copied) (copied from jggtrans/libgadu/lib)
-
libgadu/lib/common.c (copied) (copied from jggtrans/libgadu/lib/common.c)
-
libgadu/lib/compat.h (copied) (copied from jggtrans/libgadu/lib/compat.h)
-
libgadu/lib/COPYING (copied) (copied from jggtrans/libgadu/lib/COPYING)
-
libgadu/lib/dcc.c (copied) (copied from jggtrans/libgadu/lib/dcc.c)
-
libgadu/lib/events.c (copied) (copied from jggtrans/libgadu/lib/events.c) (40 diffs)
-
libgadu/lib/http.c (copied) (copied from jggtrans/libgadu/lib/http.c)
-
libgadu/lib/libgadu.c (copied) (copied from jggtrans/libgadu/lib/libgadu.c)
-
libgadu/lib/libgadu-config.h.in (copied) (copied from jggtrans/libgadu/lib/libgadu-config.h.in)
-
libgadu/lib/libgadu.h (copied) (copied from jggtrans/libgadu/lib/libgadu.h)
-
libgadu/lib/libgadu.pc.in (copied) (copied from jggtrans/libgadu/lib/libgadu.pc.in)
-
libgadu/lib/Makefile.am (copied) (copied from jggtrans/libgadu/lib/Makefile.am)
-
libgadu/lib/obsolete.c (copied) (copied from jggtrans/libgadu/lib/obsolete.c)
-
libgadu/lib/pubdir50.c (copied) (copied from jggtrans/libgadu/lib/pubdir50.c)
-
libgadu/lib/pubdir.c (copied) (copied from jggtrans/libgadu/lib/pubdir.c)
-
libgadu/m4 (copied) (copied from jggtrans/libgadu/m4)
-
libgadu/m4/acx_pthread.m4 (copied) (copied from jggtrans/libgadu/m4/acx_pthread.m4)
-
libgadu/m4/curses.m4 (copied) (copied from jggtrans/libgadu/m4/curses.m4)
-
libgadu/m4/Makefile (copied) (copied from jggtrans/libgadu/m4/Makefile)
-
libgadu/m4/openssl.m4 (copied) (copied from jggtrans/libgadu/m4/openssl.m4)
-
libgadu/m4/python.m4 (copied) (copied from jggtrans/libgadu/m4/python.m4)
-
libgadu/m4/readline.m4 (copied) (copied from jggtrans/libgadu/m4/readline.m4)
-
libgadu/m4/stdint.m4 (copied) (copied from jggtrans/libgadu/m4/stdint.m4)
-
libgadu/Makefile.am (modified) (1 diff)
-
libgadu/missing (deleted)
-
libgadu/NEWS (modified) (1 diff)
-
libgadu/README (modified) (1 diff)
-
src/Makefile.am (modified) (1 diff)
-
src/sessions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jggtrans/libgadu/AUTHORS
r99 r119 1 Wymienione osoby miaÅy mniejszy lub wiÄkszy wpÅyw na rozwój biblioteki2 i klienta. Niektórzy pisali kod, pomagali analizowaÄ protokóÅ, testowali3 na róŌnych systemach, inni podsyÅali patche i bugreporty. JeÅli ktoÅ4 zostaÅ pominiÄty, niech da znaÄ. W kaÅŒdym razie za to, jak wyglÄ5 da ekg i6 libgadu, odpowiedzialni sÄ7 (w porzÄ8 dku alfabetycznym):9 10 Tomasz ChiliÅski <chilek@chilan.com>11 Piotr Domagalski <szalik@szalik.net>12 RafaÅ Florek <raf@regionet.regionet.pl>13 Dawid Jarosz <dawjar@poczta.onet.pl>14 Tomasz Jarzynka <tomee@cpi.pl>15 Robert J. Woźny <speedy@ziew.org>16 Wojtek Kaniewski <wojtekka@irc.pl>17 Marek Kozina <klith@irc.pl>18 Marcin KrzyÅŒanowski <krzak@hakore.com>19 Piotr Kupisiewicz <deli@rzepaknet.us>20 Adam Ludwikowski <adam.ludwikowski@wp.pl>21 Piotr Mach [pm] <p@gg.wha.la>22 RafaÅ Malinowski <malinowskirafal@wp.pl>23 Arkadiusz MiÅkiewicz <arekm@pld-linux.org>24 Marcin Owsiany <porridge@debian.org>25 Marcin Ålusarz <joi@kadu.net>26 Adam Wysocki <gophi@ekg.chmurka.net>27 Piotr Wysocki <wysek@linux.bydg.org>28 Jakub Zawadzki <darkjames@darkjames.ath.cx>29 30 Marek Antoniak <kfazi@kfazi.polnet.trzepak.pl>31 MichaÅ Bartoszkiewicz <embe@magma-net.pl>32 Wojciech BojdoÅ <wojboj@htcon.pl>33 Artur Gawryszczak <gawrysz@camk.edu.pl>34 Krzysztof Gibas [sdas] <duparyba@wp.pl>35 StanisÅaw Gurgacz <sgurgacz@o2.pl>36 RafaÅ Janiczek <jojo@dexter.zst.bytom.pl>37 Marcin MikuÅa <meecash@meecash.prv.pl>38 Jacek Osiecki <joshua@ceti.pl>39 Adam Osuchowski <adwol@polsl.gliwice.pl>40 PaweÅ Pruszkowski <arim@botrm.org>41 Adrian Smarzewski <adrians@aska.com.pl>42 Adam Strzelecki <ono@java.pl>43 Szymon Zygmunt <zigi@student.agh.edu.pl>44 45 Wykorzystano kod udostÄpniony na zasadach domeny publicznej autorstwa:46 47 Steve Reid <steve@edmweb.com> -
jggtrans/libgadu/ChangeLog
r99 r119 1 Lista zmian w kodzie źródÅowym:2 http://toxygen.net/websvn/log.php?repname=libgadu3 4 Lista zmian w interfejsie biblioteki:5 http://toxygen.net/libgadu/docs/group__changelog.html -
jggtrans/libgadu/config.h.in
r113 r119 1 1 /* config.h.in. Generated from configure.ac by autoheader. */ 2 3 /* Defined if libgadu was compiled for bigendian machine. */4 #undef GG_CONFIG_BIGENDIAN5 6 /* Defined if this machine has C99-compiliant vsnprintf(). */7 #undef GG_CONFIG_HAVE_C99_VSNPRINTF8 9 /* Defined if this machine has gethostbyname_r(). */10 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R11 12 /* Defined if uintX_t types are defined in <inttypes.h>. */13 #undef GG_CONFIG_HAVE_INTTYPES_H14 15 /* Defined if this machine supports long long. */16 #undef GG_CONFIG_HAVE_LONG_LONG17 18 /* Defined if libgadu was compiled and linked with pthread support. */19 #undef GG_CONFIG_HAVE_PTHREAD20 21 /* Defined if uintX_t types are defined in <stdint.h>. */22 #undef GG_CONFIG_HAVE_STDINT_H23 24 /* Defined if uintX_t types are defined in <sys/inttypes.h>. */25 #undef GG_CONFIG_HAVE_SYS_INTTYPES_H26 27 /* Defined if uintX_t types are defined in <sys/int_types.h>. */28 #undef GG_CONFIG_HAVE_SYS_INT_TYPES_H29 30 /* Defined if uintX_t types are defined in <sys/types.h>. */31 #undef GG_CONFIG_HAVE_SYS_TYPES_H32 33 /* Defined if this machine has va_copy(). */34 #undef GG_CONFIG_HAVE_VA_COPY35 36 /* Defined if this machine has __va_copy(). */37 #undef GG_CONFIG_HAVE___VA_COPY38 39 /* Library version */40 #undef GG_LIBGADU_VERSION41 2 42 3 /* Define to 1 if you have the <dlfcn.h> header file. */ … … 45 6 /* Define to 1 if you have the `gethostbyname_r' function. */ 46 7 #undef HAVE_GETHOSTBYNAME_R 8 9 /* Define to 1 if you have the `inet_pton' function. */ 10 #undef HAVE_INET_PTON 47 11 48 12 /* Define to 1 if you have the <inttypes.h> header file. */ … … 76 40 #undef HAVE_UNISTD_H 77 41 78 /* Define to the sub-directory in which libtool stores uninstalled libraries. 79 */ 80 #undef LT_OBJDIR 42 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 43 #undef NO_MINUS_C_MINUS_O 81 44 82 45 /* Name of package */ -
jggtrans/libgadu/configure.ac
r113 r119 1 dnl $Id: configure.ac 614 2008-06-02 21:16:59Z wojtekka $ 2 3 AC_INIT(src/libgadu.c) 4 AM_INIT_AUTOMAKE(libgadu, 1.8.1) 1 dnl $Id: configure.in,v 1.154 2004/06/28 10:13:09 deletek Exp $ 2 3 AC_INIT([libgadu],[20050128.jggtrans.1],[]) 4 AC_CONFIG_SRCDIR([lib/libgadu.h]) 5 AM_INIT_AUTOMAKE 5 6 6 7 AC_PREREQ(2.50) … … 9 10 AC_CONFIG_HEADERS(config.h include/libgadu.h) 10 11 12 AC_SUBST(CFLAGS_LIBGADU) 13 AC_SUBST(LIBS_LIBGADU) 14 AC_SUBST(OBJS) 15 AC_SUBST(IOCTLD_OBJS) 16 AC_SUBST(PC_REQUIRES) 17 18 AC_SUBST(strip_ekg, "") 19 AC_SUBST(strip_ioctld, "") 20 AC_SUBST(strip_libgadu_so, "") 21 22 AC_SUBST(ioctld, "") 23 AC_SUBST(install_ioctld, "") 24 25 AC_SUBST(shared, "") 26 AC_SUBST(install_shared, "") 27 28 AC_SUBST(lgadu, "") 29 AC_SUBST(libgadu_a, "") 30 31 AC_SUBST(static, "static") 32 AC_SUBST(install_static, "install-static") 33 34 AC_SUBST(ekg, "") 35 AC_SUBST(install_ekg, "") 36 AC_SUBST(clean_ekg, "") 37 AC_SUBST(distclean_ekg, "") 38 AC_SUBST(uninstall_ekg, "") 39 AC_SUBST(dep_ekg, "") 40 41 AC_SUBST(make_ekgwap, "") 42 AC_SUBST(install_ekgwap, "") 43 44 dnl 45 dnl Zaczynamy testy... 46 dnl 47 11 48 AC_PROG_CC 12 49 AC_PROG_CPP 50 AM_PROG_CC_C_O 13 51 AC_PROG_INSTALL 14 52 AC_PROG_LN_S … … 16 54 AC_PROG_LIBTOOL 17 55 18 AC_SUBST(REQUIRES) 19 AC_SUBST(INCLUDES) 20 21 if test "$GCC"; then 22 CFLAGS="$CFLAGS -Wall" 23 fi 56 AC_PATH_PROG(GMAKE, gmake, no) 57 58 if test "x$GMAKE" = "xno"; then 59 AC_PATH_PROG(MAKE, make, no) 60 61 if test "x$MAKE" = "xno"; then 62 AC_MSG_ERROR([make ]) 63 fi 64 else 65 MAKE="$GMAKE" 66 fi 67 68 AC_CHECK_TOOL(AR, ar, no) 69 70 if test "x$AR" = "xno"; then 71 AC_MSG_ERROR([ar ]) 72 fi 73 74 AC_CHECK_TOOL(STRIP, strip, :) 75 76 dnl 77 dnl Tworzymy osobny plik lib/libgadu-config.h niezale?ny od autoconfa 78 dnl z w?asn? przestrzeni? nazw (__GG_LIBGADU), ?eby m?c go spokojnie 79 dnl w??czy? w <libgadu.h> 80 dnl 81 82 mkdir -p lib 83 84 AC_DEFUN([AC_LIBGADU_DEFINE], 85 [ 86 sed 's/#undef __GG_LIBGADU_$1/#define __GG_LIBGADU_$1/' < lib/libgadu-config.h > lib/libgadu-config.h- 87 mv -f lib/libgadu-config.h- lib/libgadu-config.h 88 ]) 89 90 AC_DEFUN([AC_LIBGADU_UNDEF], 91 [ 92 sed 's/#undef __GG_LIBGADU_$1.*/\/* & *\//' < lib/libgadu-config.h > lib/libgadu-config.h- 93 mv -f lib/libgadu-config.h- lib/libgadu-config.h 94 ]) 95 96 echo "/* Generated automatically by configure. Do not edit. */" > lib/libgadu-config.h 97 cat ${srcdir}/lib/libgadu-config.h.in >> lib/libgadu-config.h 98 99 dnl 100 dnl Najpierw sprawdzamy te opcje, kt?re s? wsp?lne dla libgadu i ekg. 101 dnl 24 102 25 103 AC_C_BIGENDIAN 26 104 27 105 if test "x$ac_cv_c_bigendian" = "xyes"; then 28 AC_ DEFINE([GG_CONFIG_BIGENDIAN], [], [Defined if libgadu was compiled for bigendian machine.])106 AC_LIBGADU_DEFINE([BIGENDIAN]) 29 107 fi 30 108 31 109 AC_NEED_STDINT_H 32 110 33 if test "x$STDINT_H" = "xstdint.h"; then 34 AC_DEFINE([GG_CONFIG_HAVE_STDINT_H], [], [Defined if uintX_t types are defined in <stdint.h>.]) 35 fi 36 37 if test "x$STDINT_H" = "xinttypes.h"; then 38 AC_DEFINE([GG_CONFIG_HAVE_INTTYPES_H], [], [Defined if uintX_t types are defined in <inttypes.h>.]) 39 fi 40 41 if test "x$STDINT_H" = "xsys/inttypes.h"; then 42 AC_DEFINE([GG_CONFIG_HAVE_SYS_INTTYPES_H], [], [Defined if uintX_t types are defined in <sys/inttypes.h>.]) 43 fi 44 45 if test "x$STDINT_H" = "xsys/int_types.h"; then 46 AC_DEFINE([GG_CONFIG_HAVE_SYS_INT_TYPES_H], [], [Defined if uintX_t types are defined in <sys/int_types.h>.]) 47 fi 48 49 if test "x$STDINT_H" = "xsys/types.h"; then 50 AC_DEFINE([GG_CONFIG_HAVE_SYS_TYPES_H], [], [Defined if uintX_t types are defined in <sys/types.h>.]) 51 fi 52 53 AC_DEFINE([GG_LIBGADU_VERSION], [], [Library version]) 54 AC_DEFINE_UNQUOTED(GG_LIBGADU_VERSION, "${VERSION}") 111 if test "x$STDINT_H" = "x"; then 112 cp stdint.h lib/libgadu-stdint.h 113 STDINT_H=libgadu-stdint.h 114 fi 115 116 sed "s/#include <stdint.h>/#include <$STDINT_H>/" < lib/libgadu-config.h > lib/libgadu-config.h- 117 mv -f lib/libgadu-config.h- lib/libgadu-config.h 55 118 56 119 dnl SunOS 57 58 120 AC_CHECK_LIB(nsl, t_accept, LIBS="$LIBS -lnsl") 59 121 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket") … … 62 124 63 125 AC_ARG_WITH(bind, 64 [ --without-bind Disable linking with libbind when found])126 [ --without-bind Disable linking with libbind when found]) 65 127 66 128 if test "x$with_bind" != "xno"; then … … 69 131 70 132 dnl threadsafe 71 72 AC_CHECK_FUNCS([gethostbyname_r], [AC_DEFINE([GG_CONFIG_HAVE_GETHOSTBYNAME_R], [], [Defined if this machine has gethostbyname_r().])]) 133 AC_CHECK_FUNCS([gethostbyname_r], [AC_LIBGADU_DEFINE([HAVE_GETHOSTBYNAME_R])]) 134 135 dnl inet_pton 136 AC_CHECK_FUNCS(inet_pton) 73 137 74 138 AC_MSG_CHECKING([for va_copy]) 75 AC_TRY_LINK([#include <stdarg.h>], [va_list a, b; va_copy(a, b);], 76 [ 139 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[va_list a, b; va_copy(a, b);]])],[ 77 140 AC_MSG_RESULT([yes]) 78 AC_ DEFINE([GG_CONFIG_HAVE_VA_COPY], [], [Defined if this machine has va_copy().])79 ], [141 AC_LIBGADU_DEFINE([HAVE_VA_COPY]) 142 ],[ 80 143 AC_MSG_RESULT([no]) 81 144 ]) 82 145 83 146 AC_MSG_CHECKING([for __va_copy]) 84 AC_TRY_LINK([#include <stdarg.h>], [va_list a, b; __va_copy(a, b);], 85 [ 147 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>]], [[va_list a, b; __va_copy(a, b);]])],[ 86 148 AC_MSG_RESULT([yes]) 87 AC_ DEFINE([GG_CONFIG_HAVE___VA_COPY], [], [Defined if this machine has __va_copy().])88 ], [149 AC_LIBGADU_DEFINE([HAVE___VA_COPY]) 150 ],[ 89 151 AC_MSG_RESULT([no]) 90 152 ]) … … 93 155 [ --disable-debug Compile without debugging support]) 94 156 95 if test "x$enable_debug" = "xno"; then 157 if test "x$enable_debug" = "xno"; then 96 158 AC_MSG_WARN([--disable-debug is obsolete.]) 97 159 fi 98 160 99 dnl 100 dnl SprawdŒmy, jak± wersjê vsnprintf() dostajemy. Dodatkowa opcja jest 101 dnl dla kompilacji skro¶nej, bo nie mo¿na wtedy korzystaæ z AC_TRY_RUN(). 161 dnl if test "x$enable_debug" = "xno"; then 162 dnl CFLAGS="$CFLAGS -DGG_DEBUG_DISABLE" 163 dnl CFLAGS_LIBGADU="$CFLAGS_LIBGADU -DGG_DEBUG_DISABLE" 164 dnl strip_ekg="strip-ekg" 165 dnl strip_ioctld="strip-ioctld" 166 dnl strip_libgadu_so="strip-libgadu-so" 167 dnl else 168 dnl CFLAGS="$CFLAGS -g" 169 dnl fi 170 171 dnl 172 dnl Jak? wersj? libgadu kompilujemy? 173 dnl 174 175 AC_ARG_ENABLE(shared, 176 [ --enable-shared Compile shared version of libgadu]) 177 178 lib_shared_enabled=no 179 180 if test "x$enable_shared" = "xyes"; then 181 shared="shared" 182 install_shared="install-shared" 183 lib_shared_enabled=yes 184 fi 185 186 AC_ARG_ENABLE(static, 187 [ --disable-static Don't compile static version of libgadu 188 189 Optional ekg Features:]) 190 191 lib_static_enabled=yes 192 193 if test "x$enable_static" = "xno"; then 194 static="" 195 install_static="" 196 lib_static_enabled=no 197 fi 198 199 if test "x$enable_static" = "xno" -a "x$enable_shared" != "xyes"; then 200 AC_MSG_ERROR([You must choose either static or shared version of libgadu.]) 201 fi 202 203 AC_ARG_ENABLE(dynamic, 204 [ --enable-dynamic Link ekg dynamically with libgadu]) 205 206 dnl 207 dnl Sprawd?my, jak? wersj? vsnprintf() dostajemy. Dodatkowa opcja jest 208 dnl dla crosskompilacji, bo nie mo?na wtedy korzysta? z AC_RUN_IFELSE([AC_LANG_SOURCE([[]])],[],[],[]). 102 209 dnl 103 210 104 211 AC_ARG_WITH(c99-vsnprintf, 105 [ --with-c99-vsnprintf Target system has C99-compatible vsnprintf()])212 [ --with-c99-vsnprintf Target system has C99-compatible vsnprintf()]) 106 213 107 214 if test "x$with_c99_vsnprintf" = "xyes"; then 108 AC_ DEFINE([GG_CONFIG_HAVE_C99_VSNPRINTF], [], [Defined if this machine has C99-compiliant vsnprintf().])215 AC_LIBGADU_DEFINE([HAVE_C99_VSNPRINTF]) 109 216 fi 110 217 111 218 if test "x$with_c99_vsnprintf" = "x"; then 112 219 AC_MSG_CHECKING([for C99-compatible vsnprintf()]) 113 AC_TRY_RUN( 114 [ 220 AC_RUN_IFELSE([AC_LANG_SOURCE([[ 115 221 #include <stdio.h> 116 222 int main() … … 119 225 return (snprintf(&tmp, sizeof(tmp), "test") != 4); 120 226 } 121 ] ,[227 ]])],[ 122 228 AC_MSG_RESULT([yes]) 123 AC_ DEFINE([GG_CONFIG_HAVE_C99_VSNPRINTF], [], [Defined if this machine has C99-compiliant vsnprintf().])124 ], [229 AC_LIBGADU_DEFINE([HAVE_C99_VSNPRINTF]) 230 ],[ 125 231 AC_MSG_RESULT([no]) 126 ] )232 ],[]) 127 233 fi 128 234 … … 135 241 136 242 if test "x$with_pthread" = "xyes"; then 137 dnl najpierw sprawdzamy czy pomijaæ testy pthreads/shared138 pthreads_shared_skip=0139 if test "x$lib_shared_enabled" = "xno"; then140 pthreads_shared_skip=1141 fi142 243 ACX_PTHREAD( 143 244 [ 144 dnl workaround dla pkgconfiga245 dnl workaround dla pkconfiga 145 246 if test "x$PTHREAD_CFLAGS" = "x-pthread"; then 146 247 PTHREAD_LIBS="$PTHREAD_LIBS -pthread" … … 149 250 LIBS="$PTHREAD_LIBS $LIBS" 150 251 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 151 INCLUDES="$INCLUDES$PTHREAD_CFLAGS"252 CFLAGS_LIBGADU="$CFLAGS_LIBGADU $PTHREAD_CFLAGS" 152 253 CC="$PTHREAD_CC" 153 254 have_pthread=yes 154 255 155 AC_ DEFINE([GG_CONFIG_HAVE_PTHREAD], [], [Defined if libgadu was compiled and linked with pthread support.])256 AC_LIBGADU_DEFINE([HAVE_PTHREAD]) 156 257 ], [ 157 258 AC_MSG_ERROR([Your system is not supporting pthreads]) 158 ] , [$pthreads_shared_skip])159 fi 160 161 dnl 162 dnl Sprawdzamy, czy jest ,,long long'' na potrzeby oblicze ñ czasów DCC259 ]) 260 fi 261 262 dnl 263 dnl Sprawdzamy, czy jest ,,long long'' na potrzeby oblicze? czas?w DCC 163 264 dnl 164 265 165 266 AC_MSG_CHECKING([for long long]) 166 267 167 AC_TRY_COMPILE([], 168 [ 268 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ 169 269 long long a = 1LL; 170 270 unsigned long long b = 1LL; 171 ] ,[271 ]])],[ 172 272 AC_MSG_RESULT([yes]) 173 AC_DEFINE([GG_CONFIG_HAVE_LONG_LONG], [], [Defined if this machine supports long long.]) 174 ]) 175 176 AC_CONFIG_FILES([Makefile src/Makefile include/Makefile]) 273 AC_LIBGADU_DEFINE([HAVE_LONG_LONG]) 274 ],[]) 275 276 dnl 277 dnl Zachowujemy opcje dla libgadu 278 dnl 279 280 LIBS_LIBGADU="$LIBS_LIBGADU $LIBS" 281 282 283 AC_CONFIG_FILES(Makefile lib/Makefile lib/libgadu.pc) 177 284 178 285 AC_OUTPUT 286 287 echo 288 echo "configured options:" 289 290 if test "x$lib_static_enabled" = "xyes"; then 291 if test "x$lib_static_default" = "xyes"; then 292 echo " - static libgadu: enabled (default)" 293 else 294 echo " - static libgadu: enabled" 295 fi 296 else 297 echo " - static libgadu: disabled" 298 fi 299 300 if test "x$lib_shared_enabled" = "xyes"; then 301 if test "x$lib_shared_default" = "xyes"; then 302 echo " - shared libgadu: enabled (default)" 303 else 304 echo " - shared libgadu: enabled" 305 fi 306 else 307 echo " - shared libgadu: disabled" 308 fi 309 310 -
jggtrans/libgadu/include
-
jggtrans/libgadu/include/compat.h
r100 r119 1 /* $Id: compat.h 506 2008-01-14 22:15:05Z wojtekka$ */1 /* $Id: compat.h,v 1.3 2004/10/29 18:20:41 wojtekka Exp $ */ 2 2 3 3 /* 4 4 * (C) Copyright 2001-2002 Wojtek Kaniewski <wojtekka@irc.pl> 5 * Robert J. Wo źny <speedy@ziew.org>5 * Robert J. WoŒny <speedy@ziew.org> 6 6 * 7 7 * This program is free software; you can redistribute it and/or modify … … 20 20 */ 21 21 22 /**23 * \file compat.h24 *25 * \brief Makra zapewniajÄ26 ce kompatybilnoÅÄ API na róŌnych systemach27 */28 29 22 #ifndef __COMPAT_H 30 23 #define __COMPAT_H -
jggtrans/libgadu/include/libgadu.h.in
r100 r119 1 /* $Id: libgadu.h .in 592 2008-04-15 19:02:47Z porridge$ */1 /* $Id: libgadu.h,v 1.185 2006/06/30 13:21:50 gophi Exp $ */ 2 2 3 3 /* 4 4 * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl> 5 * Robert J. Wo źny <speedy@ziew.org>6 * Arkadiusz Mi Åkiewicz <arekm@pld-linux.org>7 * Tomasz Chili Åski <chilek@chilan.com>5 * Robert J. WoŒny <speedy@ziew.org> 6 * Arkadiusz Mi¶kiewicz <arekm@pld-linux.org> 7 * Tomasz Chiliñski <chilek@chilan.com> 8 8 * Piotr Wysocki <wysek@linux.bydg.org> 9 9 * Dawid Jarosz <dawjar@poczta.onet.pl> … … 22 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, 23 23 * USA. 24 */25 26 /**27 * \file libgadu.h28 *29 * \brief GÅówny plik nagÅówkowy biblioteki30 24 */ 31 25 … … 40 34 #endif 41 35 36 #include <libgadu-config.h> 42 37 #include <sys/types.h> 43 38 #include <stdio.h> 44 39 #include <stdarg.h> 45 40 46 /** \cond ignore */ 47 48 /* Defined if libgadu was compiled for bigendian machine. */ 49 #undef GG_CONFIG_BIGENDIAN 50 51 /* Defined if this machine has gethostbyname_r(). */ 52 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R 53 54 /* Defined if libgadu was compiled and linked with pthread support. */ 55 #undef GG_CONFIG_HAVE_PTHREAD 56 57 /* Defined if this machine has C99-compiliant vsnprintf(). */ 58 #undef GG_CONFIG_HAVE_C99_VSNPRINTF 59 60 /* Defined if this machine has va_copy(). */ 61 #undef GG_CONFIG_HAVE_VA_COPY 62 63 /* Defined if this machine has __va_copy(). */ 64 #undef GG_CONFIG_HAVE___VA_COPY 65 66 /* Defined if this machine supports long long. */ 67 #undef GG_CONFIG_HAVE_LONG_LONG 68 69 /* Defined if libgadu was compiled and linked with TLS support. */ 70 #undef GG_CONFIG_HAVE_OPENSSL 71 72 /* Defined if uintX_t types are defined in <stdint.h>. */ 73 #undef GG_CONFIG_HAVE_STDINT_H 74 75 /* Defined if uintX_t types are defined in <inttypes.h>. */ 76 #undef GG_CONFIG_HAVE_INTTYPES_H 77 78 /* Defined if uintX_t types are defined in <sys/inttypes.h>. */ 79 #undef GG_CONFIG_HAVE_SYS_INTTYPES_H 80 81 /* Defined if uintX_t types are defined in <sys/int_types.h>. */ 82 #undef GG_CONFIG_HAVE_SYS_INT_TYPES_H 83 84 /* Defined if uintX_t types are defined in <sys/types.h>. */ 85 #undef GG_CONFIG_HAVE_SYS_TYPES_H 86 87 #ifdef GG_CONFIG_HAVE_OPENSSL 41 #ifdef __GG_LIBGADU_HAVE_OPENSSL 88 42 #include <openssl/ssl.h> 89 43 #endif 90 44 91 #ifdef GG_CONFIG_HAVE_STDINT_H 92 #include <stdint.h> 93 #else 94 # ifdef GG_CONFIG_HAVE_INTTYPES_H 95 # include <inttypes.h> 96 # else 97 # ifdef GG_CONFIG_HAVE_SYS_INTTYPES_H 98 # include <sys/inttypes.h> 99 # else 100 # ifdef GG_CONFIG_HAVE_SYS_INT_TYPES_H 101 # include <sys/int_types.h> 102 # else 103 # ifdef GG_CONFIG_HAVE_SYS_TYPES_H 104 # include <sys/types.h> 105 # else 106 107 #ifndef __AC_STDINT_H 108 #define __AC_STDINT_H 109 110 /* ISO C 9X: 7.18 Integer types <stdint.h> */ 111 112 typedef unsigned char uint8_t; 113 typedef unsigned short uint16_t; 114 typedef unsigned int uint32_t; 115 116 #ifndef __CYGWIN__ 117 #define __int8_t_defined 118 typedef signed char int8_t; 119 typedef signed short int16_t; 120 typedef signed int int32_t; 121 #endif 122 123 #endif /* __AC_STDINT_H */ 124 125 # endif 126
