Index: trunk/config.auto.h.in =================================================================== --- trunk/config.auto.h.in (revision 2539) +++ trunk/config.auto.h.in (revision 2540) @@ -91,12 +91,6 @@ print {\n\n/* Define to 1 if you have the `getcwd' function. */\n} print_ternary libs/fs/getcwd/presents {#define HAVE_GETCWD 1} {/* #undef HAVE_GETCWD */} -print {\n\n/* Define to 1 if you have the `expf' function. */\n} -print_ternary libs/math/expf/presents {#define HAVE_EXPF 1} {/* #undef HAVE_EXPF */} - -print {\n\n/* Define to 1 if you have the `logf' function. */\n} -print_ternary libs/math/logf/presents {#define HAVE_LOGF 1} {/* #undef HAVE_LOGF */} - print {\n\n/* Define to 1 if you have the header file. */\n} print_ternary libs/gui/gd/presents {#define HAVE_GD_H 1} {/* #undef HAVE_GD_H */} Index: trunk/scconfig/hooks.c =================================================================== --- trunk/scconfig/hooks.c (revision 2539) +++ trunk/scconfig/hooks.c (revision 2540) @@ -292,8 +292,6 @@ require("libs/snprintf", 0, 0); require("libs/vsnprintf", 0, 0); require("libs/fs/getcwd", 0, 0); - require("libs/math/expf", 0, 0); - require("libs/math/logf", 0, 0); require("libs/fs/stat/macros/*", 0, 0); if (istrue(get("/local/pcb/want_dmalloc"))) { Index: trunk/src/compat_misc.c =================================================================== --- trunk/src/compat_misc.c (revision 2539) +++ trunk/src/compat_misc.c (revision 2540) @@ -34,20 +34,6 @@ #include #endif -#ifndef HAVE_EXPF -float expf(float x) -{ - return (float) exp((double) x); -} -#endif - -#ifndef HAVE_LOGF -float logf(float x) -{ - return (float) log((double) x); -} -#endif - /* On some old systems random() works better than rand(). Unfrtunately random() is less portable than rand(), which is C89. By default, just use rand(). Later on: scconfig should detect and enable random() if Index: trunk/src/compat_misc.h =================================================================== --- trunk/src/compat_misc.h (revision 2539) +++ trunk/src/compat_misc.h (revision 2540) @@ -27,14 +27,6 @@ #include -#ifndef HAVE_EXPF -float expf(float); -#endif - -#ifndef HAVE_LOGF -float logf(float); -#endif - long pcb_rand(void); const char *get_user_name(void);