Skip to content

Commit 993a083

Browse files
author
Harry Bock
committed
Add patch for configure.in against argus-clients-3.0.2.beta.8.
Adds libtool support. Patch is incomplete; need to add m4 directory and argus.m4.
1 parent 658e33d commit 993a083

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

configure.in.patch

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
--- argus-clients-3.0.2.beta.8/configure.in 2009-04-24 11:37:51.000000000 -0400
2+
+++ argus-periscope/configure.in 2009-06-19 11:01:53.001340430 -0400
3+
@@ -2,26 +2,33 @@
4+
bs
5+
6+
dnl
7+
-AC_INIT(common/argus_main.c)
8+
+AC_INIT
9+
+AC_CONFIG_SRCDIR([common/argus_main.c])
10+
11+
dnl all our local stuff like install scripts and include files
12+
dnl is in there
13+
AC_CONFIG_AUX_DIR(config)
14+
15+
-AC_CANONICAL_SYSTEM
16+
+dnl Include Argus-specific tests and macros
17+
+AC_CONFIG_MACRO_DIR([m4])
18+
19+
-AC_LBL_C_INIT(V_CCOPT, V_INCLS)
20+
+AC_CANONICAL_TARGET
21+
+
22+
+AC_LBL_C_INIT([V_CCOPT], [V_INCLS])
23+
AC_C_INLINE
24+
25+
dnl where we install our stuff ...
26+
AC_PREFIX_DEFAULT( /usr/local )
27+
28+
dnl Minimum Autoconf version required.
29+
-AC_PREREQ(2.13)
30+
+AC_PREREQ(2.61)
31+
+LT_PREREQ([2.2.4])
32+
33+
AC_PROG_CC
34+
AC_PROG_CPP
35+
-AC_PROG_RANLIB
36+
+
37+
+LT_INIT
38+
+AC_SUBST([LIBTOOL_DEPS])
39+
40+
AC_QOSIENT_LEX_AND_YACC(V_LEX, V_YACC, argus_)
41+
42+
@@ -189,7 +196,7 @@
43+
fi
44+
45+
46+
-AC_HAVE_HEADERS(sys/sockio.h string.h fcntl.h sys/file.h syslog.h)
47+
+AC_CHECK_HEADERS([sys/sockio.h string.h fcntl.h sys/file.h syslog.h])
48+
AC_CHECK_FUNCS(ether_hostton strerror strtof srandomdev)
49+
50+
CURSESLIB=""
51+
@@ -259,11 +266,7 @@
52+
sinix*)
53+
AC_MSG_CHECKING(if SINIX compiler defines sinix)
54+
AC_CACHE_VAL(ac_cv_cc_sinix_defined,
55+
- AC_TRY_COMPILE(
56+
- [],
57+
- [int i = sinix;],
58+
- ac_cv_cc_sinix_defined=yes,
59+
- ac_cv_cc_sinix_defined=no))
60+
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int i = sinix;]])],[ac_cv_cc_sinix_defined=yes],[ac_cv_cc_sinix_defined=no]))
61+
AC_MSG_RESULT($ac_cv_cc_sinix_defined)
62+
if test "$ac_cv_cc_sinix_defined" = "no" ; then
63+
AC_DEFINE(sinix)
64+
@@ -313,10 +316,9 @@
65+
AC_SUBST(INSTALL_BIN)
66+
67+
AC_PROG_INSTALL
68+
-AC_STDC_HEADERS
69+
+AC_HEADER_STDC
70+
71+
-AC_OUTPUT(
72+
- Makefile
73+
+AC_CONFIG_FILES([Makefile
74+
./common/Makefile
75+
./clients/Makefile
76+
./ragraph/Makefile
77+
@@ -324,7 +326,9 @@
78+
./radium/Makefile
79+
./radump/Makefile
80+
./ramysql/Makefile
81+
-)
82+
+ ./periscope/Makefile
83+
+])
84+
+AC_OUTPUT
85+
86+
if test -f .devel ; then
87+
make depend

0 commit comments

Comments
 (0)