mirror of
https://github.com/mirror/make.git
synced 2025-01-30 22:30:23 +08:00
* configure.ac: Delay setting HAVE_GUILE until we're sure
This commit is contained in:
parent
db351fe85b
commit
be6bb0fd68
@ -183,7 +183,7 @@ AS_IF([test "x$with_guile" != xno],
|
|||||||
CPPFLAGS="$CPPFLAGS $GUILE_CFLAGS"
|
CPPFLAGS="$CPPFLAGS $GUILE_CFLAGS"
|
||||||
LIBS="$LIBS $GUILE_LIBS"
|
LIBS="$LIBS $GUILE_LIBS"
|
||||||
AC_CHECK_HEADER([libguile.h],
|
AC_CHECK_HEADER([libguile.h],
|
||||||
[AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])],
|
[have_guile=yes],
|
||||||
[have_guile=no],
|
[have_guile=no],
|
||||||
[/* Avoid configuration error warnings. */])
|
[/* Avoid configuration error warnings. */])
|
||||||
AS_IF([test "$have_guile" = yes],
|
AS_IF([test "$have_guile" = yes],
|
||||||
@ -207,6 +207,8 @@ guile_init (void *arg)
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AS_IF([test "$have_guile" = yes],
|
||||||
|
[AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])])
|
||||||
AM_CONDITIONAL([HAVE_GUILE], [test "$have_guile" = "yes"])
|
AM_CONDITIONAL([HAVE_GUILE], [test "$have_guile" = "yes"])
|
||||||
|
|
||||||
AC_CHECK_DECLS([sys_siglist, _sys_siglist, __sys_siglist], , ,
|
AC_CHECK_DECLS([sys_siglist, _sys_siglist, __sys_siglist], , ,
|
||||||
|
Loading…
Reference in New Issue
Block a user