From 715d78993a78983fe730ab273895eb6257b65528 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Fri, 17 Jun 2005 13:44:08 +0000 Subject: some changes to get it compile (configure script, gem2pdp.cpp) and added pix_2pdp svn path=/trunk/externals/gem2pdp/; revision=3201 --- configure.ac | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fe4784e..1a09c84 100644 --- a/configure.ac +++ b/configure.ac @@ -23,15 +23,15 @@ else echo "PdP sources not found" fi -if test -d /usr/local/pd/gem; +if test -d /win/Georg/pd-cvs/gem/Gem; then - GEM_DIR=/usr/local/pd/gem -elif test -d ../../Gem; + GEM_DIR=/win/Georg/pd-cvs/gem/Gem +elif test -d ../../gem/Gem; then - GEM_DIR=../../Gem -elif test -d ../gem/Gem; + GEM_DIR=../../gem/Gem +elif test -d ../../gem/Gem; then - GEM_DIR=../gem/Gem + GEM_DIR=../../gem/Gem else echo "Gem sources not found" fi @@ -49,6 +49,25 @@ AM_WITH_DMALLOC AC_SUBST(GEM2PDP_VERSION) +AC_ARG_WITH(pddir, [ --with-pddir= specify an alternate pd source tree]) +AC_ARG_WITH(gemdir, [ --with-gemdir= specify an alternate gem source tree]) +AC_ARG_WITH(pdpdir, [ --with-pdpdir= specify an alternate pdp source tree]) + +if test "$with_gemdir" != "" +then + GEM_DIR=$with_gemdir +fi + +if test "$with_pdpdir" != "" +then + PDP_DIR=$with_pdpdir +fi + +if test "$with_pddir" != "" +then + PD_DIR=$with_pddir +fi + echo -n "looking for gem sources (required) ... " if test -f $GEM_DIR/src/Base/GemMan.h then -- cgit v1.2.1