| 6 |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
# ANY KIND, either express or implied. See the file COPYRIGHT for |
| 7 |
# details. |
# details. |
| 8 |
|
|
| 9 |
# $Id: Install,v 1.8.2.8 2002/10/17 22:13:14 rabbi Exp $ |
# $Id: Install,v 1.8.2.9 2002/12/05 04:59:09 weaselp Exp $ |
| 10 |
|
|
| 11 |
#whereis program default-path |
#whereis program default-path |
| 12 |
whereis() |
whereis() |
| 665 |
cat <<END >tmptst.c |
cat <<END >tmptst.c |
| 666 |
#include <openssl/idea.h> |
#include <openssl/idea.h> |
| 667 |
int main() { |
int main() { |
| 668 |
|
void *dummy; |
| 669 |
|
dummy = idea_cfb64_encrypt; |
| 670 |
exit(0); |
exit(0); |
| 671 |
} |
} |
| 672 |
END |
END |
| 673 |
if gcc $INC tmptst.c -c -o /dev/null |
if gcc $INC tmptst.c -o /dev/null |
| 674 |
then |
then |
| 675 |
DEF="$DEF -DUSE_IDEA" |
DEF="$DEF -DUSE_IDEA" |
| 676 |
else |
else |
| 707 |
|
|
| 708 |
|
|
| 709 |
echo "Compiling. Please wait." |
echo "Compiling. Please wait." |
| 710 |
whereis gmake make |
whereis make |
| 711 |
make=$found |
make=$found |
| 712 |
|
|
| 713 |
if [ "$system" = win32 ] |
if [ "$system" = win32 ] |