aboutsummaryrefslogtreecommitdiffstats
path: root/camel/Makefile.am
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-22 04:40:27 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-22 04:40:27 +0800
commita8ccf540137ec5fa18a00a0a8f4819ab43806a30 (patch)
tree253a0be3c01088df224156cb56e8d5033cce207f /camel/Makefile.am
parent9da28b316177dad8cbc788906e6c8357cc3a3082 (diff)
downloadgsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar.gz
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar.bz2
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar.lz
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar.xz
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.tar.zst
gsoc2013-evolution-a8ccf540137ec5fa18a00a0a8f4819ab43806a30.zip
Check pthreads.
1999-09-21 bertrand <Bertrand.Guiheneuf@aful.org> * configure.in: Check pthreads. * camel/Makefile.am: camel-folder-pt-proxy.c is only compiled when pthreads are available. svn path=/trunk/; revision=1247
Diffstat (limited to 'camel/Makefile.am')
-rw-r--r--camel/Makefile.am25
1 files changed, 21 insertions, 4 deletions
diff --git a/camel/Makefile.am b/camel/Makefile.am
index 322f096e76..ef3d19c44d 100644
--- a/camel/Makefile.am
+++ b/camel/Makefile.am
@@ -11,13 +11,29 @@ INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) \
-I$(top_srcdir)/intl \
$(GTK_INCLUDEDIR)
+
+if HAVE_PTHREAD
+
+libcamel_pthread_SOURCES = \
+ camel-folder-pt-proxy.c
+
+libcamel_pthread_HEADERS = \
+ camel-folder-pt-proxy.h
+
+else
+
+libcamel_pthread_SOURCES =
+libcamel_pthread_HEADERS =
+
+endif
+
+
libcamel_la_SOURCES = \
camel.c \
camel-log.c \
camel-data-wrapper.c \
camel-simple-data-wrapper.c \
camel-folder.c \
- camel-folder-pt-proxy.c \
camel-folder-summary.c \
camel-medium.c \
camel-mime-body-part.c \
@@ -42,7 +58,8 @@ libcamel_la_SOURCES = \
hash-table-utils.c \
md5-utils.c \
string-utils.c \
- url-util.c
+ url-util.c \
+ $(libcamel_pthread_SOURCES)
libcamelinclude_HEADERS = \
camel.h \
@@ -50,7 +67,6 @@ libcamelinclude_HEADERS = \
camel-data-wrapper.h \
camel-simple-data-wrapper.h \
camel-folder.h \
- camel-folder-pt-proxy.h \
camel-folder-summary.h \
camel-mime-body-part.h \
camel-medium.h \
@@ -75,7 +91,8 @@ libcamelinclude_HEADERS = \
hash-table-utils.h \
md5-utils.h \
string-utils.h \
- url-util.h
+ url-util.h \
+ $(libcamel_pthread_HEADERS)
libcamel_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)