summaryrefslogtreecommitdiff
path: root/Build/source/m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-28 08:56:01 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-28 08:56:01 +0000
commitfd52faff2d89c990d952356d440fb8624fb54d6f (patch)
tree4d01e51cb60b9909a183939c7462a3129289bed8 /Build/source/m4
parenta83875d097d98b2265fdfaa570b8a55628161ed1 (diff)
fix various build problems: -lsocket, -liconv, foo.exe vs. foo
git-svn-id: svn://tug.org/texlive/trunk@12834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4')
-rw-r--r--Build/source/m4/kpse-socket-libs.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/m4/kpse-socket-libs.m4 b/Build/source/m4/kpse-socket-libs.m4
index 9a942e938ac..c768b95fad6 100644
--- a/Build/source/m4/kpse-socket-libs.m4
+++ b/Build/source/m4/kpse-socket-libs.m4
@@ -14,7 +14,7 @@
# Set ac_cv_search_connect as AC_SEARCH_LIBS([connect], [LIB...])
# would do.
# -lsocket is needed on Solaris, at least. Maybe -lnsl on SCO, too?
-# See ac_path_xtra.
+# See AC_PATH_XTRA.
# For WIN32 systems we need -lwsock32 but AC_SEARCH_LIBS would fail.
AC_DEFUN([KPSE_CHECK_SOCKET_LIBS],
[AC_REQUIRE([KPSE_CHECK_WIN32])
@@ -23,6 +23,6 @@ AS_IF([test "x$kpse_cv_have_win32" = xno],
AC_SEARCH_LIBS([connect], [socket nsl])
LIBS=$kpse_save_LIBS],
[AC_CHECK_LIB([wsock32], [main],
- [ac_cv_search_connect=wsock32],
+ [ac_cv_search_connect=-lwsock32],
[ac_cv_search_connect=no])])
]) # KPSE_CHECK_SOCKET_LIBS