Explorar el Código

* Un-needed stuff

svn: 1077
Bryan Drewery hace 22 años
padre
commit
ba04fdeef5
Se han modificado 5 ficheros con 6 adiciones y 33 borrados
  1. 1 2
      Makefile.in
  2. 2 2
      autotools/configure.ac
  3. 0 9
      config.h.in
  4. 3 6
      configure
  5. 0 14
      src/debug.h

+ 1 - 2
Makefile.in

@@ -37,8 +37,7 @@ LIBS = @LIBS@ @ZLIB@ @RESLIB@
 
 DEBCFLAGS = -DDEBUG_ASSERT -DDEBUG_MEM -g3 -ggdb3
 CFLGS = -fno-strict-aliasing -W -Wformat \
--Wshadow -Winline \
--Wnested-externs -Wno-format-y2k \
+-Wshadow -Wnested-externs -Wno-format-y2k \
 -Wlarger-than-2048 -Wpointer-arith -Wcast-align \
 -Waggrepate-return -Wlong-long -Wbad-function-cast \
 -Wmissing-noreturn @GCC3@

+ 2 - 2
autotools/configure.ac

@@ -123,8 +123,8 @@ AC_FUNC_STRFTIME
 
 #checkpoint
 AC_CACHE_SAVE
-AC_CHECK_FUNCS([clock fsync getrusage inet_aton isascii gethostbyname2])
-AC_CHECK_FUNCS([getipnodebyname memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom])
+AC_CHECK_FUNCS([clock fsync getrusage isascii inet_aton gethostbyname2])
+AC_CHECK_FUNCS([getipnodebyname memcpy memset random rename snprintf srandom])
 #checkpoint
 AC_CACHE_SAVE
 AC_CHECK_FUNCS([strcasecmp strncasecmp vsnprintf])

+ 0 - 9
config.h.in

@@ -107,15 +107,6 @@
 /* Define to 1 if you have the `rename' function. */
 #undef HAVE_RENAME
 
-/* Define to 1 if you have the `setpgid' function. */
-#undef HAVE_SETPGID
-
-/* Define to 1 if you have the `sigaction' function. */
-#undef HAVE_SIGACTION
-
-/* Define to 1 if you have the `sigemptyset' function. */
-#undef HAVE_SIGEMPTYSET
-
 /* Define to 1 if you have the `snprintf' function. */
 #undef HAVE_SNPRINTF
 

+ 3 - 6
configure

@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 1.29 .
+# From configure.ac Revision: 1.30 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59.
 #
@@ -11315,7 +11315,7 @@ rm -f confcache
 
 
 
-for ac_func in clock fsync getrusage inet_aton isascii gethostbyname2
+for ac_func in clock fsync getrusage isascii inet_aton gethostbyname2
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -11422,10 +11422,7 @@ done
 
 
 
-
-
-
-for ac_func in getipnodebyname memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom
+for ac_func in getipnodebyname memcpy memset random rename snprintf srandom
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5

+ 0 - 14
src/debug.h

@@ -5,20 +5,6 @@
 #  include "config.h"
 #endif
 
-#if !HAVE_SIGACTION             /* old "weird signals" */
-#  define sigaction sigvec
-#  ifndef sa_handler
-#    define sa_handler sv_handler
-#    define sa_mask sv_mask
-#    define sa_flags sv_flags
-#  endif
-#endif
-
-#if !HAVE_SIGEMPTYSET
-/* and they probably won't have sigemptyset, dammit */
-#  define sigemptyset(x) ((*(int *)(x))=0)
-#endif
-
 /*
  * Undefine this to completely disable context debugging.
  * WARNING: DO NOT send in bug reports if you undefine this!