Mercurial > octave-nkf
comparison configure.ac @ 15454:9b9f6dba39e0
build: Use putenv module from gnulib.
* bootstrap_gnulib.conf: Add putenv to list of modules.
* configure.ac: Remove AC_CHECK_FUNCS call for putenv.
* lo-utils.cc: Add gnulib:: decorator on putenv call.
* libgnu/Makefile.am: Automatically updated by addition of putenv.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 29 Sep 2012 15:41:18 -0700 |
parents | 2d7bdbdd9f5d |
children | 2fa06d83263a |
comparison
equal
deleted
inserted
replaced
15453:2d7bdbdd9f5d | 15454:9b9f6dba39e0 |
---|---|
1918 AC_CHECK_FUNCS([tempnam tgammaf toascii]) | 1918 AC_CHECK_FUNCS([tempnam tgammaf toascii]) |
1919 AC_CHECK_FUNCS([umask uname waitpid]) | 1919 AC_CHECK_FUNCS([umask uname waitpid]) |
1920 AC_CHECK_FUNCS([_kbhit]) | 1920 AC_CHECK_FUNCS([_kbhit]) |
1921 | 1921 |
1922 dnl There are no workarounds in the code for missing these functions. | 1922 dnl There are no workarounds in the code for missing these functions. |
1923 AC_CHECK_FUNCS([modf pow putenv sqrt sqrtf], [], | 1923 AC_CHECK_FUNCS([modf pow sqrt sqrtf], [], |
1924 [AC_MSG_ERROR([Missing function required to build Octave])]) | 1924 [AC_MSG_ERROR([Missing function required to build Octave])]) |
1925 | 1925 |
1926 ## exp2, round, tgamma function checks | 1926 ## exp2, round, tgamma function checks |
1927 AC_LANG_PUSH(C++) | 1927 AC_LANG_PUSH(C++) |
1928 AC_CHECK_DECLS([exp2, round, tgamma], [], [], [[#include <cmath>]]) | 1928 AC_CHECK_DECLS([exp2, round, tgamma], [], [], [[#include <cmath>]]) |