ossp-pkg/rc/configure.in 1.12 -> 1.13
--- configure.in 2002/02/07 15:37:09 1.12
+++ configure.in 2002/02/08 18:35:03 1.13
@@ -42,7 +42,7 @@
dnl Process this file with autoconf
AC_INIT(rc.h)
-AC_CONFIG_HEADER(rc_config.h)
+AC_CONFIG_HEADER(ac_config.h)
AC_LANG_C
dnl Checks basic requirements
@@ -114,6 +114,17 @@
LIBS_EXTRA="$LIBS_EXTRA -lvar"])
AC_SUBST(SUBDIR_VAR)
+dnl Check for OSSP val library
+AC_CHECK_EXTLIB([OSSP Val],
+ val, val_expand, val.h,
+ [SUBDIR_VAL=""],
+ [SUBDIR_VAL="rc_val"
+ CPPFLAGS="$CPPFLAGS -Irc_val"
+ CFLAGS="$CFLAGS -Irc_val"
+ LDFLAGS="$LDFLAGS -Lrc_val/.libs"
+ LIBS_EXTRA="$LIBS_EXTRA -lval"])
+AC_SUBST(SUBDIR_VAL)
+
dnl Extra library handling
LIBS="$LIBS $LIBS_EXTRA"
@@ -122,7 +133,7 @@
enable_headline=no
export enable_headline
dnl Call other configure scripts
-AC_CONFIG_SUBDIRS([$SUBDIR_EX $SUBDIR_STR $SUBDIR_VAR $SUBDIR_POPT])
+AC_CONFIG_SUBDIRS([$SUBDIR_EX $SUBDIR_STR $SUBDIR_VAR $SUBDIR_VAL $SUBDIR_POPT])
dnl Make all the necessary Makefiles
#AC_CONFIG_FILES(Makefile)
|
|