[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus configure.in
From: |
Ingo Ruhnke |
Subject: |
[Stratagus-CVS] stratagus configure.in |
Date: |
Sat, 02 Aug 2003 09:38:45 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Ingo Ruhnke <address@hidden> 03/08/02 09:38:45
Modified files:
. : configure.in
Log message:
- added optional guile support
Patches:
Index: stratagus/configure.in
diff -u stratagus/configure.in:1.20 stratagus/configure.in:1.21
--- stratagus/configure.in:1.20 Thu Jul 3 12:35:36 2003
+++ stratagus/configure.in Sat Aug 2 09:38:45 2003
@@ -28,6 +28,23 @@
ARCH=linux
fi
+dnl --- CHECK FOR GUILE ---
+AC_ARG_WITH([guile],
+ AC_HELP_STRING([--with-guile], [Enable Guile Support (default: no)]),,
+ with_guile="no")
+
+if test "x$with_guile" = "xyes"; then
+ dnl AC_DEFINE(USE_GUILE,, [Use Guile instead of SIOD])
+
+ AC_CHECK_LIB(guile, main,
+ [AC_SUBST(GUILE_CFLAGS, "-DUSE_GUILE")
+ AC_SUBST(GUILE_LIBS, "-lguile")],
+ [ echo "Guile support not available, fallback to SIOD"
+ AC_SUBST(GUILE_CFLAGS, "")
+ AC_SUBST(GUILE_LIBS, "")])
+fi
+dnl -----------------------
+
dnl --- CHECK FOR WITH SOUND ---
AC_ARG_ENABLE(sound,
[ --enable-sound [Use sound (default: yes)]], SOUND="$with_sound")
@@ -241,3 +258,5 @@
AC_CONFIG_FILES(Rules.make)
fi
AC_OUTPUT
+
+# EOF #
- [Stratagus-CVS] stratagus configure.in,
Ingo Ruhnke <=