From 827290794ed3c427ecd47bd3377b3bddc05682a9 Mon Sep 17 00:00:00 2001 From: Brian Hare Date: Thu, 4 Apr 2024 18:17:55 -0400 Subject: [PATCH] Problem: autogen fails from SELFTEST missing in configure.am A basic project.xml fails with ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL. Solution: Remove rogue .else in autotools.gsl --- zproject_autotools.gsl | 1 - 1 file changed, 1 deletion(-) diff --git a/zproject_autotools.gsl b/zproject_autotools.gsl index cd920b3c..5b0fa61b 100644 --- a/zproject_autotools.gsl +++ b/zproject_autotools.gsl @@ -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])])