From 88ecdb2637f7de4b90d11a5df09be7fda3bf2b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 15 Sep 2005 12:02:54 +0000 Subject: automatic dependency generation on-the-fly sources generation (iemmatrix.c mtx_*.c) svn path=/trunk/externals/iem/iemmatrix/; revision=3563 --- src/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/configure.ac') diff --git a/src/configure.ac b/src/configure.ac index 97ce924..0cc015b 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -64,6 +64,14 @@ dnl Checks for library functions. AC_FUNC_MMAP AC_CHECK_FUNCS(select socket strerror) + +### make-depend flags +if test "x$ac_cv_c_compiler_gnu" = "xyes"; then + AC_SUBST(MAKEDEP_FLAGS, "-MM") +else + AC_SUBST(MAKEDEP_FLAGS, "-M") +fi + 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],,) -- cgit v1.2.1