diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-05 10:51:22 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-05 10:51:22 +0000 |
commit | 3c910165678f4accb5d4c161ed83a8e125ffb803 (patch) | |
tree | 8101cdbb961e3206303baecaa50c3f814e97d661 /Build/source/texk/web2c/configure.ac | |
parent | 58ec6ee9f72e68fe95a270a2295b102a7e138e40 (diff) |
luaTeX: Check for hstrerror()
git-svn-id: svn://tug.org/texlive/trunk@28737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure.ac')
-rw-r--r-- | Build/source/texk/web2c/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac index 574cd7e6546..7250f7aa87e 100644 --- a/Build/source/texk/web2c/configure.ac +++ b/Build/source/texk/web2c/configure.ac @@ -100,6 +100,7 @@ lua_socketlibs=$socketlibs if test "x$kpse_cv_have_win32" = xno; then kpse_save_LIBS=$LIBS AC_SEARCH_LIBS([gethostbyname], [nsl]) + AC_SEARCH_LIBS([hstrerror], [resolv]) AC_SEARCH_LIBS([inet_aton], [resolv]) LIBS=$kpse_save_LIBS AC_SEARCH_LIBS([nanosleep], [rt]) @@ -114,6 +115,10 @@ if test "x$kpse_cv_have_win32" = xno; then fi fi LIBS=$kpse_save_LIBS + AS_CASE([$ac_cv_search_hstrerror], + ["none required"], [], + [no], [WEB2C_DISABLE([luatex], [no hstrerror()])], + [lua_socketlibs="$lua_socketlibs $ac_cv_search_hstrerror"]) AS_CASE([$ac_cv_search_inet_aton], ["none required"], [], [no], [WEB2C_DISABLE([luatex], [no inet_aton()])], |