This is only for the dynamic case, static case uses
OBJECTLIBS to do the right thing.
Remove the check for libcrypt since that's now not needed anymore.
fi
LIBS=$ac_save_LIBS
-# Check for libcrypt
-
-my_save_LIBS="$LIBS"
-LIBS=""
-AC_CHECK_LIB(crypt, crypt)
-LIBCRYPT=$LIBS
-LIBS="$my_save_LIBS"
-AC_SUBST(LIBCRYPT)
-
THREADFLAGS=""
case "$host_os" in
moduleobjects="$moduleobjects ../modules/${a}backend/$b"
done
modulelibs="$modulelibs `cat $srcdir/modules/${a}backend/OBJECTLIBS`"
-
- if test ${a} = "gpgsql"; then
- LIBS="$LIBS $LIBCRYPT"
- fi
done
for a in $dynmodules; do
spgsql.cc spgsql.hh
libgpgsqlbackend_la_LDFLAGS = -module -avoid-version
-libgpgsqlbackend_la_LIBADD = $(PGSQL_lib) -lssl $(LIBCRYPT) -lcrypto
+libgpgsqlbackend_la_LIBADD = $(PGSQL_lib)