diff options
Diffstat (limited to 'externals/sprinkler/configure.in')
-rw-r--r-- | externals/sprinkler/configure.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/externals/sprinkler/configure.in b/externals/sprinkler/configure.in index ebe444cc..b83e36b3 100644 --- a/externals/sprinkler/configure.in +++ b/externals/sprinkler/configure.in @@ -61,7 +61,18 @@ dnl AC_ISC_POSIX ##-------------------------------------------------------------- ## Pd external objects -PD_OBJECT_EXTERNALS="sprinkler\$(EXEEXT)" +AC_MSG_CHECKING([how to hack automake EXEEXT conventions]) +case "${am__api_version}" in + 1.[[0-4]]*) + AC_MSG_RESULT([automake v${am__api_version}: on install]) + buildext="" + ;; + *) + AC_MSG_RESULT([automake v${am__api_version}: on build]) + buildext="\$(EXEEXT)" + ;; +esac +PD_OBJECT_EXTERNALS="sprinkler${buildext}" AC_SUBST(PD_OBJECT_EXTERNALS) |