Optionally install baseconv.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 6 May 2007 18:23:55 +0000 (18:23 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 6 May 2007 18:23:55 +0000 (18:23 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1002 959494ce-11ee-0310-bf91-de5d638817bd

config/Makefile.am
configure.in

index 17951d9..5a2e5b6 100644 (file)
@@ -1,5 +1,9 @@
 bin_PROGRAMS=locktouch tthsum dolconf
+if baseconv
+bin_PROGRAMS+=baseconv
+else
 noinst_PROGRAMS=baseconv
+endif
 libexec_PROGRAMS=speedrec
 
 speedrec_SOURCES=speedrec.c
index 6ce10c1..3ab313e 100644 (file)
@@ -130,6 +130,10 @@ if test "$with_guile" = yes; then
        guile_msg=Yes
 fi
 
+# Check whether to install baseconv
+AC_ARG_ENABLE(baseconv, [  --enable-baseconv       Install the baseconv utility])
+AM_CONDITIONAL(baseconv, test "$enable_baseconv" = yes)
+
 # Kerberos check
 krb_msg=No
 AH_TEMPLATE(HAVE_KRB5, [define to compile support for Kerberos 5 (not GSS-API) authentication])