Mercurial > pidgin.yaz
comparison configure.in @ 991:3dbc2cd326e2
[gaim-migrate @ 1001]
check for getopt, and --disable-multi (which doesn't actually disable it, it just makes it inaccessible from the GUI)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 13 Oct 2000 21:05:50 +0000 |
parents | 7e231bc0018a |
children | 66481301d972 |
comparison
equal
deleted
inserted
replaced
990:d2d6be9c85fe | 991:3dbc2cd326e2 |
---|---|
29 AC_TYPE_SIGNAL | 29 AC_TYPE_SIGNAL |
30 AC_FUNC_STRFTIME | 30 AC_FUNC_STRFTIME |
31 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) | 31 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) |
32 AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),) | 32 AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),) |
33 | 33 |
34 dnl Checks for getopt in standard library | |
35 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) | |
36 AC_SUBST(LIBOBJS) | |
37 | |
34 dnl This is a bad, bad hack. I am a bad, bad man. | 38 dnl This is a bad, bad hack. I am a bad, bad man. |
35 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" | 39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" |
36 | 40 |
37 AC_ARG_ENABLE(distrib,,,enable_distrib=no) | 41 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
38 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | 42 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
43 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],enable_multi=no,enable_multi=yes) | |
39 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],enable_gnome=no,enable_gnome=yes) | 44 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],enable_gnome=no,enable_gnome=yes) |
40 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) | 45 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) |
41 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") | 46 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") |
42 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],enable_esd=no,enable_esd=yes) | 47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],enable_esd=no,enable_esd=yes) |
43 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) | 48 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) |
96 AM_PATH_GTK(1.2.0,,,gthread) | 101 AM_PATH_GTK(1.2.0,,,gthread) |
97 LIBS="$LIBS $GTK_LIBS" | 102 LIBS="$LIBS $GTK_LIBS" |
98 AC_PATH_PROG(gaimpath, gaim) | 103 AC_PATH_PROG(gaimpath, gaim) |
99 fi | 104 fi |
100 | 105 |
106 if test "x$enable_multi" != "xyes" ; then | |
107 AC_DEFINE(NO_MULTI) | |
108 fi | |
109 | |
101 CFLAGS="$CFLAGS $GTK_CFLAGS" | 110 CFLAGS="$CFLAGS $GTK_CFLAGS" |
102 | 111 |
103 dnl Even more X-Chat code | 112 dnl Even more X-Chat code |
104 if test "$enable_plugins" = yes ; then | 113 if test "$enable_plugins" = yes ; then |
105 AC_CHECK_FUNCS(dlopen, have_dl=yes) | 114 AC_CHECK_FUNCS(dlopen, have_dl=yes) |