chiark / gitweb /
get headers for WCOREDUMP right
[userv.git] / configure
index 9c9f5be294ac5e9fa00d8ea1775169f9144d8194..91d74a4cbfa1fcf0e347976166987b05c700887e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1154,7 +1154,8 @@ else
 #line 1155 "configure"
 #include "confdefs.h"
 
-#include <syslog.h>
+#include <sys/types.h>
+#include <sys/wait.h>
 #ifdef WCOREDUMP
  yes
 #endif
@@ -1192,20 +1193,20 @@ fi
 
 
  echo $ac_n "checking your C compiler""... $ac_c" 1>&6
-echo "configure:1196: checking your C compiler" >&5
+echo "configure:1197: checking your C compiler" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_works'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1202 "configure"
+#line 1203 "configure"
 #include "confdefs.h"
 #include <string.h>
 int main() {
 strcmp("a","b")
 ; return 0; }
 EOF
-if { (eval echo configure:1209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_works=yes
 else
@@ -1230,20 +1231,20 @@ fi
 
 
  echo $ac_n "checking __attribute__((,,))""... $ac_c" 1>&6
-echo "configure:1234: checking __attribute__((,,))" >&5
+echo "configure:1235: checking __attribute__((,,))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_supported'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1240 "configure"
+#line 1241 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((,,))
 ; return 0; }
 EOF
-if { (eval echo configure:1247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_supported=yes
 else
@@ -1265,20 +1266,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((noreturn))""... $ac_c" 1>&6
-echo "configure:1269: checking __attribute__((noreturn))" >&5
+echo "configure:1270: checking __attribute__((noreturn))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_noreturn'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1275 "configure"
+#line 1276 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((noreturn))
 ; return 0; }
 EOF
-if { (eval echo configure:1282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_noreturn=yes
 else
@@ -1305,20 +1306,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((unused))""... $ac_c" 1>&6
-echo "configure:1309: checking __attribute__((unused))" >&5
+echo "configure:1310: checking __attribute__((unused))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_c_attribute_unused'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1315 "configure"
+#line 1316 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(int x) __attribute__((unused))
 ; return 0; }
 EOF
-if { (eval echo configure:1322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_attribute_unused=yes
 else
@@ -1345,20 +1346,20 @@ EOF
 
   
  echo $ac_n "checking __attribute__((format...))""... $ac_c" 1>&6
-echo "configure:1349: checking __attribute__((format...))" >&5
+echo "configure:1350: checking __attribute__((format...))" >&5
  if eval "test \"`echo '$''{'dpkg_cv_attribute_format'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 1355 "configure"
+#line 1356 "configure"
 #include "confdefs.h"
 
 int main() {
 extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))
 ; return 0; }
 EOF
-if { (eval echo configure:1362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_attribute_format=yes
 else
@@ -1396,7 +1397,7 @@ CWARNS=""
 
 
  echo $ac_n "checking GCC warning flag(s) -Wall -Wno-implicit""... $ac_c" 1>&6
-echo "configure:1400: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
+echo "configure:1401: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_all'+set}'`\" = set"; then
@@ -1406,7 +1407,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wall -Wno-implicit -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1410 "configure"
+#line 1411 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1418,7 +1419,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_all=yes
 else
@@ -1444,7 +1445,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wwrite-strings""... $ac_c" 1>&6
-echo "configure:1448: checking GCC warning flag(s) -Wwrite-strings" >&5
+echo "configure:1449: checking GCC warning flag(s) -Wwrite-strings" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_writestrings'+set}'`\" = set"; then
@@ -1454,7 +1455,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1458 "configure"
+#line 1459 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1466,7 +1467,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_writestrings=yes
 else
@@ -1492,7 +1493,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wpointer-arith""... $ac_c" 1>&6
-echo "configure:1496: checking GCC warning flag(s) -Wpointer-arith" >&5
+echo "configure:1497: checking GCC warning flag(s) -Wpointer-arith" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_pointerarith'+set}'`\" = set"; then
@@ -1502,7 +1503,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1506 "configure"
+#line 1507 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1514,7 +1515,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_pointerarith=yes
 else
@@ -1540,7 +1541,7 @@ fi
 
 
  echo $ac_n "checking GCC warning flag(s) -Wimplicit -Wnested-externs""... $ac_c" 1>&6
-echo "configure:1544: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
+echo "configure:1545: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
  if test "${GCC-no}" = yes
  then
   if eval "test \"`echo '$''{'dpkg_cv_c_gcc_warn_implicit'+set}'`\" = set"; then
@@ -1550,7 +1551,7 @@ else
    oldcflags="${CFLAGS-}"
    CFLAGS="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
    cat > conftest.$ac_ext <<EOF
-#line 1554 "configure"
+#line 1555 "configure"
 #include "confdefs.h"
 
 #include <string.h>
@@ -1562,7 +1563,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   dpkg_cv_c_gcc_warn_implicit=yes
 else