aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2009-04-19 08:38:03 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2009-04-19 08:38:03 +0000
commitd0aa44063cdaa049e621eeae4cb3ce1dd0834d1d (patch)
treebaeee1e19a50363331d69d929499899cf9eadfe7
parentcc7d571a2e22908bf2e49e3388d6ff9788c22f44 (diff)
+ updated README.svn
+ added win32 flags to common/m4/ax_pd_external.m4 - updated configure scripts svn path=/trunk/externals/moocow/; revision=11058
-rwxr-xr-xautoreconf.sh3
-rw-r--r--common/README.svn8
-rw-r--r--common/m4/ax_pd_external.m421
-rw-r--r--deque/README.svn8
-rwxr-xr-xdeque/configure20
-rw-r--r--extended/Makefile2
-rw-r--r--flite/README.svn8
-rwxr-xr-xflite/configure20
-rw-r--r--gfsm/README.svn8
-rwxr-xr-xgfsm/configure20
-rw-r--r--locale/README.svn8
-rwxr-xr-xlocale/configure20
-rw-r--r--readdir/README.svn8
-rwxr-xr-xreaddir/configure20
-rw-r--r--sprinkler/README.svn8
-rwxr-xr-xsprinkler/configure20
-rw-r--r--weightmap/README.svn8
-rwxr-xr-xweightmap/configure20
18 files changed, 196 insertions, 34 deletions
diff --git a/autoreconf.sh b/autoreconf.sh
index acba1c9..4e65cf3 100755
--- a/autoreconf.sh
+++ b/autoreconf.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
subdirs=(deque flite gfsm locale pdstring readdir sprinkler weightmap)
@@ -30,6 +30,7 @@ if test -n "$dirs"; then
echo "$0: dirs=(${dirs[@]})"
for d in "${dirs[@]}"; do
test -x "$d/svn-prepare.sh" && (cd "$d"; sh ./svn-prepare.sh)
+ test -w "$d/README.svn" && cp -af "$d"/../common/README.svn "$d"
done
exec autoreconf $ar_args "${dirs[@]}"
#--symlink
diff --git a/common/README.svn b/common/README.svn
index 2fc9816..9dc58f9 100644
--- a/common/README.svn
+++ b/common/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/common/m4/ax_pd_external.m4 b/common/m4/ax_pd_external.m4
index 8afa7b0..1799cc7 100644
--- a/common/m4/ax_pd_external.m4
+++ b/common/m4/ax_pd_external.m4
@@ -48,6 +48,7 @@
# PDEXT_DFLAGS : preprocessor flags, appended to CPPFLAGS
# PDEXT_WFLAGS : compiler warning flags, appended to CFLAGS (gcc only)
# PDEXT : platform-specific external extension (without leading ".")
+# LIBS : additional libs required for building pd externals (win32 only)
#
# EXEEXT hacks:
# AC_SUBST(pd_buildext)
@@ -330,6 +331,26 @@ AC_DEFUN([AX_PD_EXTERNAL],
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
AC_MSG_NOTICE([will use pd extension ".$PDEXT" for pd externals])
diff --git a/deque/README.svn b/deque/README.svn
index 2fc9816..9dc58f9 100644
--- a/deque/README.svn
+++ b/deque/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/deque/configure b/deque/configure
index c86d98b..c9113f4 100755
--- a/deque/configure
+++ b/deque/configure
@@ -3768,6 +3768,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;}
diff --git a/extended/Makefile b/extended/Makefile
index b89a311..b0ef0f3 100644
--- a/extended/Makefile
+++ b/extended/Makefile
@@ -25,7 +25,7 @@ SUBDIRS = \
MOOCOW_DIR ?=$(shell pwd)
MOOCOW_BUILD ?=$(MOOCOW_DIR)/build.moo
MOOCOW_MFLAGS ?=DESTDIR=""
-MOOCOW_BUILD_VERSION ?=2009-03-07.002
+MOOCOW_BUILD_VERSION ?=2009-04-19.001
CONFIGURE_ARGS=\
CFLAGS="$(CFLAGS)" \
diff --git a/flite/README.svn b/flite/README.svn
index 2fc9816..9dc58f9 100644
--- a/flite/README.svn
+++ b/flite/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/flite/configure b/flite/configure
index fc97465..50424d4 100755
--- a/flite/configure
+++ b/flite/configure
@@ -3775,6 +3775,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;}
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;}
diff --git a/locale/README.svn b/locale/README.svn
index 2fc9816..9dc58f9 100644
--- a/locale/README.svn
+++ b/locale/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/locale/configure b/locale/configure
index 157487a..bb4db44 100755
--- a/locale/configure
+++ b/locale/configure
@@ -3770,6 +3770,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;}
diff --git a/readdir/README.svn b/readdir/README.svn
index 2fc9816..9dc58f9 100644
--- a/readdir/README.svn
+++ b/readdir/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/readdir/configure b/readdir/configure
index 5a14294..308d91c 100755
--- a/readdir/configure
+++ b/readdir/configure
@@ -3770,6 +3770,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;}
diff --git a/sprinkler/README.svn b/sprinkler/README.svn
index 2fc9816..9dc58f9 100644
--- a/sprinkler/README.svn
+++ b/sprinkler/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/sprinkler/configure b/sprinkler/configure
index aeda9f0..fc23d69 100755
--- a/sprinkler/configure
+++ b/sprinkler/configure
@@ -3778,6 +3778,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;}
diff --git a/weightmap/README.svn b/weightmap/README.svn
index 2fc9816..9dc58f9 100644
--- a/weightmap/README.svn
+++ b/weightmap/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/weightmap/configure b/weightmap/configure
index 0b521c2..1c2e869 100755
--- a/weightmap/configure
+++ b/weightmap/configure
@@ -3770,6 +3770,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;}