Changeset eb2d25 in git


Ignore:
Timestamp:
Feb 6, 2012, 4:42:08 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
81c5cb527652f63d452271f23b77c68d09305948
Parents:
b6b61689e26a509292ac79af82cef26348104668
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-06 16:42:08+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-06 19:38:18+01:00
Message:
fix: enable setenv and/or putenv

FIX: corresponding HAVE_???ENV macros have to be defined by config.h
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rb6b6168 reb2d25  
    4141AC_CHECK_HEADERS(unistd.h iostream.h)
    4242
    43 AC_CHECK_FUNCS(readlink getcwd getwd)
     43AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv)
    4444
    4545
  • libpolys/configure.ac

    rb6b6168 reb2d25  
    4848# Checks for library functions.
    4949AC_FUNC_ERROR_AT_LINE
    50 AC_CHECK_FUNCS([memmove memset pow sqrt strchr])
     50AC_CHECK_FUNCS([memmove memset pow sqrt strchr setenv putenv])
    5151AC_FUNC_VPRINTF
    5252AC_FUNC_MALLOC
  • libpolys/resources/feResource.cc

    rb6b6168 reb2d25  
    2222
    2323#ifdef AIX_4
     24#ifndef HAVE_PUTENV
    2425#define HAVE_PUTENV 1
    2526#endif
     27#endif
    2628
    2729#if defined(HPUX_10) || defined(HPUX_9)
     30#ifndef HAVE_SETENV
    2831extern "C" int setenv(const char *name, const char *value, int overwrite);
     32#endif
    2933#endif
    3034
Note: See TracChangeset for help on using the changeset viewer.