aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in4
-rw-r--r--src/configure.ac52
2 files changed, 2 insertions, 54 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index ac80b61..6512897 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -2,8 +2,8 @@ LIBNAME =iemmatrix
PREFIX =@prefix@@PDLIBDIR@
-INSTALL_BIN=$(PREFIX)/extra
-INSTALL_DOC=$(PREFIX)/@REFERENCEPATH@$(LIBNAME)
+INSTALL_BIN=$(PREFIX)/extra/$(LIBNAME)
+INSTALL_DOC=$(INSTALL_BIN)
EXT = @EXT@
DEFS = @DFLAGS@
diff --git a/src/configure.ac b/src/configure.ac
index c3119b9..03036be 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -16,8 +16,6 @@ AC_SUBST(REFERENCEPATH)
AC_SUBST(PDLIBDIR)
AC_SUBST(INCLUDES)
-
-AC_ARG_WITH(pdversion, [ --with-pdversion=<ver> enforce a certain pd-version (e.g. 0.37)])
AC_ARG_WITH(version, [ --with-version=<ver> enforce a certain iemmatrix-version (e.g. 0.1)])
AC_ARG_WITH(extension, [ --with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)])
AC_ARG_WITH(pdpath, [ --with-pd=</path/to/pd> where to look for pd-headers and and -libs])
@@ -203,56 +201,6 @@ then
EXT=$with_extension
fi
-
-dnl Checks for pd-version, to set the correct help-path
-AC_MSG_CHECKING("pd\>=0.37")
-
-if test "$with_pdversion" != ""
-then
-echo -n "($with_pdversion)... "
- PD_VERSION="$with_pdversion"
-else
-if test "x$cross_compiling" = "xno"
-then
-
-cat > conftest.c << EOF
-#include <stdio.h>
-#include "m_pd.h"
-int main(){
- printf("%d.%d\n", PD_MAJOR_VERSION, PD_MINOR_VERSION);
- return 0;
-}
-EOF
-
- if $CC $INCLUDES -o conftest.o conftest.c > /dev/null 2>&1
- then
- PD_VERSION=`./conftest.o`
- else
- PD_VERSION=""
- fi
- echo -n $PD_VERSION
-else
-dnl we are cross-compiling...
- echo -n "(X)..."
- PD_VERSION="0.38"
-fi
-fi
-
-let PD_MAJORVERSION=`echo $PD_VERSION | cut -d"." -f1`+0
-let PD_MINORVERSION=`echo $PD_VERSION | cut -d"." -f2`+0
-
-
-
-if test "$PD_MAJORVERSION" -gt 0 || test "$PD_MINORVERSION" -ge 37
-then
- REFERENCEPATH=extra/help-
- echo " yes"
-else
- REFERENCEPATH=doc/5.reference/
- echo " no"
-fi
-
-
dnl check for iemmatrix-version (but why...)
AC_MSG_CHECKING("iemmatrix-version")