-if test -z "$modules"; then
- modules="api rset recctrl dict isams isamc isamb data1 bfile dfa util"
-fi
-
-for m in $modules; do
- d=$m
- if test "$m" = "api"; then
- d="index"
- fi
- if test "$idzebra_echo_source" = "yes"; then
- IDZEBRALIB="$IDZEBRALIB -L${idzebra_build_root}/$d/.libs -lidzebra-$m"
- IDZEBRALALIB="$IDZEBRALALIB ${idzebra_build_root}/$d/libidzebra-$m.la"
- else
- IDZEBRALIB="$IDZEBRALIB -lidzebra-$m"
- fi
-done
-
-if test "$idzebra_echo_source" = "yes"; then
+if test "$echo_source" = "yes"; then
+ IDZEBRALIB="-L${idzebra_build_root}/index/.libs -lidzebra${package_suffix}"
+ IDZEBRALALIB="${idzebra_build_root}/index/libidzebra${package_suffix}.la"