Mercurial > pidgin.yaz
comparison configure.ac @ 11949:47e1723a89d7
[gaim-migrate @ 14240]
this should keep the test builds from breaking. In the absence of GMP, Sametime will be removed from the build
committer: Tailor Script <tailor@pidgin.im>
author | Christopher O'Brien <siege@pidgin.im> |
---|---|
date | Wed, 02 Nov 2005 04:32:28 +0000 |
parents | 3edbb29daa0c |
children | e094639ab422 |
comparison
equal
deleted
inserted
replaced
11948:fd456a3275a8 | 11949:47e1723a89d7 |
---|---|
98 ]) | 98 ]) |
99 | 99 |
100 dnl to prevent the g_stat()/g_unlink() crash, | 100 dnl to prevent the g_stat()/g_unlink() crash, |
101 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac | 101 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac |
102 AC_SYS_LARGEFILE | 102 AC_SYS_LARGEFILE |
103 | |
104 | |
105 dnl # Check for GMP. If it's not there, Sametime won't build | |
106 have_gmp=yes | |
107 GMP_LIBS= | |
108 GMP_CFLAGS= | |
109 | |
110 # either auto-detect or specify the libgmp.a file for static linking | |
111 withval="auto" | |
112 AC_ARG_WITH(gmp-prefix, | |
113 [ --with-gmp-prefix[=auto] prefix gmp was installed to]) | |
114 | |
115 if test "$withval" = "auto" ; then | |
116 found_prefix=no | |
117 | |
118 if test $found_prefix = "no" ; then | |
119 try_prefix=/usr | |
120 AC_CHECK_HEADER([$try_prefix/include/gmp.h], found_prefix="yes") | |
121 fi | |
122 | |
123 if test $found_prefix = "no" ; then | |
124 try_prefix=/usr/local | |
125 AC_CHECK_HEADER([$try_prefix/include/gmp.h], found_prefix="yes") | |
126 fi | |
127 | |
128 if test $found_prefix = "no" ; then | |
129 dnl AC_MSG_ERROR([GNU MP headers not found]) | |
130 have_gmp=no | |
131 fi | |
132 | |
133 elif test -n "$withval" ; then | |
134 try_prefix=$withval | |
135 | |
136 AC_CHECK_HEADER([$try_prefix/include/gmp.h],, | |
137 [AC_MSG_ERROR([GNU MP headers not found])]) | |
138 | |
139 else | |
140 dnl AC_MSG_ERROR([GNU MP headers not found, $withval]) | |
141 have_gmp=no | |
142 fi | |
143 | |
144 GMP_CFLAGS=-I$try_prefix/include | |
145 | |
146 AC_SUBST(GMP_CFLAGS) | |
147 AC_SUBST(GMP_LIBS) | |
103 | 148 |
104 | 149 |
105 | 150 |
106 dnl ####################################################################### | 151 dnl ####################################################################### |
107 dnl # Check for Howl headers (for Bonjour) | 152 dnl # Check for Howl headers (for Bonjour) |
235 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") | 280 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
236 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") | 281 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
237 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") | 282 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") |
238 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") | 283 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") |
239 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") | 284 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
240 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes") | 285 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes" -a "x$have_gmp" = "xyes") |
241 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") | 286 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") |
242 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") | 287 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") |
243 AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") | 288 AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") |
244 AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") | 289 AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") |
245 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") | 290 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
281 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes") | 326 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes") |
282 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes") | 327 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes") |
283 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") | 328 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") |
284 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") | 329 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") |
285 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") | 330 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") |
286 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes") | 331 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes" -a "x$have_gmp" = "xyes") |
287 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") | 332 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") |
288 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") | 333 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") |
289 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") | 334 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") |
290 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") | 335 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") |
291 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") | 336 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") |