ObjXMPP  Check-in [874510053a]

Overview
Comment:Make use of objfw-config's new package support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 874510053afafb0f0010bee7ebb4fbac69abc64c586c4fc629074e2d909faf72
User & Date: js on 2019-01-20 12:38:16
Other Links: manifest | tags
Context
2019-01-20
12:45
Install an objfw-config package check-in: f9ba7ce6ec user: js tags: trunk
12:38
Make use of objfw-config's new package support check-in: 874510053a user: js tags: trunk
2018-12-22
20:59
Adjust to ObjFW changes check-in: ffbc5cb529 user: js tags: trunk
Changes

Modified configure.ac from [e22c5dc207] to [43d965a587].

15
16
17
18
19
20
21









22
23
24
25
26
27
28
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37







+
+
+
+
+
+
+
+
+








AC_LANG([Objective C])
AC_PROG_OBJC
AC_PROG_OBJCPP
AC_PROG_LN_S
AC_PROG_INSTALL

AC_MSG_CHECKING(for ObjOpenSSL)
AS_IF([$OBJFW_CONFIG --package ObjOpenSSL 2>/dev/null], [
	AC_MSG_RESULT(yes)
], [
	AC_MSG_RESULT(no)
	AC_MSG_ERROR(You need ObjOpenSSL installed!)
])

OBJFW_CONFIG="$OBJFW_CONFIG --package ObjOpenSSL"
CPP="$OBJCPP"
CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS $($OBJFW_CONFIG --cppflags)"
OBJCFLAGS="$OBJCFLAGS -Wall $($OBJFW_CONFIG --objcflags)"
LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags)"
AC_SUBST(OBJFW_LIBS, "$LIBS $($OBJFW_CONFIG --libs)")
AC_SUBST(OBJFW_FRAMEWORK_LIBS, "$LIBS $($OBJFW_CONFIG --framework-libs)")