27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])
AC_ARG_ENABLE(shared,
AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
BUILDSYS_SHARED_LIB
AC_SUBST(OBJOPENSSL_SHARED_LIB, "${LIB_PREFIX}objopenssl${LIB_SUFFIX}")
])
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_PATH_TOOL(AR, ar)
AC_PROG_RANLIB
AC_SUBST(OBJOPENSSL_STATIC_LIB, "libobjopenssl.a")
])
|
>
>
>
>
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
[OBJCFLAGS="$OBJCFLAGS -Wdocumentation"])
AC_ARG_ENABLE(shared,
AS_HELP_STRING([--disable-shared], [do not build shared library]))
AS_IF([test x"$enable_shared" != x"no"], [
BUILDSYS_SHARED_LIB
AC_SUBST(OBJOPENSSL_SHARED_LIB, "${LIB_PREFIX}objopenssl${LIB_SUFFIX}")
BUILDSYS_FRAMEWORK([
AC_SUBST(OBJOPENSSL_FRAMEWORK, "ObjOpenSSL.framework")
])
])
AC_ARG_ENABLE(static, AS_HELP_STRING([--enable-static], [build static library]))
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_PATH_TOOL(AR, ar)
AC_PROG_RANLIB
AC_SUBST(OBJOPENSSL_STATIC_LIB, "libobjopenssl.a")
])
|