Hello,
 I upgraded from libopts 5.16 to 5.17 and I have an issue when compiling
for a uclibc system. I get:

checking whether a reg expr header is specified... no
checking whether libregex functions properly... no
configure: error: the regex library does not work

irrespective of whether I specify the --without-libregex (ideally it
would be nice if I needn't need to specify that).

I used the attached patch to avoid the issue, but I'm not sure whether
that's the intention of the original code.

regards,
Nikos
diff --git a/libopts/m4/libopts.m4 b/libopts/m4/libopts.m4
index 1de161a..9d0c6de 100644
--- a/libopts/m4/libopts.m4
+++ b/libopts/m4/libopts.m4
@@ -200,7 +200,6 @@ AC_DEFUN([LIBOPTS_WITHLIB_REGEX],[
   esac
   libopts_save_CPPFLAGS="${CPPFLAGS}"
   libopts_save_LIBS="${LIBS}"
-  fi ## disabled by request
 
   case "X${libopts_cv_with_libregex_cflags}" in
   Xyes|Xno|X )
@@ -241,6 +240,8 @@ int main() {
     [libopts_cv_with_libregex=no]) # end of AC_RUN_IFELSE 
   ]) # end of AC_CACHE_VAL for libopts_cv_with_libregex
   AC_MSG_RESULT([${libopts_cv_with_libregex}])
+  fi ## disabled by request
+
   if test "X${libopts_cv_with_libregex}" != Xno
   then
     AC_DEFINE([WITH_LIBREGEX],[1],
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to