diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-08-25 23:55:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-08-25 23:55:05 +0000 |
commit | d9b2e727131ff005afc1f776ee300ee57ebb86b4 (patch) | |
tree | f03ce8d18854ce13e41f9b1d5aa4722dbd4ce858 | |
parent | d72a299c6306f23daff42f04eb5f22ccd605c2ea (diff) | |
download | gnunet-gtk-d9b2e727131ff005afc1f776ee300ee57ebb86b4.tar.gz gnunet-gtk-d9b2e727131ff005afc1f776ee300ee57ebb86b4.zip |
mantis 1269
-rw-r--r-- | configure.ac | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac index 69a66c2e..73fe2a16 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -152,6 +152,31 @@ AC_TYPE_PID_T | |||
152 | AM_GNU_GETTEXT_VERSION([0.13.1]) | 152 | AM_GNU_GETTEXT_VERSION([0.13.1]) |
153 | AM_GNU_GETTEXT([external]) | 153 | AM_GNU_GETTEXT([external]) |
154 | 154 | ||
155 | # test for libextractor | ||
156 | extractor=0 | ||
157 | AC_MSG_CHECKING(for libextractor) | ||
158 | AC_ARG_WITH(extractor, | ||
159 | [ --with-extractor=PFX Base of libextractor installation], | ||
160 | [AC_MSG_RESULT([$with_extractor]) | ||
161 | case $with_extractor in | ||
162 | no) | ||
163 | ;; | ||
164 | yes) | ||
165 | AC_CHECK_HEADERS(extractor.h,extractor=1) | ||
166 | ;; | ||
167 | *) | ||
168 | CPPFLAGS="-I$with_extractor/include $CPPFLAGS" | ||
169 | AC_CHECK_HEADERS(extractor.h,extractor=1) | ||
170 | ;; | ||
171 | esac | ||
172 | ], | ||
173 | [AC_MSG_RESULT([--with-extractor not specified]) | ||
174 | AC_CHECK_HEADERS(extractor.h,extractor=1)]) | ||
175 | if test "$extractor" != 1 | ||
176 | then | ||
177 | AC_MSG_ERROR([gnunet-gtk requires libextractor headers]) | ||
178 | fi | ||
179 | |||
155 | # test for GNUnet core | 180 | # test for GNUnet core |
156 | gnunet=0 | 181 | gnunet=0 |
157 | AC_MSG_CHECKING(for GNUnet core) | 182 | AC_MSG_CHECKING(for GNUnet core) |
@@ -219,31 +244,6 @@ AC_SUBST(GNUNETGTK_CFLAGS) | |||
219 | AC_SUBST(GNUNETGTK_LIBS) | 244 | AC_SUBST(GNUNETGTK_LIBS) |
220 | 245 | ||
221 | 246 | ||
222 | # test for libextractor | ||
223 | extractor=0 | ||
224 | AC_MSG_CHECKING(for libextractor) | ||
225 | AC_ARG_WITH(extractor, | ||
226 | [ --with-extractor=PFX Base of libextractor installation], | ||
227 | [AC_MSG_RESULT([$with_extractor]) | ||
228 | case $with_extractor in | ||
229 | no) | ||
230 | ;; | ||
231 | yes) | ||
232 | AC_CHECK_HEADERS(extractor.h,extractor=1) | ||
233 | ;; | ||
234 | *) | ||
235 | CPPFLAGS="-I$with_extractor/include $CPPFLAGS" | ||
236 | AC_CHECK_HEADERS(extractor.h,extractor=1) | ||
237 | ;; | ||
238 | esac | ||
239 | ], | ||
240 | [AC_MSG_RESULT([--with-extractor not specified]) | ||
241 | AC_CHECK_HEADERS(extractor.h,extractor=1)]) | ||
242 | if test "$extractor" != 1 | ||
243 | then | ||
244 | AC_MSG_ERROR([gnunet-gtk requires libextractor headers]) | ||
245 | fi | ||
246 | |||
247 | # Is libnotify available? | 247 | # Is libnotify available? |
248 | LIBNOTIFY_REQUIRED=0.3.2 | 248 | LIBNOTIFY_REQUIRED=0.3.2 |
249 | AC_ARG_ENABLE(libnotify, | 249 | AC_ARG_ENABLE(libnotify, |