diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 40a3205..6578718 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,19 @@ if ${funcs_missing}; then AC_MSG_ERROR([required functions are missing]) fi +AC_PROG_LN_S() +AC_ARG_ENABLE([symlink], + [AS_HELP_STRING([--disable-symlink], + [install \`@' symbolic link])], + dnl This `dnl' is needed to workaround Vim syntax highlighting. + [case "${enableval}" in yes|no) symlink=${enableval};; + *) AC_MSG_ERROR( + [bad value ${enableval} for symlink option]);; + esac], + [symlink=yes] +) +AM_CONDITIONAL([ENABLE_SYMLINK], [test x"${symlink}" = x'yes']) + AC_ARG_ENABLE([tests], [AS_HELP_STRING([--enable-tests], [include test suite support in executable])], |