comparison configure.in @ 1094:3deadbe50737

[gaim-migrate @ 1104] making make distcheck work committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 14 Nov 2000 10:34:10 +0000
parents 0b0b4cb53c17
children 124e9f0b9af5
comparison
equal deleted inserted replaced
1093:46ffd2dca607 1094:3deadbe50737
34 dnl Checks for getopt in standard library 34 dnl Checks for getopt in standard library
35 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) 35 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
36 AC_SUBST(LIBOBJS) 36 AC_SUBST(LIBOBJS)
37 37
38 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.
39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" 39 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I\$(top_srcdir)"
40 40
41 AC_ARG_ENABLE(distrib,,,enable_distrib=no) 41 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
42 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=yes) 43 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes)
44 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes) 44 AC_ARG_ENABLE(gnome, [ --disable-gnome compile without Gnome bits],,enable_gnome=yes)
47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) 47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes)
48 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)
49 AC_ARG_ENABLE(plugins, [ --disable-plugins compile with out plugin support],,enable_plugins=yes) 49 AC_ARG_ENABLE(plugins, [ --disable-plugins compile with out plugin support],,enable_plugins=yes)
50 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) 50 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes)
51 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) 51 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
52 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) 52 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes)
53 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") 53 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes")
54 AC_ARG_ENABLE(,,,) 54 AC_ARG_ENABLE(,,,)
55 55
56 if test "$enable_debug" = yes ; then 56 if test "$enable_debug" = yes ; then
57 CFLAGS="$CFLAGS -Wall -g" 57 CFLAGS="$CFLAGS -Wall -g"
58 AC_DEFINE(DEBUG) 58 AC_DEFINE(DEBUG)
59 fi 59 fi
60 60
61 CFLAGS="$CFLAGS -I../libfaim -I../libfaim/faim" 61 CFLAGS="$CFLAGS -I\$(top_srcdir)/libfaim -I\$(top_srcdir)/libfaim/faim"
62 LDADD="$LDADD -L../libfaim -lfaim" 62 LDADD="$LDADD -L../libfaim -lfaim"
63 63
64 if test "x$enable_gnome" = "xyes" ; then 64 if test "x$enable_gnome" = "xyes" ; then
65 if test "x$enable_panel" = "xyes" ; then 65 if test "x$enable_panel" = "xyes" ; then
66 GNOME_INIT(gnomeui applets) 66 GNOME_INIT(gnomeui applets)