mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 21:04:00 +02:00
Added to gitignores
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
//
|
||||
// Prefix header for all source files of the 'IRCClient' target in the 'IRCClient' project.
|
||||
//
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#endif
|
5931
source/shared_lib/sources/libircclient/configure
vendored
Normal file
5931
source/shared_lib/sources/libircclient/configure
vendored
Normal file
File diff suppressed because it is too large
Load Diff
114
source/shared_lib/sources/libircclient/configure.in
Normal file
114
source/shared_lib/sources/libircclient/configure.in
Normal file
@@ -0,0 +1,114 @@
|
||||
# -*- Autoconf -*-
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.52)
|
||||
AC_INIT(libircclient, 1.3, gyunaev@ulduzsoft.com)
|
||||
AC_CONFIG_SRCDIR([include/libircclient.h])
|
||||
AC_CONFIG_HEADER([src/config.h])
|
||||
|
||||
# Check for command-line
|
||||
AC_ARG_ENABLE([debug],
|
||||
[AS_HELP_STRING([--enable-debug],
|
||||
[compile with debug information (no)])],
|
||||
[use_debug=$enableval],
|
||||
[use_debug=no])
|
||||
|
||||
AC_ARG_ENABLE([shared],
|
||||
[AS_HELP_STRING([--enable-shared],
|
||||
[build a shared library (no)])],
|
||||
[build_shared=$enableval],
|
||||
[build_shared=no])
|
||||
|
||||
AC_ARG_ENABLE([threads],
|
||||
[AS_HELP_STRING([--enable-threads],
|
||||
[compile with multithread support (yes)])],
|
||||
[use_threads=$enableval],
|
||||
[use_threads=yes])
|
||||
|
||||
AC_ARG_ENABLE([ipv6],
|
||||
[AS_HELP_STRING([--enable-ipv6],
|
||||
[compile with IPv6 support (no)])],
|
||||
[use_ipv6=$enableval],
|
||||
[use_ipv6=no])
|
||||
|
||||
AC_ARG_ENABLE([openssl],
|
||||
[AS_HELP_STRING([--enable-openssl],
|
||||
[compile with OpenSSL support (no)])],
|
||||
[use_openssl=$enableval],
|
||||
[use_openssl=no])
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_CHECK_TOOL(AR, ar, :)
|
||||
AC_PROG_RANLIB
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
AC_C_CONST
|
||||
AC_TYPE_SIZE_T
|
||||
AC_HEADER_TIME
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_SELECT_ARGTYPES
|
||||
AC_FUNC_STAT
|
||||
AC_CHECK_FUNCS([localtime_r socket])
|
||||
|
||||
AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket")
|
||||
|
||||
if test "$use_debug" = "yes"; then
|
||||
CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
|
||||
else
|
||||
CFLAGS="${CFLAGS} -O3"
|
||||
fi
|
||||
|
||||
# Choosing the target
|
||||
TARGET="static"
|
||||
if test "$build_shared" = "yes"; then
|
||||
CFLAGS="$CFLAGS -fpic"
|
||||
TARGET="shared"
|
||||
fi
|
||||
|
||||
if test "$use_ipv6" = "yes"; then
|
||||
AC_CHECK_FUNCS([getaddrinfo inet_pton])
|
||||
AC_CHECK_LIB(nsl, getaddrinfo, AC_DEFINE(HAVE_GETADDRINFO) LIBS="$LIBS -lnsl")
|
||||
CFLAGS="$CFLAGS -DENABLE_IPV6"
|
||||
else
|
||||
AC_CHECK_FUNCS([gethostbyname_r inet_ntoa])
|
||||
AC_CHECK_LIB(nsl, inet_ntoa, AC_DEFINE(HAVE_INET_NTOA) LIBS="$LIBS -lnsl")
|
||||
fi
|
||||
|
||||
if test "$use_threads" = "yes"; then
|
||||
CFLAGS="$CFLAGS -DENABLE_THREADS -D_REENTRANT"
|
||||
fi
|
||||
|
||||
|
||||
# Checking for mingw
|
||||
AC_MSG_CHECKING([For MinGW32])
|
||||
case "$host" in
|
||||
*-*-mingw*)
|
||||
AC_MSG_RESULT([yes])
|
||||
CFLAGS="$CFLAGS -DWIN32_DLL"
|
||||
LIBS="$LIBS -lz -lwsock32 -lgdi32 -lkernel32" # for openssl
|
||||
TARGET="shared_mingw"
|
||||
;;
|
||||
*) AC_MSG_RESULT([no]) ;;
|
||||
esac
|
||||
|
||||
if test "$use_openssl" = "yes"; then
|
||||
AC_CHECK_LIB(crypto, [CRYPTO_new_ex_data], [], [AC_MSG_ERROR([OpenSSL not found])])
|
||||
AC_CHECK_LIB(ssl, [SSL_library_init], [], [AC_MSG_ERROR([OpenSSL not found])])
|
||||
AC_CHECK_HEADER([openssl/ssl.h], [], [AC_MSG_ERROR([OpenSSL headers not found; did you install the -dev package?])])
|
||||
CFLAGS="$CFLAGS -DENABLE_SSL"
|
||||
fi
|
||||
|
||||
AC_SUBST(TARGET)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(LIBS)
|
||||
AC_SUBST(PREFIX)
|
||||
AC_CONFIG_FILES([examples/Makefile src/Makefile])
|
||||
AC_OUTPUT
|
109
source/shared_lib/sources/libircclient/src/config.h.in
Normal file
109
source/shared_lib/sources/libircclient/src/config.h.in
Normal file
@@ -0,0 +1,109 @@
|
||||
/* include/config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the `getaddrinfo' function. */
|
||||
#undef HAVE_GETADDRINFO
|
||||
|
||||
/* Define to 1 if you have the `gethostbyname_r' function. */
|
||||
#undef HAVE_GETHOSTBYNAME_R
|
||||
|
||||
/* Define to 1 if you have the `inet_ntoa' function. */
|
||||
#undef HAVE_INET_NTOA
|
||||
|
||||
/* Define to 1 if you have the `inet_pton' function. */
|
||||
#undef HAVE_INET_PTON
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `localtime_r' function. */
|
||||
#undef HAVE_LOCALTIME_R
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#undef HAVE_MALLOC
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `socket' function. */
|
||||
#undef HAVE_SOCKET
|
||||
|
||||
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
||||
zero-length file name argument. */
|
||||
#undef HAVE_STAT_EMPTY_STRING_BUG
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/select.h> header file. */
|
||||
#undef HAVE_SYS_SELECT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#undef HAVE_SYS_SOCKET_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
||||
slash. */
|
||||
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to the type of arg 1 for `select'. */
|
||||
#undef SELECT_TYPE_ARG1
|
||||
|
||||
/* Define to the type of args 2, 3 and 4 for `select'. */
|
||||
#undef SELECT_TYPE_ARG234
|
||||
|
||||
/* Define to the type of arg 5 for `select'. */
|
||||
#undef SELECT_TYPE_ARG5
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
#undef malloc
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
@@ -19,4 +19,7 @@
|
||||
*.ini
|
||||
*.obj
|
||||
*.res
|
||||
*.user
|
||||
*.user
|
||||
*.suo
|
||||
*.db-shm
|
||||
*.db-wal
|
@@ -19,4 +19,7 @@
|
||||
*.ini
|
||||
*.obj
|
||||
*.res
|
||||
*.user
|
||||
*.user
|
||||
*.suo
|
||||
*.db-shm
|
||||
*.db-wal
|
@@ -19,4 +19,7 @@
|
||||
*.ini
|
||||
*.obj
|
||||
*.res
|
||||
*.user
|
||||
*.user
|
||||
*.suo
|
||||
*.db-shm
|
||||
*.db-wal
|
@@ -19,4 +19,7 @@
|
||||
*.ini
|
||||
*.obj
|
||||
*.res
|
||||
*.user
|
||||
*.user
|
||||
*.suo
|
||||
*.db-shm
|
||||
*.db-wal
|
Reference in New Issue
Block a user