diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-09-15 12:02:54 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-09-15 12:02:54 +0000 |
commit | 88ecdb2637f7de4b90d11a5df09be7fda3bf2b7d (patch) | |
tree | b4702d5b1ca5fc73d1946a44cbab92788d93e33b /src/configure.ac | |
parent | b4c8fcc57355d7e998423c7cb609a11a326df44d (diff) |
automatic dependency generation
on-the-fly sources generation (iemmatrix.c mtx_*.c)
svn path=/trunk/externals/iem/iemmatrix/; revision=3563
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
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],,) |