From d0aa44063cdaa049e621eeae4cb3ce1dd0834d1d Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 19 Apr 2009 08:38:03 +0000 Subject: + updated README.svn + added win32 flags to common/m4/ax_pd_external.m4 - updated configure scripts svn path=/trunk/externals/moocow/; revision=11058 --- gfsm/README.svn | 8 ++++---- gfsm/configure | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) (limited to 'gfsm') diff --git a/gfsm/README.svn b/gfsm/README.svn index 2fc9816..9dc58f9 100644 --- a/gfsm/README.svn +++ b/gfsm/README.svn @@ -1,18 +1,18 @@ To build from subversion sources, do the following: ./svn-prepare.sh - ./autogen.sh ./configure make make install -You will need recent versions of GNU automake and -autoconf in order to build from the SVN tree. - The './svn-prepare.sh' script requires some shared code in the directory ../common (relative to the package root directory). +If you make changes to any autotools files (e.g. Makefile.am, +configure.ac), you will need to re-run automake, autoconf, etc. +This can be accomplished by running the wrapper script ./autogen.sh. + The README.txt file in the distribution is auto-generated from perl ".pod" format by the "pod2text" included in most Perl distributions. diff --git a/gfsm/configure b/gfsm/configure index ef88f9f..dab8348 100755 --- a/gfsm/configure +++ b/gfsm/configure @@ -20430,6 +20430,26 @@ echo "$as_me: WARNING: Unknown kernel type \"$uname_s\" defaults to \"Linux\"" > PDEXT=pd_irix5 fi + ##-- win32 via minGW/MSYS + ## + courtesy of pd-extended build system, SVN externals/Makefile + if test "$uname_s" = "MINGW32_NT-5.1"; + then + PDEXT_DFLAGS="\ + -D'O_NONBLOCK=1' -D'srand48(n)=srand((n))' \ + -D'drand48()=((double)rand()/RAND_MAX)' -D'bzero(p,n)=memset(p,0,n)' \ + " + PDEXT_LFLAGS="-shared -L'${pddir}/bin' -L'${pddir}/obj'" + PDEXT_CFLAGS="-mms-bitfields -DMSW -DNT" + LIBS="$LIBS -lpd -lwsock32 -lpthreadGC2 -lkernel32 -luser32 -lgdi32 -lregex" + if test "$ENABLE_DEBUG" = "no" -a -z "$UCFLAGS"; then + ##-- only set OFLAGS if user CFLAGS are empty + PDEXT_OFLAGS="-O2" + elif test "$ENABLE_DEBUG" = "yes"; then + PDEXT_OFLAGS="-g" + fi + PDEXT=dll + fi + ##----------- report pd extension { echo "$as_me:$LINENO: will use pd extension \".$PDEXT\" for pd externals" >&5 echo "$as_me: will use pd extension \".$PDEXT\" for pd externals" >&6;} -- cgit v1.2.1