aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-08-25 23:55:05 +0000
committerChristian Grothoff <christian@grothoff.org>2007-08-25 23:55:05 +0000
commitd9b2e727131ff005afc1f776ee300ee57ebb86b4 (patch)
treef03ce8d18854ce13e41f9b1d5aa4722dbd4ce858
parentd72a299c6306f23daff42f04eb5f22ccd605c2ea (diff)
downloadgnunet-gtk-d9b2e727131ff005afc1f776ee300ee57ebb86b4.tar.gz
gnunet-gtk-d9b2e727131ff005afc1f776ee300ee57ebb86b4.zip
mantis 1269
-rw-r--r--configure.ac50
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
152AM_GNU_GETTEXT_VERSION([0.13.1]) 152AM_GNU_GETTEXT_VERSION([0.13.1])
153AM_GNU_GETTEXT([external]) 153AM_GNU_GETTEXT([external])
154 154
155# test for libextractor
156extractor=0
157AC_MSG_CHECKING(for libextractor)
158AC_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)])
175if test "$extractor" != 1
176then
177 AC_MSG_ERROR([gnunet-gtk requires libextractor headers])
178fi
179
155# test for GNUnet core 180# test for GNUnet core
156gnunet=0 181gnunet=0
157AC_MSG_CHECKING(for GNUnet core) 182AC_MSG_CHECKING(for GNUnet core)
@@ -219,31 +244,6 @@ AC_SUBST(GNUNETGTK_CFLAGS)
219AC_SUBST(GNUNETGTK_LIBS) 244AC_SUBST(GNUNETGTK_LIBS)
220 245
221 246
222# test for libextractor
223extractor=0
224AC_MSG_CHECKING(for libextractor)
225AC_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)])
242if test "$extractor" != 1
243then
244 AC_MSG_ERROR([gnunet-gtk requires libextractor headers])
245fi
246
247# Is libnotify available? 247# Is libnotify available?
248LIBNOTIFY_REQUIRED=0.3.2 248LIBNOTIFY_REQUIRED=0.3.2
249AC_ARG_ENABLE(libnotify, 249AC_ARG_ENABLE(libnotify,