aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-11-25 20:30:33 +0000
committerChristian Grothoff <christian@grothoff.org>2007-11-25 20:30:33 +0000
commit8cd9f01058327cce1490da14defd8b1233db0ab4 (patch)
treec9523756f4abf350fba747cb6d1842f4b083bea9
parent2838f0c7fffa60fcf1d106bf0be7a949196645d3 (diff)
downloadgnunet-gtk-8cd9f01058327cce1490da14defd8b1233db0ab4.tar.gz
gnunet-gtk-8cd9f01058327cce1490da14defd8b1233db0ab4.zip
fix
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index f00c651a..44c741e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,14 +188,14 @@ AC_ARG_WITH(gnunet,
188 ;; 188 ;;
189 yes) 189 yes)
190 AC_CHECK_HEADERS(GNUnet/gnunet_util.h, 190 AC_CHECK_HEADERS(GNUnet/gnunet_util.h,
191 AC_CHECK_LIB([gnunetutil], [GC_free], 191 AC_CHECK_LIB([gnunetutil], [GNUNET_GC_free],
192 gnunet=1)) 192 gnunet=1))
193 ;; 193 ;;
194 *) 194 *)
195 LDFLAGS="-L$with_gnunet/lib $LDFLAGS" 195 LDFLAGS="-L$with_gnunet/lib $LDFLAGS"
196 CPPFLAGS="-I$with_gnunet/include $CPPFLAGS" 196 CPPFLAGS="-I$with_gnunet/include $CPPFLAGS"
197 AC_CHECK_HEADERS(GNUnet/gnunet_util.h, 197 AC_CHECK_HEADERS(GNUnet/gnunet_util.h,
198 AC_CHECK_LIB([gnunetutil], [GC_free], 198 AC_CHECK_LIB([gnunetutil], [GNUNET_GC_free],
199 EXT_LIB_PATH="-L$with_gnunet/lib $EXT_LIB_PATH" 199 EXT_LIB_PATH="-L$with_gnunet/lib $EXT_LIB_PATH"
200 gnunet=1)) 200 gnunet=1))
201 ;; 201 ;;
@@ -203,7 +203,7 @@ AC_ARG_WITH(gnunet,
203 ], 203 ],
204 [AC_MSG_RESULT([--with-gnunet not specified]) 204 [AC_MSG_RESULT([--with-gnunet not specified])
205 AC_CHECK_HEADERS(gnunet_util.h, 205 AC_CHECK_HEADERS(gnunet_util.h,
206 AC_CHECK_LIB([GNUnet/gnunet_util.h], [GC_free], 206 AC_CHECK_LIB([GNUnet/gnunet_util.h], [GNUNET_GC_free],
207 gnunet=1))]) 207 gnunet=1))])
208 208
209# if GNUnet was not found, try in /usr/local 209# if GNUnet was not found, try in /usr/local
@@ -214,7 +214,7 @@ with_gnunet=/usr/local
214 LDFLAGS="-L$with_gnunet/lib $LDFLAGS" 214 LDFLAGS="-L$with_gnunet/lib $LDFLAGS"
215 CPPFLAGS="-I$with_gnunet/include $CPPFLAGS" 215 CPPFLAGS="-I$with_gnunet/include $CPPFLAGS"
216 AC_CHECK_HEADERS(GNUnet/gnunet_util.h, 216 AC_CHECK_HEADERS(GNUnet/gnunet_util.h,
217 AC_CHECK_LIB([gnunetutil], [GC_free], 217 AC_CHECK_LIB([gnunetutil], [GNUNET_GC_free],
218 EXT_LIB_PATH="-L$with_gnunet/lib $EXT_LIB_PATH" 218 EXT_LIB_PATH="-L$with_gnunet/lib $EXT_LIB_PATH"
219 gnunet=1)) 219 gnunet=1))
220fi 220fi
@@ -229,13 +229,13 @@ AC_CHECK_HEADERS([GNUnet/gnunet_ecrs_lib.h GNUnet/gnunet_fsui_lib.h GNUnet/gnune
229SAVELIBS=$LIBS 229SAVELIBS=$LIBS
230AC_CHECK_LIB(gnunetutil,GE_LOG,, 230AC_CHECK_LIB(gnunetutil,GE_LOG,,
231 AC_MSG_ERROR([gnunet-gtk requires GNUnet-Util])) 231 AC_MSG_ERROR([gnunet-gtk requires GNUnet-Util]))
232AC_CHECK_LIB(gnunetecrs,ECRS_createMetaData,, 232AC_CHECK_LIB(gnunetecrs,GNUNET_ECRS_meta_data_create,,
233 AC_MSG_ERROR([gnunet-gtk requires ECRS])) 233 AC_MSG_ERROR([gnunet-gtk requires ECRS]))
234AC_CHECK_LIB(gnunetfsui,FSUI_start,, 234AC_CHECK_LIB(gnunetfsui,GNUNET_FSUI_start,,
235 AC_MSG_ERROR([gnunet-gtk requires FSUI])) 235 AC_MSG_ERROR([gnunet-gtk requires FSUI]))
236AC_CHECK_LIB(gnunetgetoption_api,getConfigurationOptionValue,, 236AC_CHECK_LIB(gnunetgetoption_api,GNUNET_get_daemon_configuration_value,,
237 AC_MSG_ERROR([gnunet-gtk requires getoption])) 237 AC_MSG_ERROR([gnunet-gtk requires getoption]))
238AC_CHECK_LIB(gnunetstats_api,STATS_getStatistics,, 238AC_CHECK_LIB(gnunetstats_api,GNUNET_STATS_getStatistics,,
239 AC_MSG_ERROR([gnunet-gtk requires stats])) 239 AC_MSG_ERROR([gnunet-gtk requires stats]))
240LIBS=$SAVELIBS 240LIBS=$SAVELIBS
241 241