Explorar el Código

* Added a check for src/ptrace.h as Solaris doesn't seem to have/need it

svn: 1866
Bryan Drewery hace 21 años
padre
commit
cb821593a2
Se han modificado 3 ficheros con 7 adiciones y 3 borrados
  1. 1 1
      autotools/configure.ac
  2. 3 0
      config.h.in
  3. 3 2
      configure

+ 1 - 1
autotools/configure.ac

@@ -77,7 +77,7 @@ AC_HEADER_STAT
 #checkpoint
 AC_CACHE_SAVE 
 AC_CHECK_HEADERS([stdarg.h std_arg.h arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h])
-AC_CHECK_HEADERS([sys/file.h sys/ioctl.h sys/param.h sys/socket.h wchar.h])
+AC_CHECK_HEADERS([sys/file.h sys/ioctl.h sys/param.h sys/socket.h wchar.h src/ptrace.h])
 
 #checkpoint
 AC_CACHE_SAVE

+ 3 - 0
config.h.in

@@ -116,6 +116,9 @@
 /* Define to 1 if you have the `srandom' function. */
 #undef HAVE_SRANDOM
 
+/* Define to 1 if you have the <src/ptrace.h> header file. */
+#undef HAVE_SRC_PTRACE_H
+
 /* Define to 1 if `stat' has the bug that it succeeds when given the
    zero-length file name argument. */
 #undef HAVE_STAT_EMPTY_STRING_BUG

+ 3 - 2
configure

@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 1.38 .
+# From configure.ac Revision: 1.39 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59.
 #
@@ -4758,7 +4758,8 @@ done
 
 
 
-for ac_header in sys/file.h sys/ioctl.h sys/param.h sys/socket.h wchar.h
+
+for ac_header in sys/file.h sys/ioctl.h sys/param.h sys/socket.h wchar.h src/ptrace.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then