From 9f0a8c2eeaeaff8321fa3e6550b734e030bdefa1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 19 Apr 2005 00:56:23 +0000 Subject: oops, test before committing! ;) now it works svn path=/trunk/externals/gem2pdp/; revision=2785 --- configure | 27 +++++++++++++++++---------- configure.ac | 27 +++++++++++++++++---------- 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/configure b/configure index 790d083..ad02e54 100755 --- a/configure +++ b/configure @@ -1227,29 +1227,36 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu GEM2PDP_VERSION=0.6 -if test -f /usr/local/pd; then +if test -d /usr/local/pd; +then PD_DIR=/usr/local/pd -elif test -f ../../pd; then +elif test -d ../../pd; +then PD_DIR=../../pd -elif +else echo "Pd sources not found" fi -if test -f /usr/local/pd/pdp; then +if test -d /usr/local/pd/pdp; +then PDP_DIR=/usr/local/pd/pdp -elif test -f ../pdp; then +elif test -d ../pdp; +then PDP_DIR=../pdp -elif +else echo "PdP sources not found" fi -if test -f /usr/local/pd/gem; then +if test -d /usr/local/pd/gem; +then GEM_DIR=/usr/local/pd/gem -elif test -f ../../Gem; then +elif test -d ../../Gem; +then GEM_DIR=../../Gem -elif test -f ../gem/Gem; then +elif test -d ../gem/Gem; +then GEM_DIR=../gem/Gem -elif +else echo "Gem sources not found" fi diff --git a/configure.ac b/configure.ac index 74cc57a..fe4784e 100644 --- a/configure.ac +++ b/configure.ac @@ -3,29 +3,36 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT GEM2PDP_VERSION=0.6 -if test -f /usr/local/pd; then +if test -d /usr/local/pd; +then PD_DIR=/usr/local/pd -elif test -f ../../pd; then +elif test -d ../../pd; +then PD_DIR=../../pd -elif +else echo "Pd sources not found" fi -if test -f /usr/local/pd/pdp; then +if test -d /usr/local/pd/pdp; +then PDP_DIR=/usr/local/pd/pdp -elif test -f ../pdp; then +elif test -d ../pdp; +then PDP_DIR=../pdp -elif +else echo "PdP sources not found" fi -if test -f /usr/local/pd/gem; then +if test -d /usr/local/pd/gem; +then GEM_DIR=/usr/local/pd/gem -elif test -f ../../Gem; then +elif test -d ../../Gem; +then GEM_DIR=../../Gem -elif test -f ../gem/Gem; then +elif test -d ../gem/Gem; +then GEM_DIR=../gem/Gem -elif +else echo "Gem sources not found" fi -- cgit v1.2.1