-dnl ----- yaz-comp: The Yaz Compiler
-AC_SUBST(EXTRAMODULE)
-AC_SUBST(EXTRALIB)
-
-EXTRAMODULE="z39.50 zutil"
-
-AC_ARG_ENABLE(modules,[ --enable-modules=\"mod ..\" ill],[
-if test "$enable_modules" != "no"; then
- EXTRAMODULE="$EXTRAMODULE $enable_modules"
-fi
-],[
-EXTRAMODULE="$EXTRAMODULE ill ccl zoom"
-])
-EXTRALIB=""
-for module in $EXTRAMODULE; do
- EXTRALIB="$EXTRALIB ../$module/lib${module}.la"
- if test $module = "z39.50"; then
- module=z3950
- fi
- AC_DEFINE_UNQUOTED(YAZ_MODULE_${module})
-done