comparison configure.in @ 1700:1e0fa7e130d0

[gaim-migrate @ 1710] Zephyr. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 12 Apr 2001 09:21:16 +0000
parents 86c71ca7c90f
children d2357b148870
comparison
equal deleted inserted replaced
1699:644056e095f1 1700:1e0fa7e130d0
51 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) 51 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no)
52 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) 52 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes)
53 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) 53 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes)
54 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) 54 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
55 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) 55 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes)
56 AC_ARG_WITH(krb4, [ --with-krb4=PREFIX Compile Zephyr plugin with Kerberos 4 support],kerberos="$withval",kerberos="no")
56 AC_ARG_ENABLE(,,,) 57 AC_ARG_ENABLE(,,,)
57 58
58 if test "$enable_debug" = yes ; then 59 if test "$enable_debug" = yes ; then
59 CFLAGS="$CFLAGS -Wall -g" 60 CFLAGS="$CFLAGS -Wall -g"
60 AC_DEFINE(DEBUG) 61 AC_DEFINE(DEBUG)
202 dnl checks for jabber 203 dnl checks for jabber
203 dnl AC_CHECK_SIZEOF(short) 204 dnl AC_CHECK_SIZEOF(short)
204 AC_CHECK_FUNCS(snprintf connect) 205 AC_CHECK_FUNCS(snprintf connect)
205 AC_CHECK_LIB(nsl, gethostent) 206 AC_CHECK_LIB(nsl, gethostent)
206 207
208 dnl checks for zephyr
209 AC_DEFINE(ZEPHYR_INT32, long)
210 if test "x$kerberos" != "xno" ; then
211 if test "x$kerberos" != "xyes" ; then
212 CFLAGS="$CFLAGS -I${kerberos}/include"
213 if test -d "$kerberos/include/kerberosIV" ; then
214 CFLAGS="$CFLAGS -I${kerberos}/include/kerberosIV"
215 fi
216 LDFLAGS="$LDFLAGS -L${kerberos}/lib"
217 elif test -d /usr/local/include/kerberosIV ; then
218 CFLAGS="$CFLAGS -I/usr/local/include/kerberosIV"
219 elif test -d /usr/include/kerberosIV ; then
220 CFLAGS="$CFLAGS -I/usr/include/kerberosIV"
221 fi
222 AC_DEFINE(ZEPHYR_USES_KERBEROS)
223 AC_CHECK_LIB(krb4, krb_rd_req,
224 [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto"],
225 [AC_CHECK_LIB(krb, krb_rd_req,
226 [KRB4_LIBS="-lkrb -ldes"],
227 [AC_ERROR(Kerberos 4 libraries not found)],
228 -ldes)],
229 -ldes425 -lkrb5 -lcrypto)
230 LIBS="$LIBS $KRB4_LIBS"
231 AC_CHECK_FUNCS(krb_set_key krb_rd_req krb_get_lrealm)
232 fi
233 AC_CHECK_FUNCS(gethostid krb_get_err_text krb_log lrand48)
234 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf)
235 AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h)
236 AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h)
237 AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h)
238 AC_CHECK_HEADERS(termios.h)
239
207 AM_CONDITIONAL(PRPLS, test "x$enable_plugins" = "xyes") 240 AM_CONDITIONAL(PRPLS, test "x$enable_plugins" = "xyes")
208 else 241 else
209 enable_prpls=no 242 enable_prpls=no
210 fi 243 fi
211 244
216 plugins/Makefile 249 plugins/Makefile
217 plugins/yay/Makefile 250 plugins/yay/Makefile
218 plugins/icq/Makefile 251 plugins/icq/Makefile
219 plugins/msn/Makefile 252 plugins/msn/Makefile
220 plugins/jabber/Makefile 253 plugins/jabber/Makefile
254 plugins/zephyr/Makefile
221 pixmaps/Makefile 255 pixmaps/Makefile
222 libfaim/Makefile 256 libfaim/Makefile
223 po/Makefile.in 257 po/Makefile.in
224 doc/Makefile 258 doc/Makefile
225 m4/Makefile 259 m4/Makefile