]> sjero.net Git - wget/blobdiff - configure.ac
Prefers utime over futimens when available.
[wget] / configure.ac
index 45445fa3ad28935be2abe5098aea754f2ab5b1b1..c26c93ecc1e40d4840a2e0d88bff9035a5eec42a 100644 (file)
@@ -197,7 +197,7 @@ AC_FUNC_MMAP
 AC_FUNC_FSEEKO
 AC_CHECK_FUNCS(strptime timegm vsnprintf vasprintf drand48)
 AC_CHECK_FUNCS(strtoll usleep ftello sigblock sigsetjmp memrchr wcwidth mbtowc)
-AC_CHECK_FUNCS(sleep symlink)
+AC_CHECK_FUNCS(sleep symlink utime)
 
 if test x"$ENABLE_OPIE" = xyes; then
   AC_LIBOBJ([ftp-opie])
@@ -279,7 +279,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
     then
       AC_MSG_NOTICE([compiling in support for SSL via OpenSSL])
       AC_LIBOBJ([openssl])
-      LIBS="-lopenssl $LIBS"
+      LIBS="$LIBSSL $LIBS"
     elif test x"$with_ssl" != x
     then
       AC_MSG_ERROR([--with-ssl=openssl was given, but SSL is not available.])
@@ -303,7 +303,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
   then
     AC_MSG_NOTICE([compiling in support for SSL via GnuTLS])
     AC_LIBOBJ([gnutls])
-    LIBS="-lgnutls $LIBS"
+    LIBS="$LIBGNUTLS $LIBS"
   else
     AC_MSG_ERROR([--with-ssl was given, but GNUTLS is not available.])
   fi