Mercurial > hg > octave-nkf
diff configure.in @ 2035:809871abd06b
[project @ 1996-03-27 04:10:29 by jwe]
author | jwe |
---|---|
date | Wed, 27 Mar 1996 04:10:29 +0000 |
parents | 91d90de50e4e |
children | d16270577e0f |
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.180 $) +AC_REVISION($Revision: 1.181 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -312,18 +312,6 @@ fi AC_SUBST(LD_STATIC_FLAG) -### Try to make it possible to find getrusage on Solaris systems. - -case "$canonical_host_type" in - *-*-solaris2*) - UCBLIB=/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. @@ -679,7 +667,7 @@ AC_CHECK_FUNCS(setvbuf getcwd gethostname bzero bcopy rindex vfprintf vsprintf) AC_CHECK_FUNCS(stricmp strnicmp strcasecmp strncasecmp strerror atexit) -AC_CHECK_FUNCS(on_exit tempnam memmove putenv getrusage times) +AC_CHECK_FUNCS(on_exit tempnam memmove putenv) AC_CHECK_FUNCS(mkdir rmdir rename umask) AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend) @@ -861,6 +849,20 @@ esac AC_SUBST(VOID_SIGHANDLER) +### Try to make it possible to find getrusage on Solaris systems. + +case "$canonical_host_type" in + *-*-solaris2*) + UCBLIB=/usr/ucblib/libucb.a + if test -f $UCBLIB; then + LIBS="-lc $UCBLIB $LIBS" + AC_MSG_RESULT([adding $UCBLIB to LIBS]) + fi + ;; +esac + +AC_CHECK_FUNCS(getrusage times) + ### Checks for other programs used for building, testing, installing, ### and running Octave. ###