# HG changeset patch # User jwe # Date 1158330897 0 # Node ID d90d089a9d32f786c7ac0dee9f9e543275504520 # Parent e049385342f6003849aef7775494924feb293972 [project @ 2006-09-15 14:34:57 by jwe] diff -r e049385342f6 -r d90d089a9d32 ChangeLog --- a/ChangeLog Thu Sep 14 02:10:46 2006 +0000 +++ b/ChangeLog Fri Sep 15 14:34:57 2006 +0000 @@ -1,3 +1,7 @@ +2006-09-15 John W. Eaton + + * configure.in: Check for locale.h and setlocale. + 2006-09-13 Christopher Hulbert * run-octave.in (LD_LIBRARY_PATH): Also append LD_LIBRARY_PATH diff -r e049385342f6 -r d90d089a9d32 configure.in --- a/configure.in Thu Sep 14 02:10:46 2006 +0000 +++ b/configure.in Fri Sep 15 14:34:57 2006 +0000 @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.519 $) +AC_REVISION($Revision: 1.520 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1163,7 +1163,7 @@ ### C headers AC_CHECK_HEADERS(assert.h curses.h direct.h dlfcn.h fcntl.h float.h \ - floatingpoint.h grp.h ieeefp.h inttypes.h limits.h memory.h nan.h \ + floatingpoint.h grp.h ieeefp.h inttypes.h limits.h locale.h memory.h nan.h \ ncurses.h poll.h pwd.h stdint.h stdlib.h string.h sys/ioctl.h \ sys/param.h sys/poll.h sys/resource.h sys/select.h sys/stat.h \ sys/time.h sys/times.h sys/types.h sys/utsname.h termcap.h \ @@ -1227,7 +1227,7 @@ getpwuid gettimeofday getuid getwd _kbhit kill link localtime_r \ lstat memmove mkdir mkfifo mkstemp on_exit pipe poll putenv raise \ readlink rename resolvepath rindex rmdir round select setgrent \ - setpwent setvbuf sigaction siglongjmp sigpending sigprocmask \ + setlocale setpwent setvbuf sigaction siglongjmp sigpending sigprocmask \ sigsuspend stat strcasecmp strdup strerror strftime stricmp \ strncasecmp strnicmp strptime strsignal symlink tempnam umask \ uname unlink usleep vfprintf vsprintf vsnprintf waitpid) diff -r e049385342f6 -r d90d089a9d32 src/ChangeLog --- a/src/ChangeLog Thu Sep 14 02:10:46 2006 +0000 +++ b/src/ChangeLog Fri Sep 15 14:34:57 2006 +0000 @@ -1,3 +1,7 @@ +2006-09-15 John W. Eaton + + * octave.cc: Fix xerbla decl. + 2006-09-13 John W. Eaton * DLD-FUNCTIONS/cellfun.cc: Improve error message for uniform diff -r e049385342f6 -r d90d089a9d32 src/octave.cc --- a/src/octave.cc Thu Sep 14 02:10:46 2006 +0000 +++ b/src/octave.cc Fri Sep 15 14:34:57 2006 +0000 @@ -77,7 +77,9 @@ #include // Kluge. -extern "C" void F77_FUNC (xerbla, XERBLA) (const char *, octave_idx_type, long); +extern "C" F77_RET_T +F77_FUNC (xerbla, XERBLA) (F77_CONST_CHAR_ARG_DECL, const octave_idx_type& + F77_CHAR_ARG_LEN_DECL); extern void install_builtins (void);