From cacdca8b778b4fadfc708f1123f01a2d7e658510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 24 Jan 2006 21:34:48 +0000 Subject: fixed enable/disable-flags put INCLUDES into CFLAGS (in order to have an effect in AC_CHECK_HEADERS() svn path=/trunk/externals/zexy/; revision=4483 --- src/configure.ac | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/configure.ac') diff --git a/src/configure.ac b/src/configure.ac index ad64456..42b5b9a 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -35,6 +35,22 @@ then AC_ARG_ENABLE(bundle, [ --enable-bundleloader use bundle_loader (default: autodetect)]) fi +if test "x" = "x${enable_PIC}" ; then + enable_PIC="${with_PIC}" +fi + +if test "x" = "x${enable_lpt}" ; then + enable_lpt="${with_lpt}" +fi + +if test "x" = "x${enable_icc}" ; then + enable_icc="${with_icc}" +fi + +if test "x" = "x${enable_bundle}" ; then + enable_bundle="${with_bundle}" +fi + dnl Checks for libraries. dnl Replace `main' with a function in -lc: AC_CHECK_LIB(c, main) @@ -399,6 +415,8 @@ else fi +CFLAGS="${INCLUDES} ${CFLAGS}" +INCLUDES="" AC_CHECK_HEADERS(m_pd.h, , AC_ERROR([m_pd.h is desperately needed! install pd and/or use "--with-pd=" or -- cgit v1.2.1