comparison 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
comparison
equal deleted inserted replaced
2034:91d90de50e4e 2035:809871abd06b
18 ### 18 ###
19 ### You should have received a copy of the GNU General Public License 19 ### You should have received a copy of the GNU General Public License
20 ### along with Octave; see the file COPYING. If not, write to the Free 20 ### along with Octave; see the file COPYING. If not, write to the Free
21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 22
23 AC_REVISION($Revision: 1.180 $) 23 AC_REVISION($Revision: 1.181 $)
24 AC_PREREQ(2.9) 24 AC_PREREQ(2.9)
25 AC_INIT(src/octave.cc) 25 AC_INIT(src/octave.cc)
26 AC_CONFIG_HEADER(config.h) 26 AC_CONFIG_HEADER(config.h)
27 27
28 AC_DEFINE(OCTAVE_SOURCE, 1) 28 AC_DEFINE(OCTAVE_SOURCE, 1)
309 esac 309 esac
310 if test -n "$LD_STATIC_FLAG"; then 310 if test -n "$LD_STATIC_FLAG"; then
311 AC_MSG_RESULT([defining LD_STATIC_FLAG to be $LD_STATIC_FLAG]) 311 AC_MSG_RESULT([defining LD_STATIC_FLAG to be $LD_STATIC_FLAG])
312 fi 312 fi
313 AC_SUBST(LD_STATIC_FLAG) 313 AC_SUBST(LD_STATIC_FLAG)
314
315 ### Try to make it possible to find getrusage on Solaris systems.
316
317 case "$canonical_host_type" in
318 *-*-solaris2*)
319 UCBLIB=/usr/ucblib/libucb.a
320 if test -f $UCBLIB; then
321 LIBS="-lc $UCBLIB $LIBS"
322 AC_MSG_RESULT([adding $UCBLIB to LIBS])
323 fi
324 ;;
325 esac
326 314
327 ### Handle dynamic linking and shared library options. 315 ### Handle dynamic linking and shared library options.
328 316
329 ### Allow the user to experiment with dynamic linking using dlopen/dlsym. 317 ### Allow the user to experiment with dynamic linking using dlopen/dlsym.
330 318
677 665
678 ### Checks for functions and variables. 666 ### Checks for functions and variables.
679 667
680 AC_CHECK_FUNCS(setvbuf getcwd gethostname bzero bcopy rindex vfprintf vsprintf) 668 AC_CHECK_FUNCS(setvbuf getcwd gethostname bzero bcopy rindex vfprintf vsprintf)
681 AC_CHECK_FUNCS(stricmp strnicmp strcasecmp strncasecmp strerror atexit) 669 AC_CHECK_FUNCS(stricmp strnicmp strcasecmp strncasecmp strerror atexit)
682 AC_CHECK_FUNCS(on_exit tempnam memmove putenv getrusage times) 670 AC_CHECK_FUNCS(on_exit tempnam memmove putenv)
683 AC_CHECK_FUNCS(mkdir rmdir rename umask) 671 AC_CHECK_FUNCS(mkdir rmdir rename umask)
684 AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend) 672 AC_CHECK_FUNCS(sigaction sigprocmask sigpending sigsuspend)
685 673
686 OCTAVE_SMART_PUTENV 674 OCTAVE_SMART_PUTENV
687 OCTAVE_PROGRAM_INVOCATION_NAME 675 OCTAVE_PROGRAM_INVOCATION_NAME
859 AC_MSG_RESULT([defining VOID_SIGHANDLER to be 1]) 847 AC_MSG_RESULT([defining VOID_SIGHANDLER to be 1])
860 ;; 848 ;;
861 esac 849 esac
862 AC_SUBST(VOID_SIGHANDLER) 850 AC_SUBST(VOID_SIGHANDLER)
863 851
852 ### Try to make it possible to find getrusage on Solaris systems.
853
854 case "$canonical_host_type" in
855 *-*-solaris2*)
856 UCBLIB=/usr/ucblib/libucb.a
857 if test -f $UCBLIB; then
858 LIBS="-lc $UCBLIB $LIBS"
859 AC_MSG_RESULT([adding $UCBLIB to LIBS])
860 fi
861 ;;
862 esac
863
864 AC_CHECK_FUNCS(getrusage times)
865
864 ### Checks for other programs used for building, testing, installing, 866 ### Checks for other programs used for building, testing, installing,
865 ### and running Octave. 867 ### and running Octave.
866 ### 868 ###
867 ### For now, don't define LEXLIB to be -lfl -- we don't use anything in 869 ### For now, don't define LEXLIB to be -lfl -- we don't use anything in
868 ### it, and it might not be installed. 870 ### it, and it might not be installed.