135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
tryopts="--enable-shared"
else
tryopts="--disable-shared"
fi
# Disable SSLv2, newer SSL libraries drop support for it entirely
CFLAGS="${CFLAGS} -DNO_SSL2=1"
SAVE_CFLAGS="${CFLAGS}"
SAVE_LIBS="${LIBS}"
for tryopt in $tryopts __fail__; do
CFLAGS="${SAVE_CFLAGS}"
LIBS="${SAVE_LIBS}"
export CFLAGS LIBS
|
>
>
>
|
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
tryopts="--enable-shared"
else
tryopts="--disable-shared"
fi
# Disable SSLv2, newer SSL libraries drop support for it entirely
CFLAGS="${CFLAGS} -DNO_SSL2=1"
# Disable SSLv3, newer SSL libraries drop support for it entirely
CFLAGS="${CFLAGS} -DNO_SSL3=1"
SAVE_CFLAGS="${CFLAGS}"
SAVE_LIBS="${LIBS}"
for tryopt in $tryopts __fail__; do
CFLAGS="${SAVE_CFLAGS}"
LIBS="${SAVE_LIBS}"
export CFLAGS LIBS
|