Add conditional to configure for eglib build
authorMiguel de Icaza <miguel@gnome.org>
Sun, 8 Oct 2006 21:19:40 +0000 (21:19 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 8 Oct 2006 21:19:40 +0000 (21:19 -0000)
svn path=/trunk/mono/; revision=66431

mono/utils/Makefile.am

index 8eb68f6bfe82ada90d399e9147c7848484eb4ab6..7eda4f60fd2b6db223e0dcee12d4fa23f734f553 100644 (file)
@@ -2,8 +2,14 @@ noinst_LTLIBRARIES = libmonoutils.la
 
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS)
 
+if EGLIB_BUILD 
+       hash_sources = 
+else
+       hash_sources = mono-hash.c
+endif
+
 libmonoutils_la_SOURCES = \
-       mono-hash.c     \
+       $(hash_sources) \
        mono-md5.c      \
        mono-sha1.c     \
        mono-logger.c   \
@@ -36,5 +42,4 @@ libmonoutilsinclude_HEADERS = \
        mono-uri.h      \
        mono-stdlib.h
 
-EXTRA_DIST = ChangeLog
-
+EXTRA_DIST = ChangeLog mono-hash.c mono-hash.h
\ No newline at end of file