]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Don't look for Guile when `guile-snarf' is not found.
authorLudovic Courtes <ludo@chbouib.org>
Wed, 6 Jun 2007 14:20:11 +0000 (16:20 +0200)
committerLudovic Courtes <ludo@chbouib.org>
Wed, 6 Jun 2007 14:20:11 +0000 (16:20 +0200)
* configure.in: Don't invoke `GUILE_PROGS' and `GUILE_FLAGS' when
  `guile-snarf' is not found.

configure.in

index c2d6650c72b9f77dfff6c437395a6e994e94891e..0b97ea2acdfea4bcee8e76d55ff288dd80b5916d 100644 (file)
@@ -119,13 +119,14 @@ if test "x$GAA" = "x"; then
 fi
 
 if test "x$opt_guile_bindings" = "xyes"; then
-   GUILE_PROGS
-   GUILE_FLAGS
    AC_PATH_PROG([guile_snarf], [guile-snarf])
    if test "x$guile_snarf" = "x"; then
       AC_MSG_WARN([`guile-snarf' from Guile 1.8 not found.  Guile bindings not built.])
       opt_guile_bindings=no
    else
+      GUILE_PROGS
+      GUILE_FLAGS
+
       case "x$with_guile_site_dir" in 
           x|xno)
              # Use the default $(GUILE_SITE).