Remove obsolete (I think) sgi _NO_ANSIMODE stuff. Cleanups.
SVN revision: 34150
This commit is contained in:
parent
b780491887
commit
877541ea71
|
@ -57,8 +57,6 @@ AC_CHECK_SIZEOF(int, 4)
|
|||
AC_CHECK_SIZEOF(long, 4)
|
||||
AC_CHECK_SIZEOF(wchar_t, 4)
|
||||
|
||||
AC_CHECK_FUNCS(getcwd)
|
||||
AC_CHECK_FUNCS(mkdir)
|
||||
AC_CHECK_FUNCS(snprintf)
|
||||
AM_CONDITIONAL(USE_ESNPRINTF, test "x$ac_cv_func_snprintf" != "xyes")
|
||||
AC_CHECK_FUNCS(strcasecmp strcasestr)
|
||||
|
|
28
src/E.h
28
src/E.h
|
@ -73,21 +73,6 @@
|
|||
#define ENABLE_TRANSPARENCY 1
|
||||
#define ENABLE_THEME_TRANSPARENCY 1
|
||||
|
||||
/* sgi's stdio.h has:
|
||||
*
|
||||
* #if _SGIAPI && _NO_ANSIMODE
|
||||
* extern int vsnprintf(char *, ssize_t, const char *, char *);
|
||||
* #endif
|
||||
*
|
||||
* so workaround...
|
||||
*/
|
||||
|
||||
#ifdef __sgi
|
||||
#ifdef _NO_ANSIMODE
|
||||
#undef _NO_ANSIMODE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -95,19 +80,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef HAVE_GETCWD
|
||||
#error "ERROR: Enlightenment needs a system with getcwd() in it's libs."
|
||||
#error "You may have to upgrade your Operating system, Distribution, base"
|
||||
#error "system libraries etc. Please see the the instructions for your"
|
||||
#error "particular Operating System or Distribution"
|
||||
#endif
|
||||
#ifndef HAVE_MKDIR
|
||||
#error "ERROR: Enlightenment needs a system with mkdir() in it's libs."
|
||||
#error "You may have to upgrade your Operating system, Distribution, base"
|
||||
#error "system libraries etc. Please see the the instructions for your"
|
||||
#error "particular Operating System or Distribution"
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRCASESTR
|
||||
# define strcasestr(haystack, needle) strstr(haystack, needle)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue