Skip to content

Commit

Permalink
Problem: autogen fails from SELFTEST missing in configure.am
Browse files Browse the repository at this point in the history
A basic project.xml fails with ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL.

Solution: Remove rogue .else in autotools.gsl
  • Loading branch information
BHare1985 committed Apr 4, 2024
1 parent f256329 commit 8272907
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zproject_autotools.gsl
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,6 @@ AC_ARG_ENABLE([$(name)],
AM_CONDITIONAL([ENABLE_$(NAME:c)], [test x$enable_$(name:c) != xno])
AM_COND_IF([ENABLE_$(NAME:c)], [AC_MSG_NOTICE([ENABLE_$(NAME:c) defined])])

.else
AM_CONDITIONAL([ENABLE_$(PROJECT.PREFIX:c)_SELFTEST], [test x$enable_$(project.prefix:c)_selftest != xno])
AM_COND_IF([ENABLE_$(PROJECT.PREFIX:c)_SELFTEST], [AC_MSG_NOTICE([ENABLE_$(PROJECT.PREFIX:c)_SELFTEST defined])])

Expand Down

0 comments on commit 8272907

Please sign in to comment.