Skip to content

Commit

Permalink
configure.ac and Makefile.am: fixing inconsistencies in the short opt…
Browse files Browse the repository at this point in the history
…imizations cli parameters for configure
  • Loading branch information
andrewdavidsmith committed Dec 18, 2023
1 parent 41a1fd6 commit 5e5541d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp, $(SUBDIRS))
AM_CPPFLAGS = -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx

AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
if ENABLE_VERY_SHORT
AM_CXXFLAGS += -DENABLE_VERY_SHORT
if ENABLE_SHORT
AM_CXXFLAGS += -DENABLE_SHORT
endif

CXXFLAGS = -O3 # default has optimization on
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ dnl making the index. When abismal loads the index, it compares the
dnl value with a constant so abismalidx and abismal must both be
dnl compiled this way to work together.
AC_ARG_ENABLE([short],
[AS_HELP_STRING([--enable-very-short],
[AS_HELP_STRING([--enable-short],
[optimize for very short reads @<:@no@:>@])],
[enable_very_short=yes], [enable_very_short=no])
AM_CONDITIONAL([ENABLE_VERY_SHORT], [test "x$enable_very_short" = "xyes"])
[enable_short=yes], [enable_short=no])
AM_CONDITIONAL([ENABLE_SHORT], [test "x$enable_short" = "xyes"])


AC_CONFIG_FILES([
Expand Down

0 comments on commit 5e5541d

Please sign in to comment.