Mercurial > hg > octave-lyh
changeset 2025:80e51bd305c6
[project @ 1996-03-23 10:26:54 by jwe]
author | jwe |
---|---|
date | Sat, 23 Mar 1996 10:27:19 +0000 |
parents | f92a8b9f0e08 |
children | ddd495aca372 |
files | configure.in |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.174 $) +AC_REVISION($Revision: 1.176 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -312,6 +312,18 @@ fi AC_SUBST(LD_STATIC_FLAG) +### Try to make it possible to find getrusage on Solaris systems. + +case "$canonical_host_type" in + *-*-solaris2*) + UBCLIB=/usr/ucblib/libucb.a + if test -f $UCBLIB; then + LIBS="-lc $UCBLIB $LIBS" + AC_MSG_RESULT([adding $UCBLIB to LIBS]) + fi + ;; +esac + ### Handle dynamic linking and shared library options. ### Allow the user to experiment with dynamic linking using dlopen/dlsym.