Commit 642557061d96a3b3e694e0754d189ee34db7c06e
Committed by
GitHub
Exists in
master
and in
1 other branch
Merge pull request #1 from andrebreves/develop
Add support to macosx
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
configure.ac
... | ... | @@ -100,6 +100,19 @@ case "$host" in |
100 | 100 | AC_CONFIG_FILES(src/terminal/windows/resources.rc) |
101 | 101 | ;; |
102 | 102 | |
103 | + *-apple-darwin*) | |
104 | + CFLAGS="$CFLAGS -pthread" | |
105 | + LDFLAGS="$LDFLAGS -pthread" | |
106 | + app_cv_osname="linux" | |
107 | + LOGDIR="/var/log" | |
108 | + DLLEXT=".so" | |
109 | + DLL_LDFLAGS="-shared -Wl,-install_name,\$(@F)" | |
110 | + | |
111 | + INSTALL_PACKAGES="linux-lib ${INSTALL_PACKAGES}" | |
112 | + | |
113 | + app_cv_static='yes' | |
114 | + ;; | |
115 | + | |
103 | 116 | *) |
104 | 117 | CFLAGS="$CFLAGS -pthread" |
105 | 118 | LDFLAGS="$LDFLAGS -pthread" |
... | ... | @@ -232,6 +245,10 @@ AC_CHECK_HEADER(libintl.h, [ |
232 | 245 | INTL_LIBS="-lintl" |
233 | 246 | ;; |
234 | 247 | |
248 | + *-apple-darwin*) | |
249 | + INTL_LIBS="-lintl" | |
250 | + ;; | |
251 | + | |
235 | 252 | *) |
236 | 253 | INTL_LIBS="" |
237 | 254 | ... | ... |