root / configure.in @ 424
History | View | Annotate | Download (10.1 kB)
| 1 | 1 | hiro | dnl Process this file with autoconf to produce a configure script. |
|---|---|---|---|
| 2 | 1 | hiro | AC_PREREQ(2.50) |
| 3 | 1 | hiro | AC_INIT(src/main.c) |
| 4 | 1 | hiro | PACKAGE=sylpheed |
| 5 | 1 | hiro | |
| 6 | 1 | hiro | dnl version number |
| 7 | 324 | hiro | MAJOR_VERSION=2 |
| 8 | 324 | hiro | MINOR_VERSION=0 |
| 9 | 324 | hiro | MICRO_VERSION=0 |
| 10 | 1 | hiro | INTERFACE_AGE=0 |
| 11 | 1 | hiro | BINARY_AGE=0 |
| 12 | 413 | hiro | EXTRA_VERSION=beta5 |
| 13 | 1 | hiro | VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION |
| 14 | 1 | hiro | |
| 15 | 1 | hiro | dnl set $target |
| 16 | 1 | hiro | AC_CANONICAL_SYSTEM |
| 17 | 1 | hiro | |
| 18 | 1 | hiro | dnl |
| 19 | 1 | hiro | AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) |
| 20 | 1 | hiro | dnl AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") |
| 21 | 1 | hiro | dnl AC_DEFINE_UNQUOTED(VERSION, "$VERSION") |
| 22 | 1 | hiro | AC_SUBST(PACKAGE) |
| 23 | 1 | hiro | AC_SUBST(VERSION) |
| 24 | 1 | hiro | |
| 25 | 1 | hiro | dnl libtool versioning |
| 26 | 1 | hiro | LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION |
| 27 | 1 | hiro | LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE` |
| 28 | 1 | hiro | LT_REVISION=$INTERFACE_AGE |
| 29 | 1 | hiro | LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE` |
| 30 | 1 | hiro | AC_SUBST(LT_RELEASE) |
| 31 | 1 | hiro | AC_SUBST(LT_CURRENT) |
| 32 | 1 | hiro | AC_SUBST(LT_REVISION) |
| 33 | 1 | hiro | AC_SUBST(LT_AGE) |
| 34 | 1 | hiro | |
| 35 | 1 | hiro | dnl Specify a header configuration file |
| 36 | 1 | hiro | AM_CONFIG_HEADER(config.h) |
| 37 | 1 | hiro | |
| 38 | 1 | hiro | AM_MAINTAINER_MODE |
| 39 | 1 | hiro | |
| 40 | 1 | hiro | dnl Checks for programs. |
| 41 | 1 | hiro | dnl AC_ARG_PROGRAM |
| 42 | 1 | hiro | AC_PROG_CC |
| 43 | 1 | hiro | AC_ISC_POSIX |
| 44 | 1 | hiro | AM_PROG_CC_STDC |
| 45 | 1 | hiro | AC_PROG_INSTALL |
| 46 | 1 | hiro | AC_PROG_LN_S |
| 47 | 1 | hiro | AC_PROG_MAKE_SET |
| 48 | 1 | hiro | AC_PROG_CPP |
| 49 | 1 | hiro | dnl AC_PROG_RANLIB |
| 50 | 1 | hiro | AM_PROG_LEX |
| 51 | 1 | hiro | AC_PROG_YACC |
| 52 | 1 | hiro | AM_PROG_LIBTOOL |
| 53 | 1 | hiro | |
| 54 | 1 | hiro | SYLPHEED_ACLOCAL_INCLUDE(ac) |
| 55 | 1 | hiro | |
| 56 | 1 | hiro | case "$target" in |
| 57 | 1 | hiro | *-darwin*) |
| 58 | 200 | hiro | CFLAGS="$CFLAGS -no-cpp-precomp -fno-common" |
| 59 | 1 | hiro | ;; |
| 60 | 1 | hiro | esac |
| 61 | 1 | hiro | |
| 62 | 137 | hiro | dnl Checks for libraries. |
| 63 | 137 | hiro | AM_PATH_GLIB_2_0(2.4.0,, AC_MSG_ERROR(Test for GLib failed. See the 'INSTALL' for help.)) |
| 64 | 137 | hiro | |
| 65 | 137 | hiro | AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) |
| 66 | 137 | hiro | |
| 67 | 137 | hiro | AM_PATH_GTK_2_0(2.4.0,, AC_MSG_ERROR(Test for Gtk failed. See the 'INSTALL' for help.)) |
| 68 | 137 | hiro | |
| 69 | 137 | hiro | dnl --disable-deprecated switch for GTK2 purification |
| 70 | 149 | hiro | AC_ARG_ENABLE(deprecated, [ --disable-deprecated Disable deprecated GTK functions. ], |
| 71 | 137 | hiro | [GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"], []) |
| 72 | 137 | hiro | |
| 73 | 137 | hiro | AC_SUBST(GTK_CFLAGS) |
| 74 | 137 | hiro | AC_SUBST(GTK_LIBS) |
| 75 | 137 | hiro | |
| 76 | 1 | hiro | dnl checks for iconv |
| 77 | 1 | hiro | AM_ICONV |
| 78 | 1 | hiro | |
| 79 | 1 | hiro | AC_CHECK_FUNCS(bind_textdomain_codeset) |
| 80 | 1 | hiro | |
| 81 | 1 | hiro | dnl for gettext |
| 82 | 324 | hiro | ALL_LINGUAS="bg cs da de el es et fr gl hr hu it ja ko lt nl pl pt_BR ro ru sk sl sr sv tr uk zh_CN zh_TW.Big5" |
| 83 | 1 | hiro | GETTEXT_PACKAGE=sylpheed |
| 84 | 1 | hiro | AC_SUBST(GETTEXT_PACKAGE) |
| 85 | 1 | hiro | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Define text domain.]) |
| 86 | 93 | hiro | |
| 87 | 93 | hiro | AM_GLIB_GNU_GETTEXT |
| 88 | 93 | hiro | dnl AM_GNU_GETTEXT |
| 89 | 1 | hiro | dnl AC_CHECK_FUNC(gettext, AC_CHECK_LIB(intl, gettext)) |
| 90 | 1 | hiro | localedir='${prefix}/${DATADIRNAME}/locale'
|
| 91 | 1 | hiro | AC_SUBST(localedir) |
| 92 | 1 | hiro | |
| 93 | 1 | hiro | manualdir='${prefix}/${DATADIRNAME}/${PACKAGE}/manual'
|
| 94 | 1 | hiro | AC_SUBST(manualdir) |
| 95 | 1 | hiro | faqdir='${prefix}/${DATADIRNAME}/${PACKAGE}/faq'
|
| 96 | 1 | hiro | AC_SUBST(faqdir) |
| 97 | 1 | hiro | |
| 98 | 1 | hiro | dnl GPGME is used to support OpenPGP |
| 99 | 1 | hiro | AC_ARG_ENABLE(gpgme, |
| 100 | 355 | hiro | [ --disable-gpgme Disable GnuPG support using GPGME], |
| 101 | 355 | hiro | [ac_cv_enable_gpgme=$enableval], [ac_cv_enable_gpgme=yes]) |
| 102 | 1 | hiro | AC_MSG_CHECKING([whether to use GPGME]) |
| 103 | 1 | hiro | if test $ac_cv_enable_gpgme = yes; then |
| 104 | 1 | hiro | AC_MSG_RESULT(yes) |
| 105 | 56 | hiro | AM_PATH_GPGME(0.4.5, AC_DEFINE(USE_GPGME, 1, Define if you use GPGME to support OpenPGP.), |
| 106 | 1 | hiro | [use_gpgme=no |
| 107 | 1 | hiro | ac_cv_enable_gpgme=no]) |
| 108 | 1 | hiro | else |
| 109 | 1 | hiro | AC_MSG_RESULT(no) |
| 110 | 1 | hiro | fi |
| 111 | 1 | hiro | |
| 112 | 1 | hiro | dnl for JPilot support in addressbook |
| 113 | 1 | hiro | dnl no check for libraries; these are dynamically loaded |
| 114 | 1 | hiro | AC_ARG_ENABLE(jpilot, |
| 115 | 355 | hiro | [ --enable-jpilot Enable JPilot support [[default=no]]], |
| 116 | 1 | hiro | [ac_cv_enable_jpilot=$enableval], [ac_cv_enable_jpilot=no]) |
| 117 | 1 | hiro | AC_MSG_CHECKING([whether to use JPilot]) |
| 118 | 1 | hiro | if test "$ac_cv_enable_jpilot" = yes; then |
| 119 | 1 | hiro | AC_MSG_RESULT(yes) |
| 120 | 1 | hiro | AC_CHECK_HEADERS(pi-args.h pi-appinfo.h pi-address.h, |
| 121 | 1 | hiro | [ AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.) ], |
| 122 | 1 | hiro | [ ac_cv_enable_jpilot=no ]) |
| 123 | 1 | hiro | if test "$ac_cv_enable_jpilot" = no; then |
| 124 | 1 | hiro | AC_CHECK_HEADERS(libpisock/pi-args.h libpisock/pi-appinfo.h libpisock/pi-address.h, |
| 125 | 1 | hiro | [ ac_cv_enable_jpilot=yes |
| 126 | 1 | hiro | AC_DEFINE(USE_JPILOT, 1, Define if you want JPilot support in addressbook.) ]) |
| 127 | 1 | hiro | fi |
| 128 | 1 | hiro | AC_MSG_CHECKING([whether jpilot is available]) |
| 129 | 1 | hiro | AC_MSG_RESULT($ac_cv_enable_jpilot) |
| 130 | 1 | hiro | |
| 131 | 1 | hiro | if test "$ac_cv_enable_jpilot" = yes; then |
| 132 | 1 | hiro | LIBS="$LIBS -lpisock" |
| 133 | 1 | hiro | fi |
| 134 | 1 | hiro | else |
| 135 | 1 | hiro | AC_MSG_RESULT(no) |
| 136 | 1 | hiro | fi |
| 137 | 1 | hiro | |
| 138 | 1 | hiro | dnl for LDAP support in addressbook |
| 139 | 1 | hiro | dnl no check for libraries; dynamically loaded |
| 140 | 1 | hiro | AC_ARG_ENABLE(ldap, |
| 141 | 355 | hiro | [ --enable-ldap Enable LDAP support [[default=no]]], |
| 142 | 1 | hiro | [ac_cv_enable_ldap=$enableval], [ac_cv_enable_ldap=no]) |
| 143 | 1 | hiro | AC_MSG_CHECKING([whether to use LDAP]) |
| 144 | 1 | hiro | if test "$ac_cv_enable_ldap" = yes; then |
| 145 | 1 | hiro | AC_MSG_RESULT(yes) |
| 146 | 1 | hiro | |
| 147 | 1 | hiro | dnl check for available libraries, and pull them in |
| 148 | 1 | hiro | AC_CHECK_LIB(resolv, res_query, LDAP_LIBS="$LDAP_LIBS -lresolv") |
| 149 | 1 | hiro | AC_CHECK_LIB(socket, bind, LDAP_LIBS="$LDAP_LIBS -lsocket") |
| 150 | 1 | hiro | AC_CHECK_LIB(nsl, gethostbyaddr, LDAP_LIBS="$LDAP_LIBS -lnsl") |
| 151 | 1 | hiro | AC_CHECK_LIB(lber, ber_get_tag, LDAP_LIBS="$LDAP_LIBS -llber",, |
| 152 | 1 | hiro | $LDAP_LIBS) |
| 153 | 1 | hiro | |
| 154 | 1 | hiro | dnl we need libpthread for sylpheed ldap, until we find |
| 155 | 1 | hiro | dnl a better way to handle ldap requests asynchronously... |
| 156 | 1 | hiro | AC_CHECK_LIB(pthread, pthread_create, LDAP_LIBS="$LDAP_LIBS -lpthread") |
| 157 | 1 | hiro | |
| 158 | 1 | hiro | AC_CHECK_HEADERS(ldap.h lber.h pthread.h, |
| 159 | 1 | hiro | [ ac_cv_enable_ldap=yes ], |
| 160 | 1 | hiro | [ ac_cv_enable_ldap=no ]) |
| 161 | 1 | hiro | |
| 162 | 1 | hiro | if test "$ac_cv_enable_ldap" = yes; then |
| 163 | 1 | hiro | AC_CHECK_LIB(ldap, ldap_open, |
| 164 | 1 | hiro | [ ac_cv_enable_ldap=yes ], |
| 165 | 1 | hiro | [ ac_cv_enable_ldap=no ], |
| 166 | 1 | hiro | $LDAP_LIBS) |
| 167 | 1 | hiro | fi |
| 168 | 1 | hiro | |
| 169 | 1 | hiro | AC_MSG_CHECKING([whether ldap library is available]) |
| 170 | 1 | hiro | AC_MSG_RESULT($ac_cv_enable_ldap) |
| 171 | 1 | hiro | |
| 172 | 1 | hiro | if test "$ac_cv_enable_ldap" = yes; then |
| 173 | 138 | hiro | CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gthread-2.0`" |
| 174 | 138 | hiro | LDAP_LIBS="$LDAP_LIBS -lldap `$PKG_CONFIG --libs gthread-2.0`" |
| 175 | 1 | hiro | AC_DEFINE(USE_LDAP, 1, Define if you want LDAP support in addressbook.) |
| 176 | 1 | hiro | AC_SUBST(LDAP_LIBS) |
| 177 | 1 | hiro | fi |
| 178 | 1 | hiro | else |
| 179 | 1 | hiro | AC_MSG_RESULT(no) |
| 180 | 1 | hiro | fi |
| 181 | 1 | hiro | |
| 182 | 1 | hiro | dnl Check for OpenSSL |
| 183 | 1 | hiro | AC_ARG_ENABLE(ssl, |
| 184 | 355 | hiro | [ --disable-ssl Disable SSL support using OpenSSL], |
| 185 | 355 | hiro | [ac_cv_enable_ssl=$enableval], [ac_cv_enable_ssl=yes]) |
| 186 | 1 | hiro | AC_MSG_CHECKING([whether to use OpenSSL]) |
| 187 | 1 | hiro | if test $ac_cv_enable_ssl = yes; then |
| 188 | 1 | hiro | AC_MSG_RESULT(yes) |
| 189 | 355 | hiro | dnl First check with pkg-config |
| 190 | 355 | hiro | PKG_CHECK_MODULES(OPENSSL, openssl, [:], [:]) |
| 191 | 355 | hiro | if test "x$OPENSSL_LIBS" != "x"; then |
| 192 | 355 | hiro | CFLAGS="$CFLAGS $OPENSSL_CFLAGS" |
| 193 | 355 | hiro | LIBS="$LIBS $OPENSSL_LIBS" |
| 194 | 355 | hiro | AC_MSG_CHECKING([if openssl is available]) |
| 195 | 355 | hiro | AC_MSG_RESULT(yes) |
| 196 | 355 | hiro | AC_DEFINE(USE_SSL, 1, Define if you use OpenSSL to support SSL.) |
| 197 | 355 | hiro | else |
| 198 | 355 | hiro | dnl If pkg-config fails, run compile/link test. |
| 199 | 355 | hiro | AC_MSG_CHECKING([if openssl is available]) |
| 200 | 355 | hiro | LIBS="$LIBS -lssl -lcrypto" |
| 201 | 355 | hiro | AC_TRY_LINK([ |
| 202 | 1 | hiro | #include <openssl/opensslv.h> |
| 203 | 355 | hiro | ], [ return OPENSSL_VERSION_NUMBER; ], |
| 204 | 355 | hiro | [ AC_MSG_RESULT(yes) |
| 205 | 355 | hiro | AC_DEFINE(USE_SSL, 1, Define if you use OpenSSL to support SSL.) ], |
| 206 | 355 | hiro | [ AC_MSG_RESULT(no) |
| 207 | 355 | hiro | LIBS="$ac_save_LIBS" |
| 208 | 355 | hiro | ac_cv_enable_ssl=no ]) |
| 209 | 355 | hiro | fi |
| 210 | 1 | hiro | else |
| 211 | 1 | hiro | AC_MSG_RESULT(no) |
| 212 | 1 | hiro | fi |
| 213 | 1 | hiro | |
| 214 | 1 | hiro | dnl Check for X-Face support |
| 215 | 1 | hiro | AC_ARG_ENABLE(compface, |
| 216 | 1 | hiro | [ --disable-compface Do not use compface (X-Face)], |
| 217 | 1 | hiro | [ac_cv_enable_compface=$enableval], [ac_cv_enable_compface=yes]) |
| 218 | 1 | hiro | if test "$ac_cv_enable_compface" = yes; then |
| 219 | 1 | hiro | AC_CHECK_LIB(compface, uncompface,,[ac_cv_enable_compface=no]) |
| 220 | 1 | hiro | fi |
| 221 | 1 | hiro | |
| 222 | 1 | hiro | AC_CHECK_LIB(xpg4, setlocale) |
| 223 | 1 | hiro | |
| 224 | 1 | hiro | dnl for GThread support (currently disabled) |
| 225 | 1 | hiro | dnl AC_ARG_ENABLE(threads, |
| 226 | 355 | hiro | dnl [ --enable-threads Enable multithread support [[default=no]]], |
| 227 | 1 | hiro | dnl [use_threads=$enableval], [use_threads=no]) |
| 228 | 1 | hiro | |
| 229 | 1 | hiro | AC_MSG_CHECKING([whether to use threads]) |
| 230 | 1 | hiro | if test x"$use_threads" = xyes ; then |
| 231 | 1 | hiro | AC_MSG_RESULT(yes) |
| 232 | 138 | hiro | if test ! -z `$PKG_CONFIG --help 2>&1 |grep 'gthread-2.0'` ; then |
| 233 | 138 | hiro | CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gthread-2.0`" |
| 234 | 138 | hiro | LIBS="$LIBS `$PKG_CONFIG --libs gthread-2.0`" |
| 235 | 1 | hiro | AC_DEFINE(USE_THREADS, 1, Whether to use multithread or not) |
| 236 | 1 | hiro | else |
| 237 | 1 | hiro | AC_MSG_ERROR([Sylpheed requires GThread from GLib to use threading.]) |
| 238 | 1 | hiro | fi |
| 239 | 1 | hiro | else |
| 240 | 1 | hiro | AC_MSG_RESULT(no) |
| 241 | 1 | hiro | fi |
| 242 | 1 | hiro | |
| 243 | 1 | hiro | dnl check for IPv6 option |
| 244 | 1 | hiro | AC_ARG_ENABLE(ipv6, |
| 245 | 1 | hiro | [ --disable-ipv6 Disable IPv6 support], |
| 246 | 1 | hiro | [ac_cv_enable_ipv6=$enableval], [ac_cv_enable_ipv6=yes]) |
| 247 | 1 | hiro | |
| 248 | 1 | hiro | dnl automated checks for IPv6 support. |
| 249 | 1 | hiro | AC_MSG_CHECKING([whether to use IPv6]) |
| 250 | 1 | hiro | if test x"$ac_cv_enable_ipv6" = xyes; then |
| 251 | 1 | hiro | AC_MSG_RESULT(yes) |
| 252 | 1 | hiro | AC_MSG_CHECKING([for IPv6 support]) |
| 253 | 1 | hiro | AC_CACHE_VAL(ac_cv_ipv6,[ |
| 254 | 1 | hiro | AC_TRY_COMPILE([#define INET6 |
| 255 | 1 | hiro | #include <sys/types.h> |
| 256 | 1 | hiro | #include <netinet/in.h>], |
| 257 | 1 | hiro | [int x = IPPROTO_IPV6; struct in6_addr a;], |
| 258 | 1 | hiro | ac_cv_ipv6=yes, ac_cv_ipv6=no) |
| 259 | 1 | hiro | ]) |
| 260 | 1 | hiro | AC_MSG_RESULT($ac_cv_ipv6) |
| 261 | 1 | hiro | if test $ac_cv_ipv6 = yes; then |
| 262 | 1 | hiro | AC_DEFINE(INET6, 1, Define if you want IPv6 support.) |
| 263 | 1 | hiro | else |
| 264 | 1 | hiro | AC_MSG_WARN(*** IPv6 will not be supported ***) |
| 265 | 1 | hiro | ac_cv_enable_ipv6=no |
| 266 | 1 | hiro | fi |
| 267 | 1 | hiro | else |
| 268 | 1 | hiro | AC_MSG_RESULT(no) |
| 269 | 1 | hiro | fi |
| 270 | 1 | hiro | |
| 271 | 1 | hiro | dnl Check for d_type member in struct dirent |
| 272 | 1 | hiro | AC_MSG_CHECKING([whether struct dirent has d_type member]) |
| 273 | 1 | hiro | AC_CACHE_VAL(ac_cv_dirent_d_type,[ |
| 274 | 1 | hiro | AC_TRY_COMPILE([#include <dirent.h>], |
| 275 | 1 | hiro | [struct dirent d; d.d_type = DT_REG;], |
| 276 | 1 | hiro | ac_cv_dirent_d_type=yes, ac_cv_dirent_d_type=no) |
| 277 | 1 | hiro | ]) |
| 278 | 1 | hiro | AC_MSG_RESULT($ac_cv_dirent_d_type) |
| 279 | 1 | hiro | if test $ac_cv_dirent_d_type = yes; then |
| 280 | 1 | hiro | AC_DEFINE(HAVE_DIRENT_D_TYPE, 1, |
| 281 | 1 | hiro | Define if `struct dirent' has `d_type' member.) |
| 282 | 1 | hiro | fi |
| 283 | 1 | hiro | |
| 284 | 1 | hiro | |
| 285 | 1 | hiro | dnl Checks for header files. |
| 286 | 1 | hiro | AC_HEADER_DIRENT |
| 287 | 1 | hiro | AC_HEADER_STDC |
| 288 | 1 | hiro | AC_HEADER_SYS_WAIT |
| 289 | 1 | hiro | AC_CHECK_HEADERS(fcntl.h sys/file.h unistd.h paths.h \ |
| 290 | 1 | hiro | sys/param.h sys/utsname.h sys/select.h \ |
| 291 | 1 | hiro | wchar.h wctype.h) |
| 292 | 1 | hiro | |
| 293 | 1 | hiro | dnl Checks for typedefs, structures, and compiler characteristics. |
| 294 | 1 | hiro | AC_C_CONST |
| 295 | 1 | hiro | AC_TYPE_OFF_T |
| 296 | 1 | hiro | AC_TYPE_PID_T |
| 297 | 1 | hiro | AC_TYPE_SIZE_T |
| 298 | 1 | hiro | AC_STRUCT_TM |
| 299 | 1 | hiro | |
| 300 | 56 | hiro | AC_SYS_LARGEFILE |
| 301 | 56 | hiro | AC_FUNC_FSEEKO |
| 302 | 56 | hiro | |
| 303 | 1 | hiro | dnl AC_CHECK_TYPE(wint_t, unsigned int) does not work because wint_t |
| 304 | 1 | hiro | dnl may be defined only in wchar.h (this happens with gcc-2.96). |
| 305 | 1 | hiro | dnl So we need to use this extended macro. |
| 306 | 1 | hiro | SYLPHEED_CHECK_TYPE(wint_t, unsigned int, |
| 307 | 1 | hiro | [ |
| 308 | 1 | hiro | #if HAVE_WCHAR_H |
| 309 | 1 | hiro | #include <wchar.h> |
| 310 | 1 | hiro | #endif |
| 311 | 1 | hiro | ], Define to `unsigned int' if <stddef.h> or <wchar.h> doesn't define.) |
| 312 | 1 | hiro | |
| 313 | 1 | hiro | GNUPG_CHECK_TYPEDEF(u32, HAVE_U32_TYPEDEF, Used to test for a u32 typedef) |
| 314 | 1 | hiro | AC_CHECK_SIZEOF(unsigned short, 2) |
| 315 | 1 | hiro | AC_CHECK_SIZEOF(unsigned int, 4) |
| 316 | 1 | hiro | AC_CHECK_SIZEOF(unsigned long, 4) |
| 317 | 1 | hiro | |
| 318 | 1 | hiro | dnl Checks for library functions. |
| 319 | 1 | hiro | AC_FUNC_ALLOCA |
| 320 | 1 | hiro | AC_CHECK_FUNCS(gethostname mkdir mktime socket strstr strchr \ |
| 321 | 1 | hiro | wcsstr wcswcs iswalnum iswspace towlower \ |
| 322 | 1 | hiro | wcslen wcscpy wcsncpy \ |
| 323 | 1 | hiro | uname flock lockf inet_aton inet_addr \ |
| 324 | 1 | hiro | fchmod mkstemp) |
| 325 | 1 | hiro | |
| 326 | 1 | hiro | AC_OUTPUT([ |
| 327 | 1 | hiro | Makefile |
| 328 | 1 | hiro | sylpheed.spec |
| 329 | 1 | hiro | ac/Makefile |
| 330 | 1 | hiro | po/Makefile.in |
| 331 | 1 | hiro | src/version.h |
| 332 | 1 | hiro | src/Makefile |
| 333 | 398 | hiro | src/pixmaps/Makefile |
| 334 | 1 | hiro | faq/Makefile |
| 335 | 1 | hiro | faq/de/Makefile |
| 336 | 1 | hiro | faq/en/Makefile |
| 337 | 1 | hiro | faq/es/Makefile |
| 338 | 1 | hiro | faq/fr/Makefile |
| 339 | 1 | hiro | faq/it/Makefile |
| 340 | 1 | hiro | manual/Makefile |
| 341 | 1 | hiro | manual/en/Makefile |
| 342 | 1 | hiro | manual/ja/Makefile |
| 343 | 1 | hiro | ]) |
| 344 | 1 | hiro | |
| 345 | 1 | hiro | dnl Output the configuration summary |
| 346 | 1 | hiro | echo "" |
| 347 | 1 | hiro | echo "$PACKAGE $VERSION" |
| 348 | 1 | hiro | echo "" |
| 349 | 1 | hiro | echo "GnuPG : $ac_cv_enable_gpgme" |
| 350 | 1 | hiro | echo "JPilot : $ac_cv_enable_jpilot" |
| 351 | 1 | hiro | echo "LDAP : $ac_cv_enable_ldap" |
| 352 | 1 | hiro | echo "OpenSSL : $ac_cv_enable_ssl" |
| 353 | 1 | hiro | echo "iconv : $am_cv_func_iconv" |
| 354 | 1 | hiro | echo "compface : $ac_cv_enable_compface" |
| 355 | 1 | hiro | echo "IPv6 : $ac_cv_enable_ipv6" |
| 356 | 1 | hiro | echo "" |
| 357 | 1 | hiro | echo "The binary will be installed in $prefix/bin" |
| 358 | 1 | hiro | echo "" |
| 359 | 1 | hiro | echo "Configure finished, type 'make' to build." |