]> granicus.if.org Git - graphviz/commitdiff
partially applied: graphviz-guile.patch ' phisama'
authorJohn Ellson <ellson@research.att.com>
Wed, 4 Sep 2013 13:57:13 +0000 (09:57 -0400)
committerJohn Ellson <ellson@research.att.com>
Wed, 4 Sep 2013 13:57:13 +0000 (09:57 -0400)
configure.ac

index b984140f12dbc6fff0be931bd23f05bdfd3d96a6..01a7b2601942584fc3e5847c8e097be57f66d1b4 100644 (file)
@@ -709,8 +709,8 @@ else
         if test "x$GUILE" == "x"; then
          use_guile="No (guile is too old)"
         else
-          GUILE_INCLUDES=
-          GUILE_LIBS=
+         GUILE_INCLUDES=$(guile-config compile)
+         GUILE_LIBS=$(guile-config link)
          # don't die if PKG_CHECK_MODULES not available - el4, el5
           PKG_CHECK_MODULES([GUILE],
                [guile-2.0 >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"],
@@ -722,7 +722,7 @@ else
                        false)
                ])
           ac_save_CFLAGS="$CFLAGS"
-          ac_save_CPPFLAGS="$CPPFLAGS"
+          ac_save_CPPFLAGS="$save_CPPFLAGS"
           CFLAGS="$CFLAGS $GUILE_INCLUDES"
           CPPFLAGS="$CPPFLAGS $GUILE_INCLUDES"
           AC_CHECK_HEADER(libguile.h,,[