1 AC_INIT(tf4mono, [0.4.7])
3 # disable this experimental stuff for now
4 PKG_CHECK_EXISTS(glade-sharp-2.0, HAVE_GLADE=no, HAVE_GLADE=no)
5 PKG_CHECK_EXISTS(monodevelop, HAVE_MD=no, HAVE_MD=no)
8 AC_CHECK_PROG(ASCIIDOC, [asciidoc], yes)
9 AC_CHECK_PROG(XMLTO, [xmlto], yes)
11 if test "x$ASCIIDOC" = "xyes"; then
12 if test "x$XMLTO" = "xyes"; then
17 AC_ARG_ENABLE(keyring,
18 [ --disable-keyring disable gnome keyring support],
19 HAVE_GNOME_KEYRING=no,
20 PKG_CHECK_EXISTS(gnome-keyring-sharp, HAVE_GNOME_KEYRING=yes, HAVE_GNOME_KEYRING=no)
23 MONO_VERSION=`pkg-config --modversion mono`
24 MD_LIBPATH=`pkg-config monodevelop --variable libdir`
29 [ --disable-magic disable libmagic file attributes],
33 if test "x$HAVE_MAGIC" = "xmaybe"; then
34 AC_CHECK_LIB(magic, magic_open, HAVE_MAGIC=yes, HAVE_MAGIC=no)
37 if test "x$prefix" = "xNONE"; then
41 # assume on windows for now
42 if test "x$MONO_VERSION" = "x"; then
46 echo "prefix=$prefix" > build/config.make
47 echo "exec_prefix=\${prefix}" >> build/config.make
48 echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
49 echo "RUNTIME=mono" >> build/config.make
50 echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> build/config.make
51 echo "MONO_VERSION=$MONO_VERSION" >> build/config.make
52 echo "MONODEVELOP_LIBPATH=$MD_LIBPATH" >> build/config.make
53 echo "MCS_FLAGS=-debug+" >> build/config.make
54 echo "HAVE_GLADE=$HAVE_GLADE" >> build/config.make
55 echo "HAVE_MAGIC=$HAVE_MAGIC" >> build/config.make
56 echo "HAVE_MONODEVELOP=$HAVE_MD" >> build/config.make
57 echo "HAVE_GNOME_KEYRING=$HAVE_GNOME_KEYRING" >> build/config.make
58 echo "HAVE_DOC_TOOLS=$HAVE_DOC_TOOLS" >> build/config.make
67 echo "Configuration Summary"
68 echo "----------------------------------"
70 echo " File Type Support: " $HAVE_MAGIC
71 echo " Man Page Generation: " $HAVE_DOC_TOOLS
72 echo " Gnome Keyring Support: " $HAVE_GNOME_KEYRING
73 echo " Gui Support: " $HAVE_GLADE
74 echo " Monodevelop Addin: " $HAVE_MD
77 if test "x$HAVE_MAGIC" = "xno"; then
78 echo Note: Team Foundation does not natively track file attributes.
79 echo Install libmagic for automagic file attribute support.
82 if test "x$HAVE_DOC_TOOLS" = "xno"; then
83 echo Note: install asciidoc and xmlto for man page generation.