comparison configure.ac @ 1260:e1df1bad7837

MacOS target: Build modules with -fno-common.
author William Pitcock <nenolod@atheme-project.org>
date Fri, 13 Jul 2007 08:04:43 -0500
parents 0d5b0f861bf0
children ea7c0a4fe793
comparison
equal deleted inserted replaced
1254:5cdda0e144ab 1260:e1df1bad7837
204 dnl Ok, first we find out what flags we need to use. 204 dnl Ok, first we find out what flags we need to use.
205 AC_MSG_CHECKING([for what extension and flags to use for plugin compilation]) 205 AC_MSG_CHECKING([for what extension and flags to use for plugin compilation])
206 case "$target" in 206 case "$target" in
207 *-apple-*) 207 *-apple-*)
208 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib]) 208 AC_MSG_RESULT([Mac OS X: -fPIC -bundle -fno-common -flat_namespace -undefined suppress, .dylib])
209 PICFLAGS="-fPIC -DPIC" 209 PICFLAGS="-DPIC -fno-common"
210 PICLDFLAGS="-fPIC -DPIC -bundle -fno-common -flat_namespace -undefined suppress" 210 PICLDFLAGS="-DPIC -bundle -fno-common -flat_namespace -undefined suppress"
211 LIBLDFLAGS="-dynamiclib" 211 LIBLDFLAGS="-dynamiclib"
212 AUDLDFLAGS="" 212 AUDLDFLAGS=""
213 SHARED_SUFFIX=".dylib" 213 SHARED_SUFFIX=".dylib"
214 ;; 214 ;;
215 *) 215 *)