OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/configure.in versions 1.4 and 1.5
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/configure.in 1.4 -> 1.5

--- configure.in 2002/01/25 16:02:42     1.4
+++ configure.in 2002/01/30 17:29:15     1.5
@@ -68,7 +68,18 @@
                 dmalloc, dmalloc_debug, dmalloc.h,
                 AC_DEFINE(DMALLOC))
 
-dnl Check for OSSP Str library
+dnl Check for OSSP ex library
+AC_CHECK_EXTLIB([OSSP ex],
+                ex, __ex_ctx, ex.h,
+                [SUBDIR_EX=""],
+                [SUBDIR_EX="lib_ex"
+                 CPPFLAGS="$CPPFLAGS -Ilib_ex"
+                 CFLAGS="$CFLAGS -Ilib_ex"
+                 LDFLAGS="$LDFLAGS -Llib_ex/.libs"
+                 LIBS_EXTRA="$LIBS_EXTRA -lex"])
+AC_SUBST(SUBDIR_EX)
+
+dnl Check for OSSP str library
 AC_CHECK_EXTLIB([OSSP Str],
                 str, str_parse, str.h,
                 [SUBDIR_STR=""],
@@ -79,7 +90,7 @@
                  LIBS_EXTRA="$LIBS_EXTRA -lstr"])
 AC_SUBST(SUBDIR_STR)
 
-dnl Check for OSSP Var library
+dnl Check for OSSP var library
 AC_CHECK_EXTLIB([OSSP Var],
                 var, var_expand, var.h,
                 [SUBDIR_VAR=""],
@@ -94,7 +105,7 @@
 LIBS="$LIBS $LIBS_EXTRA"
 
 dnl Call other configure scripts
-AC_CONFIG_SUBDIRS([$SUBDIR_STR $SUBDIR_VAR])
+AC_CONFIG_SUBDIRS([@SUBDIR_EX@ $SUBDIR_STR $SUBDIR_VAR])
 
 dnl Make all the necessary Makefiles
 #AC_CONFIG_FILES(Makefile)

CVSTrac 2.0.1