comparison configure.ac @ 21284:6de09629f091

propagate from branch 'im.pidgin.pidgin.next.minor' (head 0c9637482b845cc65e95a26e144697391c51133f) to branch 'im.pidgin.pidgin' (head e3a6991e78dac328f13804950fee54dfb8afc3c5)
author Ka-Hing Cheung <khc@hxbc.us>
date Sat, 10 Nov 2007 04:52:20 +0000
parents 059d6deebee7 33da7f2a30e4
children b4311f608d80
comparison
equal deleted inserted replaced
21283:406aa3be6b32 21284:6de09629f091
53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) 53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix]))
54 54
55 m4_define([gnt_lt_current], [2]) 55 m4_define([gnt_lt_current], [2])
56 m4_define([gnt_major_version], [2]) 56 m4_define([gnt_major_version], [2])
57 m4_define([gnt_minor_version], [2]) 57 m4_define([gnt_minor_version], [2])
58 m4_define([gnt_micro_version], [2]) 58 m4_define([gnt_micro_version], [3])
59 m4_define([gnt_version_suffix], []) 59 m4_define([gnt_version_suffix], [])
60 m4_define([gnt_version], 60 m4_define([gnt_version],
61 [gnt_major_version.gnt_minor_version.gnt_micro_version]) 61 [gnt_major_version.gnt_minor_version.gnt_micro_version])
62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) 62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix]))
63 63
231 AC_SYS_LARGEFILE 231 AC_SYS_LARGEFILE
232 232
233 dnl FreeBSD doesn't have libdl, dlopen is provided by libc 233 dnl FreeBSD doesn't have libdl, dlopen is provided by libc
234 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) 234 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
235 235
236 AC_MSG_CHECKING(for fileno())
237 AC_TRY_RUN([
238 #include <stdio.h>
239
240 int main(int argc, char *argv[])
241 {
242 int fd;
243
244 fd = fileno(stdout);
245
246 return !(fd > 0);
247 }
248 ], [
249 AC_MSG_RESULT(yes)
250 AC_DEFINE([HAVE_FILENO], [1],
251 [Define to 1 if your stdio has int fileno(FILE *).])
252 ], [
253 AC_MSG_RESULT(no)
254 ], [
255 # Fallback for Cross Compiling...
256 # This will enable the compatibility code.
257 AC_MSG_RESULT(no)
258 ])
259
236 AC_MSG_CHECKING(for the %z format string in strftime()) 260 AC_MSG_CHECKING(for the %z format string in strftime())
237 AC_TRY_RUN([ 261 AC_TRY_RUN([
238 #ifdef HAVE_SYS_TIME_H 262 #ifdef HAVE_SYS_TIME_H
239 #include <sys/time.h> 263 #include <sys/time.h>
240 #endif 264 #endif
280 304
281 You must have the GLib 2.0 development headers installed to build. 305 You must have the GLib 2.0 development headers installed to build.
282 ])]) 306 ])])
283 AC_SUBST(GLIB_CFLAGS) 307 AC_SUBST(GLIB_CFLAGS)
284 AC_SUBST(GLIB_LIBS) 308 AC_SUBST(GLIB_LIBS)
309
310 AC_ARG_WITH([extraversion],
311 AC_HELP_STRING([--with-extraversion=STRING],
312 [extra version number to be displayed in Help->About and --help (for packagers)]),
313 EXTRA_VERSION=$withval)
314
315 if test x"$EXTRA_VERSION" != "x" ; then
316 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION-$EXTRA_VERSION", [display version info])
317 else
318 AC_DEFINE_UNQUOTED(DISPLAY_VERSION, "$VERSION", [display version info])
319 fi
285 320
286 AC_ARG_WITH(x, [], 321 AC_ARG_WITH(x, [],
287 with_x="$withval", with_x="yes") 322 with_x="$withval", with_x="yes")
288 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui], 323 AC_ARG_ENABLE(gtkui, [AC_HELP_STRING([--disable-gtkui],
289 [compile without GTK+ user interface])], 324 [compile without GTK+ user interface])],
2165 pidgin.apspec 2200 pidgin.apspec
2166 pidgin/Makefile 2201 pidgin/Makefile
2167 pidgin/pidgin.pc 2202 pidgin/pidgin.pc
2168 pidgin/pidgin-uninstalled.pc 2203 pidgin/pidgin-uninstalled.pc
2169 pidgin/pixmaps/Makefile 2204 pidgin/pixmaps/Makefile
2170 pidgin/pixmaps/animations/Makefile
2171 pidgin/pixmaps/animations/16/Makefile
2172 pidgin/pixmaps/buddy_icons/Makefile
2173 pidgin/pixmaps/buddy_icons/qq/Makefile 2205 pidgin/pixmaps/buddy_icons/qq/Makefile
2174 pidgin/pixmaps/dialogs/Makefile
2175 pidgin/pixmaps/dialogs/16/Makefile 2206 pidgin/pixmaps/dialogs/16/Makefile
2176 pidgin/pixmaps/dialogs/16/scalable/Makefile
2177 pidgin/pixmaps/dialogs/64/Makefile 2207 pidgin/pixmaps/dialogs/64/Makefile
2178 pidgin/pixmaps/dialogs/64/scalable/Makefile
2179 pidgin/pixmaps/emblems/Makefile
2180 pidgin/pixmaps/emblems/16/Makefile 2208 pidgin/pixmaps/emblems/16/Makefile
2181 pidgin/pixmaps/emblems/16/scalable/Makefile
2182 pidgin/pixmaps/emotes/Makefile
2183 pidgin/pixmaps/emotes/default/Makefile
2184 pidgin/pixmaps/emotes/default/24/Makefile 2209 pidgin/pixmaps/emotes/default/24/Makefile
2185 pidgin/pixmaps/emotes/default/24/scalable/Makefile
2186 pidgin/pixmaps/emotes/none/Makefile 2210 pidgin/pixmaps/emotes/none/Makefile
2187 pidgin/pixmaps/icons/Makefile
2188 pidgin/pixmaps/icons/16/Makefile 2211 pidgin/pixmaps/icons/16/Makefile
2189 pidgin/pixmaps/icons/16/scalable/Makefile
2190 pidgin/pixmaps/icons/22/Makefile 2212 pidgin/pixmaps/icons/22/Makefile
2191 pidgin/pixmaps/icons/22/scalable/Makefile
2192 pidgin/pixmaps/icons/24/Makefile 2213 pidgin/pixmaps/icons/24/Makefile
2193 pidgin/pixmaps/icons/24/scalable/Makefile
2194 pidgin/pixmaps/icons/32/Makefile 2214 pidgin/pixmaps/icons/32/Makefile
2195 pidgin/pixmaps/icons/32/scalable/Makefile
2196 pidgin/pixmaps/icons/48/Makefile 2215 pidgin/pixmaps/icons/48/Makefile
2197 pidgin/pixmaps/icons/48/scalable/Makefile
2198 pidgin/pixmaps/protocols/Makefile
2199 pidgin/pixmaps/protocols/16/Makefile 2216 pidgin/pixmaps/protocols/16/Makefile
2200 pidgin/pixmaps/protocols/16/scalable/Makefile
2201 pidgin/pixmaps/protocols/22/Makefile 2217 pidgin/pixmaps/protocols/22/Makefile
2202 pidgin/pixmaps/protocols/22/scalable/Makefile
2203 pidgin/pixmaps/protocols/48/Makefile 2218 pidgin/pixmaps/protocols/48/Makefile
2204 pidgin/pixmaps/protocols/48/scalable/Makefile
2205 pidgin/pixmaps/status/Makefile
2206 pidgin/pixmaps/status/11/Makefile 2219 pidgin/pixmaps/status/11/Makefile
2207 pidgin/pixmaps/status/11/scalable/Makefile
2208 pidgin/pixmaps/status/11/rtl/Makefile 2220 pidgin/pixmaps/status/11/rtl/Makefile
2209 pidgin/pixmaps/status/16/Makefile 2221 pidgin/pixmaps/status/16/Makefile
2210 pidgin/pixmaps/status/16/rtl/Makefile 2222 pidgin/pixmaps/status/16/rtl/Makefile
2211 pidgin/pixmaps/status/16/scalable/Makefile
2212 pidgin/pixmaps/status/22/Makefile 2223 pidgin/pixmaps/status/22/Makefile
2213 pidgin/pixmaps/status/22/rtl/Makefile 2224 pidgin/pixmaps/status/22/rtl/Makefile
2214 pidgin/pixmaps/status/22/scalable/Makefile
2215 pidgin/pixmaps/status/32/Makefile 2225 pidgin/pixmaps/status/32/Makefile
2216 pidgin/pixmaps/status/32/rtl/Makefile 2226 pidgin/pixmaps/status/32/rtl/Makefile
2217 pidgin/pixmaps/status/32/scalable/Makefile
2218 pidgin/pixmaps/status/48/Makefile 2227 pidgin/pixmaps/status/48/Makefile
2219 pidgin/pixmaps/status/48/rtl/Makefile 2228 pidgin/pixmaps/status/48/rtl/Makefile
2220 pidgin/pixmaps/toolbar/Makefile
2221 pidgin/pixmaps/toolbar/16/Makefile 2229 pidgin/pixmaps/toolbar/16/Makefile
2222 pidgin/pixmaps/toolbar/16/scalable/Makefile
2223 pidgin/pixmaps/toolbar/22/Makefile 2230 pidgin/pixmaps/toolbar/22/Makefile
2224 pidgin/pixmaps/toolbar/22/scalable/Makefile
2225 pidgin/pixmaps/tray/Makefile
2226 pidgin/pixmaps/tray/16/Makefile 2231 pidgin/pixmaps/tray/16/Makefile
2227 pidgin/pixmaps/tray/16/scalable/Makefile
2228 pidgin/pixmaps/tray/22/Makefile 2232 pidgin/pixmaps/tray/22/Makefile
2229 pidgin/pixmaps/tray/22/scalable/Makefile
2230 pidgin/pixmaps/tray/32/Makefile 2233 pidgin/pixmaps/tray/32/Makefile
2231 pidgin/pixmaps/tray/48/Makefile 2234 pidgin/pixmaps/tray/48/Makefile
2232 pidgin/plugins/Makefile 2235 pidgin/plugins/Makefile
2233 pidgin/plugins/cap/Makefile 2236 pidgin/plugins/cap/Makefile
2234 pidgin/plugins/gestures/Makefile 2237 pidgin/plugins/gestures/Makefile