From 5d88a704a06f42cd1e14e60f17aa09d03444fb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 29 Sep 2011 10:26:52 +0000 Subject: cleanup configure.ac svn path=/trunk/externals/zexy/; revision=15399 --- configure.ac | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/configure.ac b/configure.ac index 14278c1..84906e3 100644 --- a/configure.ac +++ b/configure.ac @@ -50,7 +50,6 @@ if test "x$with_pd" != "x"; then if test -d "${with_pd}"; then PDPATH=${with_pd} fi - if test -d "${PDPATH}/src"; then AC_MSG_RESULT([adding ${PDPATH}/src to INCLUDES]) INCLUDES="-I${PDPATH}/src ${INCLUDES}" @@ -72,25 +71,8 @@ if test "x$with_pd" != "x"; then LDFLAGS="-L${PDPATH} ${LDFLAGS}" fi fi - fi -if test $includedir -then - for id in $includedir - do - if test -d $id; then INCLUDES="-I$id $INCLUDES"; fi - done -fi -if test $libdir -then - for id in $libdir - do - if test -d $id; then LDFLAGS="-L$id $LDFLAGS"; fi - done -fi - - dnl Checks for libraries. dnl Replace `main' with a function in -lc: AC_CHECK_LIB(c, main) @@ -109,10 +91,8 @@ dnl Replace `main' with a function in -lstk: dnl AC_CHECK_LIB(stk, main, STK=yes) AC_CHECK_LIB(pd, nullfn) - AC_CHECK_LIB(regex, regcomp) - dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(stdlib.h stdio.h string.h math.h time.h sys/time.h regex.h alloca.h) @@ -127,11 +107,7 @@ AC_CHECK_FUNCS(select socket strerror) IEM_CHECK_FAT(ARCH_FLAG) AC_SUBST(ARCH_FLAG) -dnl check for "-mms-bitfields" cflag -dnl why is there no generic compiler-check for a given flag ? -dnl it would make things so easy: AC_CHECK_FLAG([-mms-bitfields],,) IEM_CHECK_CFLAGS([-mms-bitfields]) - IEM_CHECK_SIMD IEM_CHECK_LPT @@ -173,7 +149,6 @@ AC_MSG_RESULT([$EXTENSION]) AC_CHECK_HEADERS([pd/m_pd.h m_pd.h], , AC_ERROR([m_pd.h is desperately needed! install pd and/or use - "--with-pd=" or - "--includedir="])) + "--with-pd="])) AC_OUTPUT() -- cgit v1.2.1