Changeset eb2d25 in git for libpolys


Ignore:
Timestamp:
Feb 6, 2012, 4:42:08 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
Location:
libpolys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.