diff options
Diffstat (limited to 'contrib/amd/m4/macros/check_os_libs.m4')
-rw-r--r-- | contrib/amd/m4/macros/check_os_libs.m4 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/amd/m4/macros/check_os_libs.m4 b/contrib/amd/m4/macros/check_os_libs.m4 deleted file mode 100644 index 68e604b6b21ec..0000000000000 --- a/contrib/amd/m4/macros/check_os_libs.m4 +++ /dev/null @@ -1,28 +0,0 @@ -dnl ###################################################################### -dnl set OS libraries specific to an OS: -dnl libnsl/libsocket are needed only on solaris and some svr4 systems. -dnl Using a typical macro has proven unsuccesful, because on some other -dnl systems such as irix, including libnsl and or libsocket actually breaks -dnl lots of code. So I am forced to use a special purpose macro that sets -dnl the libraries based on the OS. Sigh. -Erez. -AC_DEFUN(AMU_CHECK_OS_LIBS, -[ -AC_CACHE_CHECK(for additional OS libraries, -ac_cv_os_libs, -[ -# select the correct set of libraries to link with -case "${host_os_name}" in - svr4* | sysv4* | solaris2* | sunos5* | aoi* ) - ac_cv_os_libs="-lsocket -lnsl" ;; - * ) - ac_cv_os_libs=none ;; -esac -]) -# set list of libraries to link with -if test "$ac_cv_os_libs" != none -then - LIBS="$ac_cv_os_libs $LIBS" -fi - -]) -dnl ====================================================================== |