Bug 73042 - configure.ac has a typo: library name is libnsl, not libnls
Summary: configure.ac has a typo: library name is libnsl, not libnls
Status: RESOLVED FIXED
Alias: None
Product: nice
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other Solaris
: medium normal
Assignee: Olivier Crête
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-26 08:09 UTC by Igor Pashev
Modified: 2015-03-28 00:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Igor Pashev 2013-12-26 08:09:25 UTC
On Solaris configure.ac adds "-lsocket -lnsl" to LDFLAGS. But there is no such a library "-lnls". There is libnsl - network services library:

208 
209 case $host_os in
210   solaris*)
211     LDFLAGS="$LDFLAGS -lsocket -lnls"
212     ;;
213   *)
214     ;;
215 esac


Also I'd use AC_SEARCH_LIBS() instead of this "case".
Comment 1 Olivier Crête 2015-03-28 00:09:01 UTC
Fixed:

commit 0a47fc0cbbcc6e023a77bbafef96fa3b1c42cf0b
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Fri Mar 27 20:08:17 2015 -0400

    configure: On Solaris, library is libnsl, not libnls
    
    https://bugs.freedesktop.org/show_bug.cgi?id=73042


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.