53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
AC_REQUIRE([AC_CANONICAL_HOST])
AC_MSG_CHECKING(for shared library system)
case "$host" in
*-apple-*)
AC_MSG_RESULT(Mac OS X)
LIB_CPPFLAGS='-DPIC'
LIB_CFLAGS='-fPIC'
LIB_LDFLAGS='-dynamiclib -flat_namespace -undefined suppress'
LIB_PREFIX='lib'
LIB_SUFFIX='.dylib'
PLUGIN_CPPFLAGS='-DPIC'
PLUGIN_CFLAGS='-fPIC'
PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
PLUGIN_SUFFIX='.impl'
RPATH_LDFLAGS='-Wl,-rpath,${libdir}'
|
|
|
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
AC_REQUIRE([AC_CANONICAL_HOST])
AC_MSG_CHECKING(for shared library system)
case "$host" in
*-apple-*)
AC_MSG_RESULT(Mac OS X)
LIB_CPPFLAGS='-DPIC'
LIB_CFLAGS='-fPIC'
LIB_LDFLAGS='-dynamiclib -flat_namespace'
LIB_PREFIX='lib'
LIB_SUFFIX='.dylib'
PLUGIN_CPPFLAGS='-DPIC'
PLUGIN_CFLAGS='-fPIC'
PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
PLUGIN_SUFFIX='.impl'
RPATH_LDFLAGS='-Wl,-rpath,${libdir}'
|