patch-configure 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. --- ipcad-3.7.3.orig/configure 2007-04-22 10:08:45.000000000 +0200
  2. +++ ipcad-3.7.3/configure 2008-12-22 15:49:17.000000000 +0100
  3. @@ -2691,10 +2691,6 @@ fi
  4. fi
  5. -LDFLAGS="$LDFLAGS -L${ac_default_prefix}/lib"
  6. -CFLAGS="$CFLAGS -I${ac_default_prefix}/include"
  7. -CPPFLAGS="$CPPFLAGS -I${ac_default_prefix}/include"
  8. -
  9. for ac_func in pthread_detach
  10. do
  11. @@ -4872,84 +4868,6 @@ done
  12. -for ac_header in linux/netfilter_ipv4/ipt_ULOG.h
  13. -do
  14. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  16. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  17. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  18. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19. -else
  20. - cat >conftest.$ac_ext <<_ACEOF
  21. -/* confdefs.h. */
  22. -_ACEOF
  23. -cat confdefs.h >>conftest.$ac_ext
  24. -cat >>conftest.$ac_ext <<_ACEOF
  25. -/* end confdefs.h. */
  26. -
  27. -#ifdef HAVE_SYS_TYPES_H
  28. -#include <sys/types.h>
  29. -#endif
  30. -#ifdef HAVE_ASM_TYPES_H
  31. -#include <asm/types.h>
  32. -#endif
  33. -#ifdef HAVE_SYS_SOCKET_H
  34. -#include <sys/socket.h>
  35. -#endif
  36. -#ifdef HAVE_LINUX_SOCKET_H
  37. -#include <linux/socket.h>
  38. -#endif
  39. -#ifdef HAVE_LINUX_NETLINK_H
  40. -#include <linux/netlink.h>
  41. -#endif
  42. -#ifdef HAVE_NET_IF_H
  43. -#include <net/if.h>
  44. -#endif
  45. -
  46. -
  47. -#include <$ac_header>
  48. -_ACEOF
  49. -rm -f conftest.$ac_objext
  50. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  51. - (eval $ac_compile) 2>conftest.er1
  52. - ac_status=$?
  53. - grep -v '^ *+' conftest.er1 >conftest.err
  54. - rm -f conftest.er1
  55. - cat conftest.err >&5
  56. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  57. - (exit $ac_status); } &&
  58. - { ac_try='test -z "$ac_c_werror_flag"
  59. - || test ! -s conftest.err'
  60. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  61. - (eval $ac_try) 2>&5
  62. - ac_status=$?
  63. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  64. - (exit $ac_status); }; } &&
  65. - { ac_try='test -s conftest.$ac_objext'
  66. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  67. - (eval $ac_try) 2>&5
  68. - ac_status=$?
  69. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  70. - (exit $ac_status); }; }; then
  71. - eval "$as_ac_Header=yes"
  72. -else
  73. - echo "$as_me: failed program was:" >&5
  74. -sed 's/^/| /' conftest.$ac_ext >&5
  75. -
  76. -eval "$as_ac_Header=no"
  77. -fi
  78. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  79. -fi
  80. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  81. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  82. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  83. - cat >>confdefs.h <<_ACEOF
  84. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  85. -_ACEOF
  86. -
  87. -fi
  88. -
  89. -done