[Genabel-commits] r1432 - in pkg/ProbABEL: . src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Nov 28 13:59:57 CET 2013
Author: lckarssen
Date: 2013-11-28 13:59:57 +0100 (Thu, 28 Nov 2013)
New Revision: 1432
Modified:
pkg/ProbABEL/configure.ac
pkg/ProbABEL/src/Makefile.am
Log:
Disable building the extract-snp binary of ProbABEL by default. This program isn't finished yet. I should have done this (both actually: finish the program and disable its building) long ago.
Building can be enabled by adding the --enable-extract-snp flag to ./configure.
Modified: pkg/ProbABEL/configure.ac
===================================================================
--- pkg/ProbABEL/configure.ac 2013-11-28 07:29:06 UTC (rev 1431)
+++ pkg/ProbABEL/configure.ac 2013-11-28 12:59:57 UTC (rev 1432)
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.67])
-AC_INIT(ProbABEL, 0.4.1, genabel-devel at r-forge.wu-wien.ac.at)
+AC_INIT(ProbABEL, 0.4.2, genabel-devel at r-forge.wu-wien.ac.at)
AM_INIT_AUTOMAKE([silent-rules])
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR([src/data.h])
@@ -159,6 +159,19 @@
AM_CONDITIONAL([BUILD_pacoxph], test "x$pacoxph" = "xyes")
+AC_ARG_ENABLE([extract-snp],
+ [AS_HELP_STRING([--enable-extract-snp], [enable building the
+ extract-snp program. NOTE: this program is not finished yet!])],
+ [extractsnp=yes],
+ [extractsnp=no])
+
+if test "x$extractsnp" = "xyes"; then
+ AC_MSG_NOTICE([building of extract-snp is enabled])
+fi
+
+AM_CONDITIONAL([BUILD_extractsnp], test "x$extractsnp" = "xyes")
+
+
# Files to be generated by autotools
AC_CONFIG_FILES([
Makefile
Modified: pkg/ProbABEL/src/Makefile.am
===================================================================
--- pkg/ProbABEL/src/Makefile.am 2013-11-28 07:29:06 UTC (rev 1431)
+++ pkg/ProbABEL/src/Makefile.am 2013-11-28 12:59:57 UTC (rev 1432)
@@ -30,7 +30,7 @@
include/R_ext/Print.h include/R_ext/Random.h include/R_ext/Utils.h \
include/R_ext/RS.h
-bin_PROGRAMS = extract-snp
+bin_PROGRAMS =
if BUILD_palinear
bin_PROGRAMS += palinear
endif
@@ -46,6 +46,11 @@
bin_PROGRAMS += pacoxph
endif
+if BUILD_extractsnp
+bin_PROGRAMS += extract-snp
+endif
+
+
palinear_SOURCES = $(REGFILES) $(FVSRC) $(FVHEADERS)
palinear_CXXFLAGS = -DLINEAR $(AM_CXXFLAGS)
palinear_CPPFLAGS = $(AM_CPPFLAGS)
More information about the Genabel-commits
mailing list