Update of /cvsroot/pure-data/externals/OSCx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7312
Modified Files: configure configure.ac Log Message: fixed up OSC for MinGW, doesn't compile the OSC.dll lib, but the individual objects compile fine
Index: configure.ac =================================================================== RCS file: /cvsroot/pure-data/externals/OSCx/configure.ac,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** configure.ac 18 Aug 2004 22:35:22 -0000 1.4 --- configure.ac 19 Dec 2005 04:11:47 -0000 1.5 *************** *** 83,86 **** --- 83,87 ---- dnl we could test for bad glibc here, but don't pd_suffix=pd_linux + LIBS="-lc -lm" ;; powerpc-*-linux*) *************** *** 88,91 **** --- 89,93 ---- LDFLAGS="-Wl,-export_dynamic -shared" pd_suffix=pd_linux + LIBS="-lc -lm" ;; *-*-linux*) *************** *** 94,97 **** --- 96,100 ---- INCLUDES="$INCLUDES" pd_suffix=pd_linux + LIBS="-L../../../pd/bin -lpd -lc -lm" ;; sparc-sun-*) *************** *** 99,113 **** ;; *-*-cygwin*) ! CFLAGS="$CPFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/bin" - LIBOSC=libOSC.lib pd_suffix=dll ;; *-*-darwin*) ! CFLAGS="$CPFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " ! # LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -undefined suppress -flat_namespace" LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -flat_namespace " pd_suffix=pd_darwin ;; *) --- 102,123 ---- ;; *-*-cygwin*) ! CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/bin" pd_suffix=dll + LIBS="-lc -lm" + ;; + *-*-mingw*) + CFLAGS="$CFLAGS -mms-bitfields -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " + LDFLAGS="-shared" + INCLUDES="$INCLUDES -I../../../pd/bin" + pd_suffix=dll + LIBS="-L../../../pd/bin -lpd -lm -lwsock32" ;; *-*-darwin*) ! CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -flat_namespace " pd_suffix=pd_darwin + LIBS="-lc -lm" ;; *) *************** *** 116,119 **** --- 126,130 ---- LDFLAGS="-Wl,-export_dynamic -shared" pd_suffix=pd_linux + LIBS="-lc -lm" ;; esac
Index: configure =================================================================== RCS file: /cvsroot/pure-data/externals/OSCx/configure,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** configure 18 Aug 2004 22:35:22 -0000 1.4 --- configure 19 Dec 2005 04:11:47 -0000 1.5 *************** *** 1,5 **** #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.58 for OSCxpd 0.2. # # Report bugs to jdl@xdv.org. --- 1,5 ---- #! /bin/sh # Guess values for system-dependent variables and create Makefiles. ! # Generated by GNU Autoconf 2.59 for OSCxpd 0.2. # # Report bugs to jdl@xdv.org. *************** *** 897,934 **** ac_top_srcdir=$ac_top_builddir$srcdir ;; esac ! case "$ac_dir" in ! .) ac_abs_builddir=$ac_builddir;; *) ! case $ac_builddir in ! .) ac_abs_builddir="$ac_dir";; ! [\/]* | ?:[\/]* ) ac_abs_builddir=$ac_builddir;; ! *) ac_abs_builddir="$ac_dir"/$ac_builddir;; esac;; esac ! case "$ac_dir" in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in ! .) ac_abs_top_builddir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; ! *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; esac;; esac ! case "$ac_dir" in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in ! .) ac_abs_srcdir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;; ! *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; esac;; esac ! case "$ac_dir" in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in ! .) ac_abs_top_srcdir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; ! *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; esac;; esac --- 897,937 ---- ac_top_srcdir=$ac_top_builddir$srcdir ;; esac ! ! # Do not use `cd foo && pwd` to compute absolute paths, because ! # the directories may not exist. ! case `pwd` in ! .) ac_abs_builddir="$ac_dir";; *) ! case "$ac_dir" in ! .) ac_abs_builddir=`pwd`;; ! [\/]* | ?:[\/]* ) ac_abs_builddir="$ac_dir";; ! *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac ! case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in ! .) ac_abs_top_builddir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; ! *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac ! case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in ! .) ac_abs_srcdir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;; ! *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac ! case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in ! .) ac_abs_top_srcdir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; ! *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac *************** *** 949,953 **** echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi ! cd "$ac_popdir" done fi --- 952,956 ---- echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi ! cd $ac_popdir done fi *************** *** 957,961 **** cat <<_ACEOF OSCxpd configure 0.2 ! generated by GNU Autoconf 2.58
Copyright (C) 2003 Free Software Foundation, Inc. --- 960,964 ---- cat <<_ACEOF OSCxpd configure 0.2 ! generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. *************** *** 971,975 ****
It was created by OSCxpd $as_me 0.2, which was ! generated by GNU Autoconf 2.58. Invocation command line was
$ $0 $@ --- 974,978 ----
It was created by OSCxpd $as_me 0.2, which was ! generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ *************** *** 4411,4414 **** --- 4414,4418 ---- LDFLAGS="-Wl,-export_dynamic -shared" pd_suffix=pd_linux + LIBS="-lc -lm" ;; powerpc-*-linux*) *************** *** 4416,4419 **** --- 4420,4424 ---- LDFLAGS="-Wl,-export_dynamic -shared" pd_suffix=pd_linux + LIBS="-lc -lm" ;; *-*-linux*) *************** *** 4422,4425 **** --- 4427,4431 ---- INCLUDES="$INCLUDES" pd_suffix=pd_linux + LIBS="-L../../../pd/bin -lpd -lc -lm" ;; sparc-sun-*) *************** *** 4427,4441 **** ;; *-*-cygwin*) ! CFLAGS="$CPFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/bin" - LIBOSC=libOSC.lib pd_suffix=dll ;; *-*-darwin*) ! CFLAGS="$CPFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " ! # LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -undefined suppress -flat_namespace" LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -flat_namespace " pd_suffix=pd_darwin ;; *) --- 4433,4454 ---- ;; *-*-cygwin*) ! CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" INCLUDES="$INCLUDES -I../../../pd/bin" pd_suffix=dll + LIBS="-lc -lm" + ;; + *-*-mingw*) + CFLAGS="$CFLAGS -mms-bitfields -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " + LDFLAGS="-shared" + INCLUDES="$INCLUDES -I../../../pd/bin" + pd_suffix=dll + LIBS="-L../../../pd/bin -lpd -lm -lwsock32" ;; *-*-darwin*) ! CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS=" -bundle -bundle_loader ../../../pd/bin/pd -flat_namespace " pd_suffix=pd_darwin + LIBS="-lc -lm" ;; *) *************** *** 4443,4446 **** --- 4456,4460 ---- LDFLAGS="-Wl,-export_dynamic -shared" pd_suffix=pd_linux + LIBS="-lc -lm" ;; esac *************** *** 4714,4720 **** ac_i=`echo "$ac_i" | sed 's/$U././;s/.o$//;s/.obj$//'` ! # 2. Add them. ! ac_libobjs="$ac_libobjs $ac_i$U.$ac_objext" ! ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs --- 4728,4735 ---- ac_i=`echo "$ac_i" | sed 's/$U././;s/.o$//;s/.obj$//'` ! # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ! # will be set to the directory where LIBOBJS objects are built. ! ac_libobjs="$ac_libobjs ${LIBOBJDIR}$ac_i$U.$ac_objext" ! ac_ltlibobjs="$ac_ltlibobjs ${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs *************** *** 4995,4999 ****
This file was extended by OSCxpd $as_me 0.2, which was ! generated by GNU Autoconf 2.58. Invocation command line was
CONFIG_FILES = $CONFIG_FILES --- 5010,5014 ----
This file was extended by OSCxpd $as_me 0.2, which was ! generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES *************** *** 5055,5059 **** ac_cs_version="\ OSCxpd config.status 0.2 ! configured by $0, generated by GNU Autoconf 2.58, with options \"`echo "$ac_configure_args" | sed 's/[\""`$]/\\&/g'`\"
--- 5070,5074 ---- ac_cs_version="\ OSCxpd config.status 0.2 ! configured by $0, generated by GNU Autoconf 2.59, with options \"`echo "$ac_configure_args" | sed 's/[\""`$]/\\&/g'`\"
*************** *** 5388,5425 **** ac_top_srcdir=$ac_top_builddir$srcdir ;; esac ! case "$ac_dir" in ! .) ac_abs_builddir=$ac_builddir;; *) ! case $ac_builddir in ! .) ac_abs_builddir="$ac_dir";; ! [\/]* | ?:[\/]* ) ac_abs_builddir=$ac_builddir;; ! *) ac_abs_builddir="$ac_dir"/$ac_builddir;; esac;; esac ! case "$ac_dir" in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in ! .) ac_abs_top_builddir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; ! *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;; esac;; esac ! case "$ac_dir" in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in ! .) ac_abs_srcdir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;; ! *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;; esac;; esac ! case "$ac_dir" in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in ! .) ac_abs_top_srcdir="$ac_dir";; [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; ! *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;; esac;; esac --- 5403,5443 ---- ac_top_srcdir=$ac_top_builddir$srcdir ;; esac ! ! # Do not use `cd foo && pwd` to compute absolute paths, because ! # the directories may not exist. ! case `pwd` in ! .) ac_abs_builddir="$ac_dir";; *) ! case "$ac_dir" in ! .) ac_abs_builddir=`pwd`;; ! [\/]* | ?:[\/]* ) ac_abs_builddir="$ac_dir";; ! *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac ! case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in ! .) ac_abs_top_builddir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; ! *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac ! case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in ! .) ac_abs_srcdir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_srcdir=$ac_srcdir;; ! *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac ! case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in ! .) ac_abs_top_srcdir=$ac_abs_builddir;; [\/]* | ?:[\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; ! *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac