diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 16:40:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 16:40:05 +0000 |
commit | 9657e3dbc8dca1f5a85ee114853d99e2b461704a (patch) | |
tree | 42acc5973ad73b2d2ef18f7733eccc9b562c012e | |
parent | cda03ff96909af97a52b8d5bb041407fc1aa803d (diff) | |
download | gnunet-gtk-9657e3dbc8dca1f5a85ee114853d99e2b461704a.tar.gz gnunet-gtk-9657e3dbc8dca1f5a85ee114853d99e2b461704a.zip |
LRN: Make-gnunet-fs-and-gnunet-setup-optional
-rw-r--r-- | configure.ac | 16 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8f9b1297..c708be57 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -116,6 +116,22 @@ AM_GNU_GETTEXT([external]) | |||
116 | 116 | ||
117 | AC_CHECK_HEADERS([errno.h stdio.h unistd.h locale.h sys/stat.h sys/types.h langinfo.h libintl.h unistd.h stddef.h argz.h sys/socket.h netinet/in.h stdarg.h]) | 117 | AC_CHECK_HEADERS([errno.h stdio.h unistd.h locale.h sys/stat.h sys/types.h langinfo.h libintl.h unistd.h stddef.h argz.h sys/socket.h netinet/in.h stdarg.h]) |
118 | 118 | ||
119 | GNUNET_FS_APP="fs" | ||
120 | AC_ARG_ENABLE([fs-app], | ||
121 | AS_HELP_STRING([--disable-fs-app],[Do not build gnunet-fs application])) | ||
122 | AS_IF([test "x$enable_fs_app" != "xno"], [ | ||
123 | GNUNET_FS_APP="fs" | ||
124 | ]) | ||
125 | AC_SUBST(GNUNET_FS_APP) | ||
126 | |||
127 | GNUNET_SETUP_APP="" | ||
128 | AC_ARG_ENABLE([setup-app], | ||
129 | AS_HELP_STRING([--disable-setup-app],[Do not build gnunet-setup application])) | ||
130 | AS_IF([test "x$enable_setup_app" != "xno"], [ | ||
131 | GNUNET_SETUP_APP="setup" | ||
132 | ]) | ||
133 | AC_SUBST(GNUNET_SETUP_APP) | ||
134 | |||
119 | # test for libextractor | 135 | # test for libextractor |
120 | extractor=0 | 136 | extractor=0 |
121 | AC_MSG_CHECKING(for libextractor) | 137 | AC_MSG_CHECKING(for libextractor) |
diff --git a/src/Makefile.am b/src/Makefile.am index 9e6f6138..990bd508 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -1,2 +1,2 @@ | |||
1 | SUBDIRS = . include lib fs setup | 1 | SUBDIRS = . include lib $(GNUNET_FS_APP) $(GNUNET_SETUP_APP) |
2 | 2 | ||