sinek/m4 guile.m4,1.3,1.4
[email protected] Thu, 23 Jan 2003 00:01:53 -0800
| Newsgroups | gmane.comp.video.sinek.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/sinek/sinek/m4
In directory sc8-pr-cvs1:/tmp/cvs-serv12533/m4
Modified Files:
guile.m4
Log Message:
Man, upstream's guile macros suck!
Index: guile.m4
===================================================================
RCS file: /cvsroot/sinek/sinek/m4/guile.m4,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- guile.m4 23 Jan 2003 06:37:48 -0000 1.3
+++ guile.m4 23 Jan 2003 08:01:42 -0000 1.4
@@ -62,15 +62,14 @@
AC_DEFUN([GUILE_FLAGS],[
## The GUILE_FLAGS macro.
- ## First, let's just see if we can find Guile at all.
- AC_MSG_CHECKING(for Guile)
- guile-config link > /dev/null || {
- echo "configure: cannot find guile-config; is Guile installed?" 1>&2
- exit 1
- }
- GUILE_CFLAGS="`guile-config compile`"
- GUILE_LDFLAGS="`guile-config link`"
- AC_SUBST(GUILE_CFLAGS)
- AC_SUBST(GUILE_LDFLAGS)
- AC_MSG_RESULT(yes)
+ AC_PATH_PROG(GUILE_CONFIG, guile-config, no)
+ if test "$GUILE_CONFIG" = "no"; then
+ $3
+ else
+ GUILE_CFLAGS="`$GUILE_CONFIG compile`"
+ GUILE_LDFLAGS="`$GUILE_CONFIG link`"
+ AC_SUBST(GUILE_CFLAGS)
+ AC_SUBST(GUILE_LDFLAGS)
+ $2
+ fi
])
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp