gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7758 - GNUnet


From: gnunet
Subject: [GNUnet-SVN] r7758 - GNUnet
Date: Sun, 12 Oct 2008 09:27:24 -0600 (MDT)

Author: holindho
Date: 2008-10-12 09:27:23 -0600 (Sun, 12 Oct 2008)
New Revision: 7758

Modified:
   GNUnet/configure.ac
Log:
help linking to static libguile 


Modified: GNUnet/configure.ac
===================================================================
--- GNUnet/configure.ac 2008-10-12 15:10:48 UTC (rev 7757)
+++ GNUnet/configure.ac 2008-10-12 15:27:23 UTC (rev 7758)
@@ -829,7 +829,8 @@
       yes)
         AC_CHECK_HEADERS(libguile.h,
           AC_CHECK_LIB([guile], [scm_c_define_gsubr],
-            guile=1))
+            guile=1, [],
+            -lgmp $LIBLTDL))
         ;;
       *)
         LDFLAGS="-L$with_guile/lib $LDFLAGS"
@@ -837,19 +838,20 @@
         AC_CHECK_HEADERS(libguile.h,
           AC_CHECK_LIB([guile], [scm_c_define_gsubr],
             EXT_LIB_PATH="-L$with_guile/lib $EXT_LIB_PATH"
-            guile=1))
+            guile=1, [],
+            -lgmp $LIBLTDL))
         ;;
     esac
    ],
    [AC_MSG_RESULT([--with-guile not specified])
     AC_CHECK_HEADERS(libguile.h,
      AC_CHECK_LIB([guile], [scm_c_define_gsubr],
-      guile=1))])
+      guile=1, [], -lgmp $LIBLTDL))])
 
 if test "$guile" = 1
 then
  AC_CHECK_LIB([guile], [scm_init_guile], [],
-       AC_MSG_ERROR([Guile doesn't provide scm_init_guile(). Please report to 
address@hidden))
+       AC_MSG_ERROR([Guile doesn't provide scm_init_guile(). Please report to 
address@hidden), -lgmp $LIBLTDL)
  AC_DEFINE_UNQUOTED([HAVE_GUILE], 1, [We have GUILE])
 else
  AC_DEFINE_UNQUOTED([HAVE_GUILE], 0, [We do NOT have GUILE])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]