From 8cec8aa8bcb3eff5bf7ab5f2d29e577c051d5d33 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 13 Mar 2006 23:02:44 +0000 Subject: updated to be more tolerant of Windows/MinGW build vagaries svn path=/trunk/externals/OSCx/; revision=4702 --- configure | 13 ++++++------- configure.ac | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 6b36ef0..ff271ad 100755 --- a/configure +++ b/configure @@ -4434,16 +4434,16 @@ else *-*-cygwin*) CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" - INCLUDES="$INCLUDES -I../../../pd/bin" + INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll LIBS="-lc -lm" ;; *-*-mingw*) CFLAGS="$CFLAGS -mms-bitfields -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-shared" - INCLUDES="$INCLUDES -I../../../pd/bin" + INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll - LIBS="-L../../../pd/bin -lpd -lm -lwsock32" + LIBS="-L../../../pd/bin -L../../../pd/obj -lpd -lm -lwsock32" ;; *-*-darwin*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " @@ -4727,10 +4727,9 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. 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' + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs diff --git a/configure.ac b/configure.ac index 04009b3..ce5fed0 100644 --- a/configure.ac +++ b/configure.ac @@ -103,16 +103,16 @@ else *-*-cygwin*) CFLAGS="$CFLAGS -mno-cygwin -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-Wl,-export_dynamic -shared" - INCLUDES="$INCLUDES -I../../../pd/bin" + INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll LIBS="-lc -lm" ;; *-*-mingw*) CFLAGS="$CFLAGS -mms-bitfields -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " LDFLAGS="-shared" - INCLUDES="$INCLUDES -I../../../pd/bin" + INCLUDES="$INCLUDES -I../../../pd/src" pd_suffix=dll - LIBS="-L../../../pd/bin -lpd -lm -lwsock32" + LIBS="-L../../../pd/bin -L../../../pd/obj -lpd -lm -lwsock32" ;; *-*-darwin*) CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3 " -- cgit v1.2.1