Skip to content

Commit

Permalink
display proper error during configuration when libdivsufsort is missing.
Browse files Browse the repository at this point in the history
fixes issue #3.
  • Loading branch information
kloetzl committed Jun 1, 2015
1 parent 65b175d commit a72c573
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ AS_IF([test "x$with_libdivsufsort" != "xno"],
)

AS_IF([test "x$have_libdivsufsort" = "xno"],
[AS_IF([test "x$with_libdivsufsort" = "xyes"],
[AC_MSG_ERROR([Configuration for libdivsufsort failed. Either install libdivsufsort,
or use out replacement psufsort instead (./configure --without-libdivsufsort).
The latter may result in longer runtimes.])
[AS_IF([test "x$with_libdivsufsort" != "xno"],
[AC_MSG_ERROR([Configuration for libdivsufsort failed. Either install libdivsufsort, or use our replacement, psufsort, instead.
./configure --without-libdivsufsort
The latter may result in longer runtimes.])
])
])

Expand Down

0 comments on commit a72c573

Please sign in to comment.