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
|
fi
#--------------------------------------------------------------------
# If we're using RSA BSAFE SSL-C, we need to establish what platform
# we're running on before we can figure out some paths.
# This step isn't necessary if we're using OpenSSL.
#--------------------------------------------------------------------
if test -z "${OPENSSL}"; then
case "`uname -s`" in
*win32* | *WIN32* | *CYGWIN_NT*|*CYGWIN_98*|*CYGWIN_95*)
PLATFORM=WIN32
AC_DEFINE(WINDOWS)
;;
*SunOS*)
PLATFORM=SOLARIS
;;
*)
PLATFORM=LINUX
;;
esac
fi
AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR SSL root directory], SSL_DIR=$withval)
if test ! -d "${SSL_DIR}"; then
AC_ERROR(${SSL_DIR} is not a valid directory)
fi
|
>
>
>
>
>
>
|
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
|
fi
#--------------------------------------------------------------------
# If we're using RSA BSAFE SSL-C, we need to establish what platform
# we're running on before we can figure out some paths.
# This step isn't necessary if we're using OpenSSL.
#--------------------------------------------------------------------
if test -z "${OPENSSL}"; then
AC_MSG_CHECKING(host type)
case "`uname -s`" in
*win32* | *WIN32* | *CYGWIN_NT*|*CYGWIN_98*|*CYGWIN_95*)
PLATFORM=WIN32
AC_DEFINE(WINDOWS)
;;
*SunOS*)
PLATFORM=SOLARIS
;;
HP-UX)
PLATFORM=HPUX
;;
*)
PLATFORM=LINUX
;;
esac
AC_MSG_RESULT(${PLATFORM})
fi
AC_ARG_WITH(ssl-dir, [ --with-ssl-dir=DIR SSL root directory], SSL_DIR=$withval)
if test ! -d "${SSL_DIR}"; then
AC_ERROR(${SSL_DIR} is not a valid directory)
fi
|