1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- osiris-4.2.3.orig/configure 2006-07-28 01:57:51.000000000 +0200
+++ osiris-4.2.3/configure 2011-01-16 15:16:06.000000000 +0100
@@ -1,4 +1,5 @@
#! /bin/sh
+set -x
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
@@ -3403,7 +3404,7 @@ else
fi
-OS_NAME=`uname`
+OS_NAME=Linux
AUTOHEADER=echo
if test "x$prefix" = "xNONE" ; then
@@ -3573,7 +3574,6 @@ else
for ssldir in $tryssldir "" /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
CPPFLAGS="$saved_CPPFLAGS"
- LDFLAGS="$saved_LDFLAGS"
# GOD DAMN FUCKING STATIC BINARIES ON SOLARIS CAN EAT MY ASS.
@@ -3596,29 +3596,6 @@ else
if test ! -z "$ssldir" -a ! -d "$ssldir" ; then
continue;
fi
- if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
- # Try to use $ssldir/lib if it exists, otherwise
- # $ssldir
- if test -d "$ssldir/lib" ; then
- LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
- if test ! -z "$need_dash_r" ; then
- LDFLAGS="-R$ssldir/lib $LDFLAGS"
- fi
- else
- LDFLAGS="-L$ssldir $saved_LDFLAGS"
- if test ! -z "$need_dash_r" ; then
- LDFLAGS="-R$ssldir $LDFLAGS"
- fi
- fi
-
- # Try to use $ssldir/include if it exists, otherwise
- # $ssldir
- if test -d "$ssldir/include" ; then
- CPPFLAGS="-I$ssldir/include $saved_CPPFLAGS"
- else
- CPPFLAGS="-I$ssldir $saved_CPPFLAGS"
- fi
- fi
# Basic test to check for compatible version and correct linking
@@ -3694,34 +3671,6 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5
echo "${ECHO_T}$ac_cv_openssldir" >&6
-if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ; then
-# AC_DEFINE(HAVE_OPENSSL)
- ssldir=$ac_cv_openssldir
- if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
- # Try to use $ssldir/lib if it exists, otherwise
- # $ssldir
- if test -d "$ssldir/lib" ; then
- LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
- if test ! -z "$need_dash_r" ; then
- LDFLAGS="-R$ssldir/lib $LDFLAGS"
- fi
- else
- LDFLAGS="-L$ssldir $saved_LDFLAGS"
- if test ! -z "$need_dash_r" ; then
- LDFLAGS="-R$ssldir $LDFLAGS"
- fi
- fi
- # Try to use $ssldir/include if it exists, otherwise
- # $ssldir
- if test -d "$ssldir/include" ; then
- CPPFLAGS="-I$ssldir/include $saved_CPPFLAGS"
- else
- CPPFLAGS="-I$ssldir $saved_CPPFLAGS"
- fi
- fi
-fi
-
-
case "$OS_NAME" in
SunOS*)
LIBS="$saved_LIBS $ssldir/lib/libssl.a $ssldir/lib/libcrypto.a"
@@ -3738,7 +3687,7 @@ CYGWIN*)
esac
-DB_CONFIG_ARGS="--enable-shared=no --enable-static=yes"
+DB_CONFIG_ARGS="--enable-shared=no --enable-static=yes --target=${target_alias} --host=${host_alias} --build=${build_alias}"
case "${OS_NAME}" in
MINGW32*)
@@ -4448,11 +4397,6 @@ cat >>confdefs.h <<_ACEOF
#define SYSTEM_LINUX 1
_ACEOF
-
- rc=`grep -c krb5 /usr/include/openssl/ssl.h`
- if test $rc -ne 0; then
- CPPFLAGS="-I/usr/kerberos/include/ ${CPPFLAGS}"
- fi
;;
BSD*)
@@ -11394,7 +11338,6 @@ chmod ug+x src/install/install.sh
echo " Osiris MD Directory: ${with_md_root_dir}"
echo " Osiris MD user: ${with_osiris_md_user}"
echo " Osiris MD config dir: ${with_md_conf_dir}"
- cd ./src/osirisd/modules;./genmods.sh;cd ../../..
echo " ==> use one of the following targets:"
echo ""
echo " all: make everything, agent, CLI and management console."
|