Revision 1551758e configure.ac

b/configure.ac
56 56
AC_SUBST(INSTALL_SYMLINKS, $INSTALL_SYMLINKS)
57 57
AM_CONDITIONAL([INSTALL_SYMLINKS], [test "$INSTALL_SYMLINKS" = yes])
58 58

  
59
# --enable-haskell-profiling
60
AC_ARG_ENABLE([haskell-profiling],
61
  [AS_HELP_STRING([--enable-haskell-profiling],
62
                  m4_normalize([enable profiling for Haskell binaries
63
                  (default: disabled)]))],
64
  [[if test "$enableval" != yes; then
65
      HPROFILE=no
66
    else
67
      HPROFILE=yes
68
    fi
69
  ]],
70
  [HPROFILE=no
71
  ])
72
AC_SUBST(HPROFILE, $HPROFILE)
73
AM_CONDITIONAL([HPROFILE], [test "$HPROFILE" = yes])
74

  
75
# --enable-haskell-coverage
76
AC_ARG_ENABLE([haskell-coverage],
77
  [AS_HELP_STRING([--enable-haskell-coverage],
78
                  m4_normalize([enable coverage for Haskell binaries
79
                  (default: disabled)]))],
80
  [[if test "$enableval" != yes; then
81
      HCOVERAGE=no
82
    else
83
      HCOVERAGE=yes
84
    fi
85
  ]],
86
  [HCOVERAGE=no
87
  ])
88
AC_SUBST(HCOVERAGE, $HCOVERAGE)
89
AM_CONDITIONAL([HCOVERAGE], [test "$HCOVERAGE" = yes])
90

  
91
# --enable-haskell-tests
92
AC_ARG_ENABLE([haskell-tests],
93
  [AS_HELP_STRING([--enable-haskell-tests],
94
                  m4_normalize([enable additinal Haskell development test code
95
                  (default: disabled)]))],
96
  [[if test "$enableval" != yes; then
97
      HTEST=no
98
    else
99
      HTEST=yes
100
    fi
101
  ]],
102
  [HTEST=no
103
  ])
104
AC_SUBST(HTEST, $HTEST)
105
AM_CONDITIONAL([HTEST], [test "$HTEST" = yes])
106

  
59 107
# --with-ssh-initscript=...
60 108
AC_ARG_WITH([ssh-initscript],
61 109
  [AS_HELP_STRING([--with-ssh-initscript=SCRIPT],

Also available in: Unified diff