Commit 9e27c28589f8949f39e45977c7c260d16b443500

Authored by André Breves
1 parent 36720a5b
Exists in master and in 1 other branch 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  
... ...