"fail")
LIBS="${saved_LIBS}"
AC_MSG_RESULT([])
- AC_MSG_WARN([linking with libcln failed])
+ AC_MSG_ERROR([linking with libcln failed, maybe need to set \$LDFLAGS?])
;;
dnl should never ever get here:
*)
dnl
# Check for any special flags to pass to ltconfig.
-libtool_flags="--cache-file=$cache_file"
+#
+# the following will cause an existing older ltconfig to fail, so
+# we ignore this at the expense of the cache file... Checking this
+# will just take longer ... bummer!
+#libtool_flags="--cache-file=$cache_file"
+#
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"