Update of /cvsroot/pure-data/externals/moocow/gfsm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22177
Modified Files: configure.in Log Message: + added debug --disable-gfsm flag to simulate unsupported platforms
Index: configure.in =================================================================== RCS file: /cvsroot/pure-data/externals/moocow/gfsm/configure.in,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** configure.in 8 Jun 2007 22:54:38 -0000 1.4 --- configure.in 3 Aug 2007 13:15:08 -0000 1.5 *************** *** 147,156 **** AC_MSG_WARN([----------------------------------------------------------------]) AC_MSG_WARN([]) ! ac_cv_enable_gfsm="no" else ! ac_cv_enable_gfsm="yes" fi
! if test "$ac_cv_enable_gfsm" != "no" ; then ##-- gfsm: library IFLAGS="$IFLAGS `$PKG_CONFIG --cflags-only-I gfsm`" --- 147,156 ---- AC_MSG_WARN([----------------------------------------------------------------]) AC_MSG_WARN([]) ! ac_cv_have_gfsm="no" else ! ac_cv_have_gfsm="yes" fi
! if test "$ac_cv_have_gfsm" != "no" ; then ##-- gfsm: library IFLAGS="$IFLAGS `$PKG_CONFIG --cflags-only-I gfsm`" *************** *** 161,164 **** --- 161,178 ---- ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv + ## gfsm (global) + AC_ARG_ENABLE(gfsm, + AC_HELP_STRING([--disable-gfsm], [Globally disable gfsm support (causes build to fail!)]), + [ac_cv_enable_gfsm="$enableval"], + [ac_cv_enable_gfsm="yes"]) + + if test "$ac_cv_enable_gfsm" != "yes" ; then + AC_MSG_ERROR([gfsm support disabled by user],1) + fi + + ## /gfsm (global) + ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +
dnl --------------------------------------------------------------------